[INFO] fetching crate moso-macros 0.0.1...
[INFO] testing moso-macros-0.0.1 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate moso-macros 0.0.1 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate moso-macros 0.0.1
[INFO] finished tweaking crates.io crate moso-macros 0.0.1
[INFO] tweaked toml for crates.io crate moso-macros 0.0.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate moso-macros 0.0.1 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 moso-macros 0.0.1 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | homepage = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 | repository = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |              ---------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `moso-macros` (manifest) generated 1 warning
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d
[INFO] running `"docker" "start" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[INFO] running `"docker" "inspect" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[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" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[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" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | homepage = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 | repository = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |              ---------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `moso-macros` (manifest) generated 1 warning
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling regex-automata v0.4.16
[INFO] [stderr]    Compiling darling_core v0.23.0
[INFO] [stderr]    Compiling regex v1.13.1
[INFO] [stderr]    Compiling darling_macro v0.23.0
[INFO] [stderr]    Compiling darling v0.23.0
[INFO] [stderr]    Compiling moso-macros v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 29.30s
[INFO] running `"docker" "inspect" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[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" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | homepage = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 | repository = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |              ---------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `moso-macros` (manifest) generated 1 warning
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling serde_json v1.0.151
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling moso-macros v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 33.61s
[INFO] running `"docker" "inspect" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[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" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]   --> Cargo.toml:54:12
[INFO] [stderr]    |
[INFO] [stderr] 54 | homepage = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 59 | repository = "https://github.com/moso-rs/moso"
[INFO] [stderr]    |              ---------------------------------
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `moso-macros` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/moso-macros/7aae5569f5285df9/out/moso_macros-7aae5569f5285df9)
[INFO] [stdout] 
[INFO] [stdout] running 303 tests
[INFO] [stdout] test authz::tests::a_permission_without_a_description_says_why_it_is_required ... ok
[INFO] [stdout] test authz::tests::an_empty_requires_points_at_public ... ok
[INFO] [stdout] test authz::tests::suggestions_are_offered_only_when_they_are_plausible ... ok
[INFO] [stdout] test authz::tests::an_empty_registry_is_rejected ... ok
[INFO] [stdout] test authz::tests::a_permission_without_a_dot_says_what_the_shape_is ... ok
[INFO] [stdout] test authz::tests::requires_infers_the_permission_type_from_the_variant_path ... ok
[INFO] [stdout] test authz::tests::public_injects_its_marker_and_takes_no_arguments ... ok
[INFO] [stdout] test authz::tests::a_role_name_becomes_its_lowercase_wire_name ... ok
[INFO] [stdout] test authz::tests::an_unknown_parent_role_is_suggested ... ok
[INFO] [stdout] test authz::tests::a_dotted_permission_becomes_an_upper_camel_variant ... ok
[INFO] [stdout] test authz::tests::role_inheritance_is_flattened_at_expansion_time ... ok
[INFO] [stdout] test authz::tests::any_sets_the_mode_and_audit_sets_the_flag ... ok
[INFO] [stdout] test authz::tests::a_role_cycle_names_both_roles_and_the_path ... ok
[INFO] [stdout] test authz::tests::requires_injects_the_extractor_as_the_first_parameter ... ok
[INFO] [stdout] test authz::tests::the_string_form_is_kept_verbatim_for_the_boot_check ... ok
[INFO] [stdout] test authz::tests::requires_must_sit_above_endpoint ... ok
[INFO] [stdout] test authz::tests::the_variant_order_is_the_bit_order ... ok
[INFO] [stdout] test config::support::tests::sentence_case_reads_like_a_sentence ... ok
[INFO] [stdout] test config::support::tests::types_render_without_token_padding ... ok
[INFO] [stdout] test config::tests::a_default_on_a_nested_section_is_rejected ... ok
[INFO] [stdout] test config::tests::reloadable_on_a_bare_type_is_a_compile_error ... ok
[INFO] [stdout] test config::tests::a_nested_field_becomes_a_section ... ok
[INFO] [stdout] test config::tests::profile_defaults_are_selected_at_load_time ... ok
[INFO] [stdout] test config::tests::a_generic_config_is_rejected ... ok
[INFO] [stdout] test config::tests::reloadable_on_a_nested_section_is_rejected ... ok
[INFO] [stdout] test config::tests::a_secret_field_marks_the_spec_and_the_descriptor ... ok
[INFO] [stdout] test config::tests::an_env_alias_reaches_both_the_spec_and_the_descriptor ... ok
[INFO] [stdout] test config::tests::secret_on_an_optional_secret_is_accepted ... ok
[INFO] [stdout] test config::tests::an_exclusive_range_uses_a_strict_comparison ... ok
[INFO] [stdout] test config::tests::an_optional_field_uses_the_optional_reader ... ok
[INFO] [stdout] test config::tests::parse_goes_through_from_str ... ok
[INFO] [stdout] test config::tests::a_plain_field_reads_through_coerce ... ok
[INFO] [stdout] test config::tests::secret_on_a_plain_string_is_a_compile_error_with_a_fix ... ok
[INFO] [stdout] test config::tests::a_range_renders_the_expected_type_and_checks_the_bound ... ok
[INFO] [stdout] test dependency::tests::a_clone_assertion_points_at_the_users_type ... ok
[INFO] [stdout] test dependency::tests::a_generic_dependency_is_rejected ... ok
[INFO] [stdout] test dependency::tests::an_enum_is_rejected_with_two_fixes ... ok
[INFO] [stdout] test dependency::tests::a_unit_struct_composes_to_nothing ... ok
[INFO] [stdout] test dependency::tests::a_custom_status_picks_its_kind ... ok
[INFO] [stdout] test dependency::tests::a_default_field_contributes_nothing ... ok
[INFO] [stdout] test dependency::tests::a_provider_field_that_is_not_an_arc_is_rejected ... ok
[INFO] [stdout] test config::tests::an_unknown_key_is_rejected_with_a_suggestion ... ok
[INFO] [stdout] test dependency::tests::a_check_that_mentions_this_is_used_verbatim ... ok
[INFO] [stdout] test dependency::tests::a_check_that_is_a_call_stays_a_call ... ok
[INFO] [stdout] test config::tests::the_expansion_stays_within_twenty_lines_per_field ... ok
[INFO] [stdout] test dependency::tests::a_provider_field_adds_a_requirement ... ok
[INFO] [stdout] test dependency::tests::a_check_without_a_from_is_rejected ... ok
[INFO] [stdout] test dependency::tests::a_named_wrapper_names_its_field ... ok
[INFO] [stdout] test config::tests::an_unsupported_secret_source_is_rejected ... ok
[INFO] [stdout] test dependency::tests::a_unit_struct_can_be_a_pure_check ... ok
[INFO] [stdout] test dependency::tests::an_unknown_key_is_rejected_with_a_suggestion ... ok
[INFO] [stdout] test dependency::tests::an_error_without_a_check_is_rejected ... ok
[INFO] [stdout] test dependency::tests::manual_emits_only_the_requirement_table ... ok
[INFO] [stdout] test endpoint::tests::a_generic_handler_is_rejected ... ok
[INFO] [stdout] test dependency::tests::unwrap_can_be_overridden ... ok
[INFO] [stdout] test endpoint::tests::a_blocking_handler_is_rejected_by_name ... ok
[INFO] [stdout] test dependency::tests::composition_resolves_every_field_and_unions_the_requirements ... ok
[INFO] [stdout] test dependency::tests::from_with_two_fields_is_rejected ... ok
[INFO] [stdout] test endpoint::tests::a_deprecated_attribute_reaches_the_builder_without_the_argument ... ok
[INFO] [stdout] test dependency::tests::manual_and_from_are_rejected_together ... ok
[INFO] [stdout] test endpoint::tests::a_broken_cfg_gated_handler_gates_its_placeholder_too ... ok
[INFO] [stdout] test endpoint::tests::a_handler_with_no_body_extractor_never_calls_extract_body ... ok
[INFO] [stdout] test endpoint::tests::a_bare_string_is_a_body_but_a_nested_one_is_not ... ok
[INFO] [stdout] test dependency::tests::the_documented_wrap_and_check_expands ... ok
[INFO] [stdout] test endpoint::tests::a_flag_given_a_value_says_so ... ok
[INFO] [stdout] test endpoint::tests::a_one_line_doc_comment_has_no_description ... ok
[INFO] [stdout] test endpoint::tests::a_non_function_item_is_refused_politely ... ok
[INFO] [stdout] test endpoint::tests::a_body_extractor_that_is_not_last_is_the_documented_error ... ok
[INFO] [stdout] test endpoint::tests::a_malformed_response_is_one_error ... ok
[INFO] [stdout] test endpoint::tests::a_short_type_is_printed_in_full ... ok
[INFO] [stdout] test endpoint::tests::a_method_gets_no_placeholder_because_it_could_not_compile ... ok
[INFO] [stdout] test endpoint::tests::a_cfg_gated_handler_gates_everything_it_generates ... ok
[INFO] [stdout] test endpoint::tests::a_handler_without_a_return_type_returns_unit ... ok
[INFO] [stdout] test endpoint::tests::an_out_of_range_status_is_rejected ... ok
[INFO] [stdout] test endpoint::tests::a_lifetime_parameter_is_generic_too ... ok
[INFO] [stdout] test endpoint::tests::a_long_type_is_shortened_to_its_head ... ok
[INFO] [stdout] test endpoint::tests::an_extra_response_is_written_before_the_describers_so_it_wins ... ok
[INFO] [stdout] test endpoint::tests::an_unknown_example_field_suggests_the_closest_one ... ok
[INFO] [stdout] test endpoint::tests::a_trailing_body_extractor_is_accepted_and_marked ... ok
[INFO] [stdout] test endpoint::tests::built_in_body_extractors_are_recognised ... ok
[INFO] [stdout] test endpoint::tests::cfg_attr_is_not_copied ... ok
[INFO] [stdout] test endpoint::tests::a_broken_handler_expands_to_one_error_and_a_placeholder ... ok
[INFO] [stdout] test endpoint::tests::a_trailing_comma_produces_no_empty_chunk ... ok
[INFO] [stdout] test dependency::tests::wrapping_the_same_type_does_not_unwrap ... ok
[INFO] [stdout] test endpoint::tests::a_handler_with_no_body_extractor_marks_nothing ... ok
[INFO] [stdout] test endpoint::tests::a_zero_parameter_handler_is_fine ... ok
[INFO] [stdout] test endpoint::tests::a_zero_parameter_handler_still_produces_working_glue ... ok
[INFO] [stdout] test endpoint::tests::every_documented_argument_parses ... ok
[INFO] [stdout] test endpoint::tests::markdown_indentation_inside_the_description_survives ... ok
[INFO] [stdout] test endpoint::tests::impl_trait_in_return_position_is_rejected_with_its_own_message ... ok
[INFO] [stdout] test endpoint::tests::an_errors_type_is_described_and_asserted ... ok
[INFO] [stdout] test endpoint::tests::an_undocumented_handler_contributes_nothing ... ok
[INFO] [stdout] test endpoint::tests::examples_are_written_after_the_describers ... ok
[INFO] [stdout] test endpoint::tests::an_unknown_argument_suggests_the_closest_one ... ok
[INFO] [stdout] test endpoint::tests::impl_trait_in_a_parameter_is_rejected_as_generic ... ok
[INFO] [stdout] test endpoint::tests::levenshtein_is_the_usual_edit_distance ... ok
[INFO] [stdout] test endpoint::tests::an_explicit_operation_id_replaces_the_derived_one ... ok
[INFO] [stdout] test endpoint::tests::a_wildly_wrong_argument_still_lists_the_valid_ones ... ok
[INFO] [stdout] test endpoint::tests::sixteen_parameters_is_accepted ... ok
[INFO] [stdout] test endpoint::tests::hidden_deprecated_and_tags_reach_the_builder ... ok
[INFO] [stdout] test endpoint::tests::seventeen_parameters_is_one_error ... ok
[INFO] [stdout] test endpoint::tests::suggestions_are_offered_only_when_they_are_plausible ... ok
[INFO] [stdout] test endpoint::tests::extra_responses_choose_a_problem_document_only_for_failures ... ok
[INFO] [stdout] test endpoint::tests::the_bare_attribute_parses_to_nothing ... ok
[INFO] [stdout] test endpoint::tests::third_party_body_extractors_are_caught_by_shape ... ok
[INFO] [stdout] test endpoint::tests::top_level_commas_split_and_nested_ones_do_not ... ok
[INFO] [stdout] test endpoint::tests::the_first_line_is_the_summary_and_the_rest_is_the_description ... ok
[INFO] [stdout] test error::tests::a_four_hundred_attaches_its_detail ... ok
[INFO] [stdout] test error::tests::a_five_hundred_never_attaches_its_detail ... ok
[INFO] [stdout] test endpoint::tests::two_body_extractors_win_over_the_position_rule ... ok
[INFO] [stdout] test error::tests::a_type_base_derives_a_uri_per_variant ... ok
[INFO] [stdout] test error::tests::a_struct_error_works_too ... ok
[INFO] [stdout] test endpoint::tests::no_example_argument_emits_no_example_machinery ... ok
[INFO] [stdout] test error::tests::a_tuple_placeholder_is_addressed_by_index ... ok
[INFO] [stdout] test error::tests::a_from_variant_with_extra_fields_is_rejected ... ok
[INFO] [stdout] test endpoint::tests::the_derived_operation_id_uses_the_module_path ... ok
[INFO] [stdout] test error::tests::an_unknown_placeholder_suggests_the_field ... ok
[INFO] [stdout] test error::tests::an_unbalanced_template_is_rejected_once ... ok
[INFO] [stdout] test error::tests::an_unmapped_status_names_the_nearest_supported_one ... ok
[INFO] [stdout] test endpoint::tests::the_expansion_contains_the_documented_items ... ok
[INFO] [stdout] test error::tests::an_unknown_key_is_rejected_with_a_suggestion ... ok
[INFO] [stdout] test endpoint::tests::the_source_location_is_always_recorded ... ok
[INFO] [stdout] test endpoint::tests::two_body_extractors_are_one_error_naming_the_first ... ok
[INFO] [stdout] test error::tests::variants_sharing_a_status_share_one_response ... ok
[INFO] [stdout] test endpoint::tests::types_render_the_way_the_user_wrote_them ... ok
[INFO] [stdout] test error::tests::two_source_fields_are_rejected ... ok
[INFO] [stdout] test error::tests::the_variants_table_lists_every_variant ... ok
[INFO] [stdout] test error::tests::without_a_type_the_kind_uri_is_used ... ok
[INFO] [stdout] test job::tests::each_inject_becomes_one_resolution ... ok
[INFO] [stdout] test job::tests::a_bare_job_takes_every_default ... ok
[INFO] [stdout] test endpoint::tests::several_tags_accumulate ... ok
[INFO] [stdout] test endpoint::tests::two_bad_arguments_are_two_errors_not_a_cascade ... ok
[INFO] [stdout] test job::tests::serial_is_a_bare_flag ... ok
[INFO] [stdout] test endpoint::tests::parts_extractors_are_not_body_extractors ... ok
[INFO] [stdout] test job::tests::every_priority_maps_to_its_variant ... ok
[INFO] [stdout] test job::tests::every_argument_error_names_the_fix ... ok
[INFO] [stdout] test job::tests::the_type_name_is_the_function_name_in_pascal_case ... ok
[INFO] [stdout] test endpoint::tests::the_deprecated_attribute_is_noticed ... ok
[INFO] [stdout] test job::tests::the_wire_name_can_be_pinned_across_a_rename ... ok
[INFO] [stdout] test job::tests::visibility_is_widened_to_the_crate ... ok
[INFO] [stdout] test error::tests::the_documented_example_expands ... ok
[INFO] [stdout] test job::tests::the_context_parameter_is_optional ... ok
[INFO] [stdout] test middleware::tests::a_body_extractor_is_rejected_by_name ... ok
[INFO] [stdout] test job::tests::the_duration_grammar_matches_the_runtime_one ... ok
[INFO] [stdout] test job::tests::every_shape_error_names_the_fix ... ok
[INFO] [stdout] test job::tests::the_documented_attribute_sets_every_constant ... ok
[INFO] [stdout] test middleware::tests::a_missing_return_type_is_rejected ... ok
[INFO] [stdout] test middleware::tests::a_generic_function_is_rejected ... ok
[INFO] [stdout] test middleware::tests::a_broken_signature_still_defines_the_layer_types ... ok
[INFO] [stdout] test middleware::tests::a_missing_next_is_rejected ... ok
[INFO] [stdout] test middleware::tests::a_very_long_type_is_capped_at_eighty_characters ... ok
[INFO] [stdout] test middleware::tests::a_non_function_item_gets_one_error_and_keeps_its_tokens ... ok
[INFO] [stdout] test middleware::tests::a_non_async_function_is_rejected ... ok
[INFO] [stdout] test middleware::tests::a_wild_argument_lists_the_keys_without_guessing ... ok
[INFO] [stdout] test middleware::tests::a_swapped_request_and_next_are_rejected ... ok
[INFO] [stdout] test middleware::tests::an_unknown_argument_suggests_the_nearest_key ... ok
[INFO] [stdout] test middleware::tests::depends_is_the_documented_compile_error ... ok
[INFO] [stdout] test authz::tests::a_duplicate_permission_is_rejected_by_name ... ok
[INFO] [stdout] test middleware::tests::depends_suppresses_the_positional_complaints ... ok
[INFO] [stdout] test middleware::tests::a_private_function_gets_a_pub_crate_layer ... ok
[INFO] [stdout] test middleware::tests::a_pub_function_gets_a_pub_layer ... ok
[INFO] [stdout] test middleware::tests::a_method_is_rejected ... ok
[INFO] [stdout] test middleware::tests::types_render_the_way_a_human_writes_them ... ok
[INFO] [stdout] test middleware::tests::levenshtein_is_the_usual_edit_distance ... ok
[INFO] [stdout] test path::tests::a_colon_inside_a_segment_is_not_legacy_syntax ... ok
[INFO] [stdout] test path::tests::every_message_carries_a_help_line ... ok
[INFO] [stdout] test path::tests::the_rule_table_is_enforced_row_by_row ... ok
[INFO] [stdout] test path::tests::valid_templates_are_accepted ... ok
[INFO] [stdout] test middleware::tests::vis_overrides_the_derived_visibility ... ok
[INFO] [stdout] test middleware::tests::snake_case_becomes_upper_camel_case ... ok
[INFO] [stdout] test middleware::tests::suggestions_are_only_offered_when_they_are_close ... ok
[INFO] [stdout] test responder::tests::a_generic_responder_gains_a_schema_bound ... ok
[INFO] [stdout] test path::tests::the_help_line_repeats_the_users_own_path_corrected ... ok
[INFO] [stdout] test middleware::tests::layer_and_service_names_can_be_overridden ... ok
[INFO] [stdout] test middleware::tests::the_users_function_survives_unchanged ... ok
[INFO] [stdout] test middleware::tests::without_injection_the_request_is_passed_straight_through ... ok
[INFO] [stdout] test middleware::tests::the_canonical_signature_is_the_one_the_messages_quote ... ok
[INFO] [stdout] test middleware::tests::name_overrides_the_printed_name ... ok
[INFO] [stdout] test responder::tests::a_status_without_a_body_documents_as_empty ... ok
[INFO] [stdout] test responder::tests::a_header_value_that_is_not_an_expression_is_rejected ... ok
[INFO] [stdout] test responder::tests::an_impossible_status_is_rejected ... ok
[INFO] [stdout] test responder::tests::an_enum_is_rejected_with_the_either_fix ... ok
[INFO] [stdout] test responder::tests::a_repeated_header_is_rejected ... ok
[INFO] [stdout] test responder::tests::several_header_groups_accumulate ... ok
[INFO] [stdout] test responder::tests::suggestions_come_from_the_shared_helper ... ok
[INFO] [stdout] test responder::tests::the_default_status_is_two_hundred ... ok
[INFO] [stdout] test responder::tests::the_doc_comment_becomes_the_response_description ... ok
[INFO] [stdout] test responder::tests::without_a_doc_comment_the_type_name_is_used ... ok
[INFO] [stdout] test responder::tests::an_unnamed_status_falls_back_to_from_u16 ... ok
[INFO] [stdout] test responder::tests::an_underscore_becomes_a_dash_on_the_wire ... ok
[INFO] [stdout] test responder::tests::an_unknown_key_is_rejected_with_a_suggestion ... ok
[INFO] [stdout] test responder::tests::the_documented_example_expands ... ok
[INFO] [stdout] test responder::tests::the_header_is_rendered_before_the_body_is_serialised ... ok
[INFO] [stdout] test routes::tests::a_handler_name_becomes_its_companion_type ... ok
[INFO] [stdout] test routes::tests::a_leading_colon_path_is_preserved ... ok
[INFO] [stdout] test routes::tests::a_whole_route_passed_to_ep_says_what_to_write_instead ... ok
[INFO] [stdout] test routes::tests::a_missing_comma_is_one_error_with_a_fix ... ok
[INFO] [stdout] test routes::tests::a_bare_name_is_rewritten_in_place ... ok
[INFO] [stdout] test routes::tests::a_generic_handler_name_is_refused ... ok
[INFO] [stdout] test routes::tests::any_registers_every_method_once ... ok
[INFO] [stdout] test routes::tests::ep_and_routes_agree_on_the_name ... ok
[INFO] [stdout] test routes::tests::ep_refuses_something_that_is_not_a_name ... ok
[INFO] [stdout] test routes::tests::ep_rewrites_a_bare_name ... ok
[INFO] [stdout] test routes::tests::a_missing_arrow_is_one_error_with_a_fix ... ok
[INFO] [stdout] test routes::tests::a_module_path_is_preserved ... ok
[INFO] [stdout] test routes::tests::a_trailing_comma_is_optional ... ok
[INFO] [stdout] test routes::tests::every_method_is_accepted ... ok
[INFO] [stdout] test routes::tests::methods_are_accepted_in_any_case ... ok
[INFO] [stdout] test routes::tests::methods_map_onto_the_http_method_variants ... ok
[INFO] [stdout] test routes::tests::module_paths_survive_the_table ... ok
[INFO] [stdout] test routes::tests::the_path_literal_reaches_route_path_verbatim ... ok
[INFO] [stdout] test schema::tests::a_bare_length_means_exactly_that_many ... ok
[INFO] [stdout] test routes::tests::only_the_last_segment_is_rewritten ... ok
[INFO] [stdout] test routes::tests::an_empty_table_is_an_empty_router ... ok
[INFO] [stdout] test routes::tests::an_unknown_method_suggests_the_closest_one ... ok
[INFO] [stdout] test routes::tests::the_documented_table_expands_to_the_builder_chain ... ok
[INFO] [stdout] test routes::tests::an_unquoted_path_is_one_error_with_a_fix ... ok
[INFO] [stdout] test schema::tests::a_field_key_inside_each_says_where_it_belongs ... ok
[INFO] [stdout] test schema::tests::a_float_range_keeps_its_exclusive_upper_bound ... ok
[INFO] [stdout] test schema::tests::a_half_open_length_becomes_its_inclusive_equivalent ... ok
[INFO] [stdout] test routes::tests::ep_preserves_a_module_path ... ok
[INFO] [stdout] test schema::tests::a_non_literal_bound_names_the_rule ... ok
[INFO] [stdout] test schema::tests::a_quoted_path_is_code_and_a_quoted_word_is_a_string ... ok
[INFO] [stdout] test schema::tests::a_newtype_reports_at_the_root_pointer ... ok
[INFO] [stdout] test schema::tests::a_near_miss_format_is_corrected ... ok
[INFO] [stdout] test middleware::tests::it_names_the_layer_and_the_service_after_the_function ... ok
[INFO] [stdout] test middleware::tests::injected_parameters_are_extracted_and_declared ... ok
[INFO] [stdout] test schema::tests::a_model_without_secrets_keeps_its_own_debug ... ok
[INFO] [stdout] test routes::tests::a_raw_identifier_keeps_working ... ok
[INFO] [stdout] test error::tests::every_kind_has_a_distinct_status_and_slug ... ok
[INFO] [stdout] test schema::tests::a_rejected_constraint_is_removed_so_nothing_cascades ... ok
[INFO] [stdout] test schema::tests::a_secret_byte_string_is_pointed_at_secret_bytes ... ok
[INFO] [stdout] test error::tests::a_generic_error_is_rejected ... ok
[INFO] [stdout] test schema::tests::a_union_is_rejected_with_a_fix ... ok
[INFO] [stdout] test schema::tests::a_text_rule_on_a_number_is_rejected_and_removed ... ok
[INFO] [stdout] test schema::tests::a_valid_pattern_is_kept_verbatim ... ok
[INFO] [stdout] test schema::tests::an_empty_range_is_rejected ... ok
[INFO] [stdout] test schema::tests::a_range_with_no_bounds_is_rejected_with_a_fix ... ok
[INFO] [stdout] test schema::tests::a_unit_only_enum_is_a_string_enum ... ok
[INFO] [stdout] test schema::tests::a_sibling_responder_attribute_suppresses_them ... ok
[INFO] [stdout] test schema::tests::a_plain_schema_emits_the_response_impls ... ok
[INFO] [stdout] test schema::tests::an_invalid_pattern_is_a_compile_error ... ok
[INFO] [stdout] test schema::tests::an_unknown_key_suggests_the_closest_one ... ok
[INFO] [stdout] test schema::tests::an_unrelated_format_is_accepted_as_an_annotation ... ok
[INFO] [stdout] test schema::tests::constrained_needs_a_newtype ... ok
[INFO] [stdout] test schema::tests::a_self_referential_field_is_left_out_of_has_constraints ... ok
[INFO] [stdout] test schema::tests::an_internally_tagged_tuple_variant_is_rejected ... ok
[INFO] [stdout] test schema::tests::a_borrowing_model_is_rejected_with_the_reason ... ok
[INFO] [stdout] test schema::tests::a_constraint_free_model_documents_no_422 ... ok
[INFO] [stdout] test schema::tests::every_documented_field_key_parses ... ok
[INFO] [stdout] test schema::tests::deny_unknown_and_flatten_cannot_both_be_used ... ok
[INFO] [stdout] test schema::tests::a_secret_field_gets_a_redacting_debug ... ok
[INFO] [stdout] test schema::tests::a_constrained_number_gets_a_range_guard_and_no_deref ... ok
[INFO] [stdout] test schema::tests::a_constrained_secret_is_redacted_and_write_only ... ok
[INFO] [stdout] test schema::tests::inclusive_length_ranges_keep_both_bounds ... ok
[INFO] [stdout] test schema::tests::open_length_ranges_leave_one_side_unset ... ok
[INFO] [stdout] test schema::tests::negative_bounds_parse ... ok
[INFO] [stdout] test schema::tests::optionality_comes_from_the_type_or_a_default ... ok
[INFO] [stdout] test schema::tests::from_generates_one_conversion_per_source ... ok
[INFO] [stdout] test schema::tests::generics_bound_by_schema_and_named_by_the_mangler ... ok
[INFO] [stdout] test schema::tests::no_serde_leaves_the_serde_impls_to_the_user ... ok
[INFO] [stdout] test schema::tests::non_negative_folds_into_an_inclusive_zero ... ok
[INFO] [stdout] test schema::tests::explicit_no_response_still_suppresses_them ... ok
[INFO] [stdout] test schema::tests::one_attribute_produces_both_halves ... ok
[INFO] [stdout] test schema::tests::positive_and_non_negative_together_are_a_contradiction ... ok
[INFO] [stdout] test schema::tests::positive_folds_into_an_exclusive_lower_bound ... ok
[INFO] [stdout] test schema::tests::secret_implies_write_only ... ok
[INFO] [stdout] test schema::tests::password_is_read_through_expose ... ok
[INFO] [stdout] test schema::tests::secret_on_a_secret_type_is_accepted_through_option_and_box ... ok
[INFO] [stdout] test schema::tests::secret_on_a_leaky_type_is_rejected_with_a_fix ... ok
[INFO] [stdout] test schema::tests::rename_reaches_the_pointer ... ok
[INFO] [stdout] test schema::tests::shapes_are_classified_through_option ... ok
[INFO] [stdout] test schema::tests::an_inner_that_disagrees_with_the_field_is_reported ... ok
[INFO] [stdout] test util::attrs::tests::an_empty_accumulator_passes_the_expansion_through ... ok
[INFO] [stdout] test util::attrs::tests::an_unknown_key_with_no_neighbour_lists_the_vocabulary ... ok
[INFO] [stdout] test schema::tests::each_reaches_both_the_loop_and_the_items_schema ... ok
[INFO] [stdout] test util::attrs::tests::a_failed_parse_keeps_the_placeholder ... ok
[INFO] [stdout] test util::attrs::tests::diagnostics_accumulate_and_stay_empty_when_nothing_is_wrong ... ok
[INFO] [stdout] test util::attrs::tests::doc_comments_lose_their_leading_space ... ok
[INFO] [stdout] test util::attrs::tests::a_non_path_expression_is_rejected_with_a_fix ... ok
[INFO] [stdout] test util::attrs::tests::a_wrapped_summary_line_is_rejoined ... ok
[INFO] [stdout] test util::attrs::tests::darling_errors_round_trip ... ok
[INFO] [stdout] test schema::tests::the_reference_constrained_newtype_expands ... ok
[INFO] [stdout] test util::attrs::tests::every_rename_rule_name_parses ... ok
[INFO] [stdout] test util::attrs::tests::rename_rules_match_serde ... ok
[INFO] [stdout] test util::attrs::tests::nonsense_gets_no_suggestion ... ok
[INFO] [stdout] test util::attrs::tests::pointer_tokens_are_escaped ... ok
[INFO] [stdout] test util::attrs::tests::levenshtein_matches_known_distances ... ok
[INFO] [stdout] test util::attrs::tests::sequences_are_recognised ... ok
[INFO] [stdout] test util::attrs::tests::option_is_unwrapped_syntactically ... ok
[INFO] [stdout] test util::attrs::tests::paths_are_accepted_bare_or_quoted ... ok
[INFO] [stdout] test util::attrs::tests::key_lists_read_as_english ... ok
[INFO] [stdout] test util::attrs::tests::suggestions_are_offered_for_plausible_typos ... ok
[INFO] [stdout] test util::attrs::tests::the_first_paragraph_is_the_summary ... ok
[INFO] [stdout] test util::attrs::tests::undocumented_items_produce_nothing ... ok
[INFO] [stdout] test util::attrs::tests::the_shortest_of_two_equal_candidates_wins ... ok
[INFO] [stdout] test util::attrs::tests::self_reference_is_detected_through_wrappers ... ok
[INFO] [stdout] test schema::tests::the_reference_struct_expands_to_the_documented_shape ... ok
[INFO] [stdout] test middleware::tests::the_head_of_a_type_path_is_its_last_segment ... ok
[INFO] [stdout] test schema::tests::the_four_enum_representations_expand ... ok
[INFO] [stdout] test middleware::tests::two_injected_parameters_are_bound_in_order ... ok
[INFO] [stdout] test schema::tests::a_slash_in_a_name_is_escaped_in_the_pointer ... ok
[INFO] [stdout] test schema::tests::every_expansion_is_valid_rust ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 303 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests moso_macros
[INFO] [stdout] 
[INFO] [stdout] running 29 tests
[INFO] [stdout] test src/error.rs - error (line 3) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 251) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 301) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 140) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_dependency (line 872) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 213) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 101) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 128) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 42) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 268) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_error (line 934) ... FAILED
[INFO] [stdout] test src/middleware.rs - middleware (line 7) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_constrained (line 812) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 229) ... FAILED
[INFO] [stdout] test src/dependency.rs - dependency (line 5) ... FAILED
[INFO] [stdout] test src/lib.rs - roles (line 622) ... ok
[INFO] [stdout] test src/lib.rs - ep (line 567) ... FAILED
[INFO] [stdout] test src/lib.rs - routes (line 529) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_responder (line 836) ... FAILED
[INFO] [stdout] test src/lib.rs - permissions (line 587) ... ok
[INFO] [stdout] test src/lib.rs - derive_config (line 898) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 176) ... FAILED
[INFO] [stdout] test src/lib.rs - endpoint (line 402) ... FAILED
[INFO] [stdout] test src/lib.rs - middleware (line 448) ... FAILED
[INFO] [stdout] test src/middleware.rs - middleware (line 71) ... FAILED
[INFO] [stdout] test src/lib.rs - derive_schema (line 775) ... FAILED
[INFO] [stdout] test src/lib.rs - middleware (line 475) ... FAILED
[INFO] [stdout] test src/routes.rs - routes (line 7) ... FAILED
[INFO] [stdout] test src/responder.rs - responder (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/error.rs - error (line 3) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]  --> src/error.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use moso::prelude::*;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/error.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[derive(Debug, moso::Error)]
[INFO] [stdout]    |                 ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 |     #[error(status = 409, type = "https://shop.example/errors/out-of-stock")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |     #[error(detail = "Only {available} left in stock")]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]   --> src/error.rs:27:7
[INFO] [stdout]    |
[INFO] [stdout] 27 |     #[error(status = 500)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]   --> src/error.rs:28:15
[INFO] [stdout]    |
[INFO] [stdout] 28 |     Gateway(#[from] GatewayError),
[INFO] [stdout]    |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Error` in this scope
[INFO] [stdout]   --> src/error.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | assert_eq!(Error::from(out_of_stock).detail(), Some("Only 2 left in stock"));
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Error` in this scope
[INFO] [stdout]   --> src/error.rs:35:12
[INFO] [stdout]    |
[INFO] [stdout] 35 | assert_eq!(Error::from(ShopError::Gateway(GatewayError)).detail(), None);
[INFO] [stdout]    |            ^^^^^ use of undeclared type `Error`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  4 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 251) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:252:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Dependency` in this scope
[INFO] [stdout]    --> src/lib.rs:260:10
[INFO] [stdout]     |
[INFO] [stdout] 260 | #[derive(Dependency, Clone, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `depends` in this scope
[INFO] [stdout]    --> src/lib.rs:261:3
[INFO] [stdout]     |
[INFO] [stdout] 261 | #[depends(from = CurrentUser, check = "is_admin", error = "admin required")]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Dependency` in this scope
[INFO] [stdout]    --> src/lib.rs:255:6
[INFO] [stdout]     |
[INFO] [stdout] 255 | impl Dependency for CurrentUser {
[INFO] [stdout]     |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RequestCtx` in this scope
[INFO] [stdout]    --> src/lib.rs:257:26
[INFO] [stdout]     |
[INFO] [stdout] 257 |     async fn resolve(_: &RequestCtx) -> Result<Self> { Ok(CurrentUser { is_admin: true }) }
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:256:35
[INFO] [stdout]     |
[INFO] [stdout] 256 |     const PROVIDER_REQ: &'static [moso::ProviderReq] = &[];
[INFO] [stdout]     |                                   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 301) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:302:5
[INFO] [stdout]     |
[INFO] [stdout] 302 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:305:17
[INFO] [stdout]     |
[INFO] [stdout] 305 | #[derive(Debug, moso::Error)]
[INFO] [stdout]     |                 ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:308:7
[INFO] [stdout]     |
[INFO] [stdout] 308 |     #[error(status = 409, type = "https://shop.example/errors/out-of-stock")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:309:7
[INFO] [stdout]     |
[INFO] [stdout] 309 |     #[error(detail = "Only {available} left in stock")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:315:7
[INFO] [stdout]     |
[INFO] [stdout] 315 |     #[error(status = 404)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/lib.rs:319:12
[INFO] [stdout]     |
[INFO] [stdout] 319 | let error: Error = ShopError::OutOfStock { available: 2 }.into();
[INFO] [stdout]     |            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 302 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 302 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 302 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 302 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 140) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:141:5
[INFO] [stdout]     |
[INFO] [stdout] 141 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:142:5
[INFO] [stdout]     |
[INFO] [stdout] 142 | use moso::deps::http::header::HOST;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:143:5
[INFO] [stdout]     |
[INFO] [stdout] 143 | use moso::middleware::Next;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `moso`
[INFO] [stdout]    --> src/lib.rs:144:5
[INFO] [stdout]     |
[INFO] [stdout] 144 | use moso::{Request, Response};
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:153:3
[INFO] [stdout]     |
[INFO] [stdout] 153 | #[moso::middleware]
[INFO] [stdout]     |   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/lib.rs:156:56
[INFO] [stdout]     |
[INFO] [stdout] 156 |     let tenant = Tenant::from_host(host).ok_or_else(|| Error::not_found("tenant"))?;
[INFO] [stdout]     |                                                        ^^^^^ use of undeclared type `Error`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 141 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 141 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 141 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 141 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:154:50
[INFO] [stdout]     |
[INFO] [stdout] 154 | async fn tenant(mut req: Request, next: Next) -> Result<Response> {
[INFO] [stdout]     |                                                  ^^^^^^ -------- supplied 1 generic argument
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 154 | async fn tenant(mut req: Request, next: Next) -> Result<Response, E> {
[INFO] [stdout]     |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Router` in this scope
[INFO] [stdout]    --> src/lib.rs:162:14
[INFO] [stdout]     |
[INFO] [stdout] 162 | let router = Router::new().layer(TenantLayer::new());
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]    --> src/lib.rs:162:34
[INFO] [stdout]     |
[INFO] [stdout] 162 | let router = Router::new().layer(TenantLayer::new());
[INFO] [stdout]     |                                  ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]    --> src/lib.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | assert_eq!(TenantLayer::NAME, "tenant");
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_dependency (line 872) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:873:5
[INFO] [stdout]     |
[INFO] [stdout] 873 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Dependency` in this scope
[INFO] [stdout]    --> src/lib.rs:881:10
[INFO] [stdout]     |
[INFO] [stdout] 881 | #[derive(Dependency, Clone)]
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `depends` in this scope
[INFO] [stdout]    --> src/lib.rs:882:3
[INFO] [stdout]     |
[INFO] [stdout] 882 | #[depends(from = CurrentUser, check = "is_admin", error = "admin required")]
[INFO] [stdout]     |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Dependency` in this scope
[INFO] [stdout]    --> src/lib.rs:876:6
[INFO] [stdout]     |
[INFO] [stdout] 876 | impl Dependency for CurrentUser {
[INFO] [stdout]     |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RequestCtx` in this scope
[INFO] [stdout]    --> src/lib.rs:878:26
[INFO] [stdout]     |
[INFO] [stdout] 878 |     async fn resolve(_: &RequestCtx) -> Result<Self> { Ok(CurrentUser { is_admin: true }) }
[INFO] [stdout]     |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:877:35
[INFO] [stdout]     |
[INFO] [stdout] 877 |     const PROVIDER_REQ: &'static [moso::ProviderReq] = &[];
[INFO] [stdout]     |                                   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 213) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:214:5
[INFO] [stdout]     |
[INFO] [stdout] 214 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Constrained` in this scope
[INFO] [stdout]    --> src/lib.rs:217:10
[INFO] [stdout]     |
[INFO] [stdout] 217 | #[derive(Constrained, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `constrained` in this scope
[INFO] [stdout]    --> src/lib.rs:218:3
[INFO] [stdout]     |
[INFO] [stdout] 218 | #[constrained(inner = String, pattern = r"^ORD-\d{8}$", format = "order-number")]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `OrderNumber` in the current scope
[INFO] [stdout]    --> src/lib.rs:222:22
[INFO] [stdout]     |
[INFO] [stdout] 219 | pub struct OrderNumber(String);
[INFO] [stdout]     | ---------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 222 | assert!(OrderNumber::new("ORD-00000042".to_owned()).is_ok());
[INFO] [stdout]     |                      ^^^ associated function or constant not found in `OrderNumber`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `OrderNumber` in the current scope
[INFO] [stdout]    --> src/lib.rs:223:22
[INFO] [stdout]     |
[INFO] [stdout] 219 | pub struct OrderNumber(String);
[INFO] [stdout]     | ---------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 223 | assert!(OrderNumber::new("nope".to_owned()).is_err());
[INFO] [stdout]     |                      ^^^ associated function or constant not found in `OrderNumber`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 101) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:116:5
[INFO] [stdout]     |
[INFO] [stdout] 116 |     moso::routes! {
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | #[derive(Schema)] pub struct UserOut { /// id
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:107:3
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:109:3
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[endpoint] async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:112:3
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:107:39
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Created` in this scope
[INFO] [stdout]    --> src/lib.rs:109:41
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[endpoint] async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]     |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]    --> src/lib.rs:112:27
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]    --> src/lib.rs:112:37
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 102 + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:112:58
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Router` in this scope
[INFO] [stdout]    --> src/lib.rs:115:20
[INFO] [stdout]     |
[INFO] [stdout] 115 | pub fn router() -> Router {
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:107:32
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                ^^^^^^ ------------------ supplied 1 generic argument
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>, E> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:109:34
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[endpoint] async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]     |                                  ^^^^^^ ---------------- supplied 1 generic argument
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 109 | #[endpoint] async fn create() -> Result<Created<UserOut>, E> {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:112:51
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                                                   ^^^^^^ ------------- supplied 1 generic argument
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 112 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>, E> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:107:64
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Created` in this scope
[INFO] [stdout]    --> src/lib.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 |     Ok(Created::at("/users/1", UserOut { id: 1 })) }
[INFO] [stdout]     |        ^^^^^^^ use of undeclared type `Created`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 |     Ok(Json(UserOut { id })) }
[INFO] [stdout]     |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 128) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:129:5
[INFO] [stdout]     |
[INFO] [stdout] 129 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:133:44
[INFO] [stdout]     |
[INFO] [stdout] 133 | let router = Router::new().get("/healthz", moso::ep!(healthz));
[INFO] [stdout]     |                                            ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:131:3
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:131:42
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[endpoint] async fn healthz<NoContent>() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                             +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:131:58
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:131:35
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                   ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 131 | #[endpoint] async fn healthz() -> Result<NoContent, E> { Ok(NoContent) }
[INFO] [stdout]     |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Router` in this scope
[INFO] [stdout]    --> src/lib.rs:133:14
[INFO] [stdout]     |
[INFO] [stdout] 133 | let router = Router::new().get("/healthz", moso::ep!(healthz));
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 42) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/lib.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | use moso::prelude::*;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]   --> src/lib.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Schema)]
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]   --> src/lib.rs:60:10
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Schema)]
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]   --> src/lib.rs:71:3
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[endpoint]
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Dependency` in this scope
[INFO] [stdout]   --> src/lib.rs:48:6
[INFO] [stdout]    |
[INFO] [stdout] 48 | impl Dependency for CurrentUser {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RequestCtx` in this scope
[INFO] [stdout]   --> src/lib.rs:50:26
[INFO] [stdout]    |
[INFO] [stdout] 50 |     async fn resolve(_: &RequestCtx) -> Result<Self> { Ok(CurrentUser { id: 1 }) }
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Inject` in this scope
[INFO] [stdout]   --> src/lib.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 |     Inject(db): Inject<Db>,
[INFO] [stdout]    |     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Depends` in this scope
[INFO] [stdout]   --> src/lib.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 |     Depends(actor): Depends<CurrentUser>,
[INFO] [stdout]    |     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/lib.rs:75:5
[INFO] [stdout]    |
[INFO] [stdout] 75 |     Json(body): Json<CreateUser>,
[INFO] [stdout]    |     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Inject` in this scope
[INFO] [stdout]   --> src/lib.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |     Inject(db): Inject<Db>,
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Depends` in this scope
[INFO] [stdout]   --> src/lib.rs:74:21
[INFO] [stdout]    |
[INFO] [stdout] 74 |     Depends(actor): Depends<CurrentUser>,
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/lib.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |     Json(body): Json<CreateUser>,
[INFO] [stdout]    |                 ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Created` in this scope
[INFO] [stdout]   --> src/lib.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 | ) -> Result<Created<UserOut>> {
[INFO] [stdout]    |             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `__moso_op_create` in this scope
[INFO] [stdout]   --> src/lib.rs:82:17
[INFO] [stdout]    |
[INFO] [stdout] 82 |     assert_eq!(<__moso_op_create as moso::Endpoint>::NAME, "create");
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/lib.rs:76:6
[INFO] [stdout]    |
[INFO] [stdout] 76 | ) -> Result<Created<UserOut>> {
[INFO] [stdout]    |      ^^^^^^ ---------------- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 76 | ) -> Result<Created<UserOut>, E> {
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/lib.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 |     const PROVIDER_REQ: &'static [moso::ProviderReq] = &[];
[INFO] [stdout]    |                                   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Created` in this scope
[INFO] [stdout]   --> src/lib.rs:79:8
[INFO] [stdout]    |
[INFO] [stdout] 79 |     Ok(Created::at(format!("/users/{}", user.id), user))
[INFO] [stdout]    |        ^^^^^^^ use of undeclared type `Created`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/lib.rs:82:37
[INFO] [stdout]    |
[INFO] [stdout] 82 |     assert_eq!(<__moso_op_create as moso::Endpoint>::NAME, "create");
[INFO] [stdout]    |                                     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 18 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0425, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 268) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 269 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Config` in this scope
[INFO] [stdout]    --> src/lib.rs:273:10
[INFO] [stdout]     |
[INFO] [stdout] 273 | #[derive(Config, Debug)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:276:7
[INFO] [stdout]     |
[INFO] [stdout] 276 |     #[config(default = "localhost:25")]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Config` in this scope
[INFO] [stdout]    --> src/lib.rs:281:10
[INFO] [stdout]     |
[INFO] [stdout] 281 | #[derive(Config, Debug)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:284:7
[INFO] [stdout]     |
[INFO] [stdout] 284 |     #[config(default = "0.0.0.0:3000")]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:287:7
[INFO] [stdout]     |
[INFO] [stdout] 287 |     #[config(secret)]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:290:7
[INFO] [stdout]     |
[INFO] [stdout] 290 |     #[config(nested)]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SecretString` in this scope
[INFO] [stdout]    --> src/lib.rs:288:23
[INFO] [stdout]     |
[INFO] [stdout] 288 |     pub database_url: SecretString,
[INFO] [stdout]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Config` in this scope
[INFO] [stdout]    --> src/lib.rs:294:32
[INFO] [stdout]     |
[INFO] [stdout] 294 | let descriptor = <AppConfig as Config>::descriptor();
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_error (line 934) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:935:5
[INFO] [stdout]     |
[INFO] [stdout] 935 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:943:17
[INFO] [stdout]     |
[INFO] [stdout] 943 | #[derive(Debug, moso::Error)]
[INFO] [stdout]     |                 ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:946:7
[INFO] [stdout]     |
[INFO] [stdout] 946 |     #[error(status = 409, type = "https://shop.example/errors/out-of-stock")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:947:7
[INFO] [stdout]     |
[INFO] [stdout] 947 |     #[error(detail = "Only {available} left in stock")]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `error` in this scope
[INFO] [stdout]    --> src/lib.rs:954:7
[INFO] [stdout]     |
[INFO] [stdout] 954 |     #[error(status = 500)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `from` in this scope
[INFO] [stdout]    --> src/lib.rs:955:15
[INFO] [stdout]     |
[INFO] [stdout] 955 |     Payment(#[from] PaymentError),
[INFO] [stdout]     |               ^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/lib.rs:958:12
[INFO] [stdout]     |
[INFO] [stdout] 958 | let error: Error = ShopError::OutOfStock { available: 2 }.into();
[INFO] [stdout]     |            ^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 935 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 935 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 935 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 935 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Error` in this scope
[INFO] [stdout]    --> src/lib.rs:962:12
[INFO] [stdout]     |
[INFO] [stdout] 962 | assert_eq!(Error::from(from_source).status(), 500);
[INFO] [stdout]     |            ^^^^^ use of undeclared type `Error`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 935 + use std::error::Error;
[INFO] [stdout]     |
[INFO] [stdout] 935 + use std::fmt::Error;
[INFO] [stdout]     |
[INFO] [stdout] 935 + use std::io::Error;
[INFO] [stdout]     |
[INFO] [stdout] 935 + use core::error::Error;
[INFO] [stdout]     |
[INFO] [stdout]     = and 1 other candidate
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `ShopError: From<PaymentError>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:961:43
[INFO] [stdout]     |
[INFO] [stdout] 961 | let from_source: ShopError = PaymentError.into();
[INFO] [stdout]     |                                           ^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `From<PaymentError>` is not implemented for `ShopError`
[INFO] [stdout]    --> src/lib.rs:944:1
[INFO] [stdout]     |
[INFO] [stdout] 944 | pub enum ShopError {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = note: required for `PaymentError` to implement `Into<ShopError>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/middleware.rs - middleware (line 7) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]  --> src/middleware.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use moso::prelude::*;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]  --> src/middleware.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use moso::middleware::Next;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `moso`
[INFO] [stdout]   --> src/middleware.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use moso::{Request, Response};
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/middleware.rs:14:3
[INFO] [stdout]    |
[INFO] [stdout] 14 | #[moso::middleware]
[INFO] [stdout]    |   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/middleware.rs:15:50
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn tenant(mut req: Request, next: Next) -> Result<Response> {
[INFO] [stdout]    |                                                  ^^^^^^ -------- supplied 1 generic argument
[INFO] [stdout]    |                                                  |
[INFO] [stdout]    |                                                  expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 15 | async fn tenant(mut req: Request, next: Next) -> Result<Response, E> {
[INFO] [stdout]    |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]   --> src/middleware.rs:19:24
[INFO] [stdout]    |
[INFO] [stdout] 19 | fn main() { assert_eq!(TenantLayer::NAME, "tenant"); }
[INFO] [stdout]    |                        ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_constrained (line 812) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:813:5
[INFO] [stdout]     |
[INFO] [stdout] 813 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Constrained` in this scope
[INFO] [stdout]    --> src/lib.rs:816:10
[INFO] [stdout]     |
[INFO] [stdout] 816 | #[derive(Constrained, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `constrained` in this scope
[INFO] [stdout]    --> src/lib.rs:817:3
[INFO] [stdout]     |
[INFO] [stdout] 817 | #[constrained(inner = String, pattern = r"^ORD-\d{8}$", format = "order-number")]
[INFO] [stdout]     |   ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `new` found for struct `OrderNumber` in the current scope
[INFO] [stdout]    --> src/lib.rs:820:22
[INFO] [stdout]     |
[INFO] [stdout] 818 | pub struct OrderNumber(String);
[INFO] [stdout]     | ---------------------- associated function or constant `new` not found for this struct
[INFO] [stdout] 819 | fn main() {
[INFO] [stdout] 820 | assert!(OrderNumber::new("ORD-00000042".to_owned()).is_ok());
[INFO] [stdout]     |                      ^^^ associated function or constant not found in `OrderNumber`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `OrderNumber: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:822:32
[INFO] [stdout]      |
[INFO] [stdout]  822 | assert!(serde_json::from_str::<OrderNumber>(r#""nope""#).is_err());
[INFO] [stdout]      |                                ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `OrderNumber`
[INFO] [stdout]     --> src/lib.rs:818:1
[INFO] [stdout]      |
[INFO] [stdout]  818 | pub struct OrderNumber(String);
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `OrderNumber` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 140 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.151/src/de.rs:2711:8
[INFO] [stdout]      |
[INFO] [stdout] 2709 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout] 2710 | where
[INFO] [stdout] 2711 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 229) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:230:5
[INFO] [stdout]     |
[INFO] [stdout] 230 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:233:10
[INFO] [stdout]     |
[INFO] [stdout] 233 | #[derive(Schema, Responder, Debug)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Responder` in this scope
[INFO] [stdout]    --> src/lib.rs:233:18
[INFO] [stdout]     |
[INFO] [stdout] 233 | #[derive(Schema, Responder, Debug)]
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `responder` in this scope
[INFO] [stdout]    --> src/lib.rs:234:3
[INFO] [stdout]     |
[INFO] [stdout] 234 | #[responder(status = 201)]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]    --> src/lib.rs:239:16
[INFO] [stdout]     |
[INFO] [stdout] 239 |     pub email: Email,
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]    --> src/lib.rs:243:39
[INFO] [stdout]     |
[INFO] [stdout] 243 | let email = "ada@example.com".parse::<Email>().unwrap();
[INFO] [stdout]     |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_response` found for struct `UserCreated` in the current scope
[INFO] [stdout]    --> src/lib.rs:244:45
[INFO] [stdout]     |
[INFO] [stdout] 235 | pub struct UserCreated {
[INFO] [stdout]     | ---------------------- method `into_response` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 244 | let response = UserCreated { id: 7, email }.into_response();
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^ method not found in `UserCreated`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/dependency.rs - dependency (line 5) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]  --> src/dependency.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use moso::prelude::*;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Dependency` in this scope
[INFO] [stdout]   --> src/dependency.rs:20:10
[INFO] [stdout]    |
[INFO] [stdout] 20 | #[derive(Dependency, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Dependency` in this scope
[INFO] [stdout]   --> src/dependency.rs:29:10
[INFO] [stdout]    |
[INFO] [stdout] 29 | #[derive(Dependency, Clone)]
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `depends` in this scope
[INFO] [stdout]   --> src/dependency.rs:30:3
[INFO] [stdout]    |
[INFO] [stdout] 30 | #[depends(from = CurrentUser, check = "is_admin", error = "admin required")]
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Dependency` in this scope
[INFO] [stdout]  --> src/dependency.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 | impl Dependency for CurrentUser {
[INFO] [stdout]   |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RequestCtx` in this scope
[INFO] [stdout]   --> src/dependency.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 |     async fn resolve(_: &RequestCtx) -> Result<Self> { Ok(CurrentUser { is_admin: true }) }
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Dependency` in this scope
[INFO] [stdout]   --> src/dependency.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Dependency for Tenant {
[INFO] [stdout]    |      ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `RequestCtx` in this scope
[INFO] [stdout]   --> src/dependency.rs:17:26
[INFO] [stdout]    |
[INFO] [stdout] 17 |     async fn resolve(_: &RequestCtx) -> Result<Self> { Ok(Tenant("acme".to_owned())) }
[INFO] [stdout]    |                          ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/dependency.rs:10:35
[INFO] [stdout]    |
[INFO] [stdout] 10 |     const PROVIDER_REQ: &'static [moso::ProviderReq] = &[];
[INFO] [stdout]    |                                   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/dependency.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 |     const PROVIDER_REQ: &'static [moso::ProviderReq] = &[];
[INFO] [stdout]    |                                   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - ep (line 567) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:568:5
[INFO] [stdout]     |
[INFO] [stdout] 568 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:575:22
[INFO] [stdout]     |
[INFO] [stdout] 575 |     .get("/healthz", moso::ep!(healthz))
[INFO] [stdout]     |                      ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:576:31
[INFO] [stdout]     |
[INFO] [stdout] 576 |     .post("/webhooks/stripe", moso::ep!(stripe));
[INFO] [stdout]     |                               ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:570:3
[INFO] [stdout]     |
[INFO] [stdout] 570 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:572:3
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[endpoint] async fn stripe() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:570:42
[INFO] [stdout]     |
[INFO] [stdout] 570 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 570 | #[endpoint] async fn healthz<NoContent>() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                             +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:570:58
[INFO] [stdout]     |
[INFO] [stdout] 570 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                          ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:572:41
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[endpoint] async fn stripe() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[endpoint] async fn stripe<NoContent>() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                            +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:572:57
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[endpoint] async fn stripe() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                         ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:570:35
[INFO] [stdout]     |
[INFO] [stdout] 570 | #[endpoint] async fn healthz() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                   ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]     |                                   |
[INFO] [stdout]     |                                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 570 | #[endpoint] async fn healthz() -> Result<NoContent, E> { Ok(NoContent) }
[INFO] [stdout]     |                                                   +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:572:34
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[endpoint] async fn stripe() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                  ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 572 | #[endpoint] async fn stripe() -> Result<NoContent, E> { Ok(NoContent) }
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Router` in this scope
[INFO] [stdout]    --> src/lib.rs:574:14
[INFO] [stdout]     |
[INFO] [stdout] 574 | let router = Router::new()
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - routes (line 529) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:530:5
[INFO] [stdout]     |
[INFO] [stdout] 530 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:546:5
[INFO] [stdout]     |
[INFO] [stdout] 546 |     moso::routes! {
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:532:10
[INFO] [stdout]     |
[INFO] [stdout] 532 | #[derive(Schema)] pub struct UserOut { /// Identifier.
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:535:3
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:537:3
[INFO] [stdout]     |
[INFO] [stdout] 537 | #[endpoint] async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:540:3
[INFO] [stdout]     |
[INFO] [stdout] 540 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:543:3
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:535:39
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                       ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Created` in this scope
[INFO] [stdout]    --> src/lib.rs:537:41
[INFO] [stdout]     |
[INFO] [stdout] 537 | #[endpoint] async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]     |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]    --> src/lib.rs:540:27
[INFO] [stdout]     |
[INFO] [stdout] 540 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]    --> src/lib.rs:540:37
[INFO] [stdout]     |
[INFO] [stdout] 540 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                                     ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 530 + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:540:58
[INFO] [stdout]     |
[INFO] [stdout] 540 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                                                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]    --> src/lib.rs:543:30
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]    --> src/lib.rs:543:41
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 530 + use std::path::Path;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:543:62
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy<NoContent>(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                             +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:543:78
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Router` in this scope
[INFO] [stdout]    --> src/lib.rs:545:20
[INFO] [stdout]     |
[INFO] [stdout] 545 | pub fn router() -> Router {
[INFO] [stdout]     |                    ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:535:32
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                ^^^^^^ ------------------ supplied 1 generic argument
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>, E> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:537:34
[INFO] [stdout]     |
[INFO] [stdout] 537 | #[endpoint] async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]     |                                  ^^^^^^ ---------------- supplied 1 generic argument
[INFO] [stdout]     |                                  |
[INFO] [stdout]     |                                  expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 537 | #[endpoint] async fn create() -> Result<Created<UserOut>, E> {
[INFO] [stdout]     |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:540:51
[INFO] [stdout]     |
[INFO] [stdout] 540 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]     |                                                   ^^^^^^ ------------- supplied 1 generic argument
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 540 | #[endpoint] async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>, E> {
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:543:55
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                       ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 543 | #[endpoint] async fn destroy(Path(_id): Path<u64>) -> Result<NoContent, E> { Ok(NoContent) }
[INFO] [stdout]     |                                                                       +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:535:64
[INFO] [stdout]     |
[INFO] [stdout] 535 | #[endpoint] async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]     |                                                                ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Created` in this scope
[INFO] [stdout]    --> src/lib.rs:538:8
[INFO] [stdout]     |
[INFO] [stdout] 538 |     Ok(Created::at("/users/1", UserOut { id: 1 })) }
[INFO] [stdout]     |        ^^^^^^^ use of undeclared type `Created`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:541:8
[INFO] [stdout]     |
[INFO] [stdout] 541 |     Ok(Json(UserOut { id })) }
[INFO] [stdout]     |        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 24 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_responder (line 836) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:837:5
[INFO] [stdout]     |
[INFO] [stdout] 837 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:840:10
[INFO] [stdout]     |
[INFO] [stdout] 840 | #[derive(Schema, Responder)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Responder` in this scope
[INFO] [stdout]    --> src/lib.rs:840:18
[INFO] [stdout]     |
[INFO] [stdout] 840 | #[derive(Schema, Responder)]
[INFO] [stdout]     |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `responder` in this scope
[INFO] [stdout]    --> src/lib.rs:841:3
[INFO] [stdout]     |
[INFO] [stdout] 841 | #[responder(status = 201, header(location = "self.url"))]
[INFO] [stdout]     |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]    --> src/lib.rs:844:7
[INFO] [stdout]     |
[INFO] [stdout] 844 |     #[serde(skip)]
[INFO] [stdout]     |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]    --> src/lib.rs:849:16
[INFO] [stdout]     |
[INFO] [stdout] 849 |     pub email: Email,
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_response` found for struct `UserCreated` in the current scope
[INFO] [stdout]    --> src/lib.rs:857:24
[INFO] [stdout]     |
[INFO] [stdout] 842 | pub struct UserCreated {
[INFO] [stdout]     | ---------------------- method `into_response` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 857 | let response = created.into_response();
[INFO] [stdout]     |                        ^^^^^^^^^^^^^ method not found in `UserCreated`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_config (line 898) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:899:5
[INFO] [stdout]     |
[INFO] [stdout] 899 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Config` in this scope
[INFO] [stdout]    --> src/lib.rs:902:10
[INFO] [stdout]     |
[INFO] [stdout] 902 | #[derive(Config, Debug)] pub struct MailConfig {
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:904:7
[INFO] [stdout]     |
[INFO] [stdout] 904 |     #[config(default = "localhost:25")] pub smtp: String }
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Config` in this scope
[INFO] [stdout]    --> src/lib.rs:906:10
[INFO] [stdout]     |
[INFO] [stdout] 906 | #[derive(Config, Debug)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:909:7
[INFO] [stdout]     |
[INFO] [stdout] 909 |     #[config(default = "0.0.0.0:3000")]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:912:7
[INFO] [stdout]     |
[INFO] [stdout] 912 |     #[config(secret)]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `config` in this scope
[INFO] [stdout]    --> src/lib.rs:915:7
[INFO] [stdout]     |
[INFO] [stdout] 915 |     #[config(nested)]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `SecretString` in this scope
[INFO] [stdout]    --> src/lib.rs:913:23
[INFO] [stdout]     |
[INFO] [stdout] 913 |     pub database_url: SecretString,
[INFO] [stdout]     |                       ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Config` in this scope
[INFO] [stdout]    --> src/lib.rs:919:32
[INFO] [stdout]     |
[INFO] [stdout] 919 | let descriptor = <AppConfig as Config>::descriptor();
[INFO] [stdout]     |                                ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 176) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:177:5
[INFO] [stdout]     |
[INFO] [stdout] 177 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:180:10
[INFO] [stdout]     |
[INFO] [stdout] 180 | #[derive(Schema)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schema` in this scope
[INFO] [stdout]    --> src/lib.rs:183:7
[INFO] [stdout]     |
[INFO] [stdout] 183 |     #[schema(len = 3..=32, pattern = r"^[a-z0-9_]+$")]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schema` in this scope
[INFO] [stdout]    --> src/lib.rs:188:7
[INFO] [stdout]     |
[INFO] [stdout] 188 |     #[schema(range = 13..=130)]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:196:16
[INFO] [stdout]     |
[INFO] [stdout] 196 | let ctx = &mut moso::schema::ValidationCtx::new();
[INFO] [stdout]     |                ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 | assert!(moso::schema::Validate::validate(&bad, ctx).is_err());
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:200:21
[INFO] [stdout]     |
[INFO] [stdout] 200 | let mut generator = moso::schema::SchemaGenerator::default();
[INFO] [stdout]     |                     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]    --> src/lib.rs:186:16
[INFO] [stdout]     |
[INFO] [stdout] 186 |     pub email: Email,
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CreateUser: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:193:34
[INFO] [stdout]      |
[INFO] [stdout]  193 | let bad = serde_json::from_str::<CreateUser>(
[INFO] [stdout]      |                                  ^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `CreateUser`
[INFO] [stdout]     --> src/lib.rs:181:1
[INFO] [stdout]      |
[INFO] [stdout]  181 | pub struct CreateUser {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `CreateUser` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 140 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.151/src/de.rs:2711:8
[INFO] [stdout]      |
[INFO] [stdout] 2709 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout] 2710 | where
[INFO] [stdout] 2711 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `json_schema` found for struct `CreateUser` in the current scope
[INFO] [stdout]    --> src/lib.rs:201:24
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub struct CreateUser {
[INFO] [stdout]     | --------------------- associated function or constant `json_schema` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 201 | let node = CreateUser::json_schema(&mut generator);
[INFO] [stdout]     |                        ^^^^^^^^^^^ associated function or constant not found in `CreateUser`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - endpoint (line 402) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:403:5
[INFO] [stdout]     |
[INFO] [stdout] 403 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:407:10
[INFO] [stdout]     |
[INFO] [stdout] 407 | #[derive(Schema)] pub struct CreateUser { /// Public handle.
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:410:10
[INFO] [stdout]     |
[INFO] [stdout] 410 | #[derive(Schema)] pub struct UserOut { /// Identifier.
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:413:3
[INFO] [stdout]     |
[INFO] [stdout] 413 | #[endpoint]
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Inject` in this scope
[INFO] [stdout]    --> src/lib.rs:414:17
[INFO] [stdout]     |
[INFO] [stdout] 414 | async fn create(Inject(db): Inject<Db>, Json(body): Json<CreateUser>)
[INFO] [stdout]     |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:414:41
[INFO] [stdout]     |
[INFO] [stdout] 414 | async fn create(Inject(db): Inject<Db>, Json(body): Json<CreateUser>)
[INFO] [stdout]     |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Inject` in this scope
[INFO] [stdout]    --> src/lib.rs:414:29
[INFO] [stdout]     |
[INFO] [stdout] 414 | async fn create(Inject(db): Inject<Db>, Json(body): Json<CreateUser>)
[INFO] [stdout]     |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]    --> src/lib.rs:414:53
[INFO] [stdout]     |
[INFO] [stdout] 414 | async fn create(Inject(db): Inject<Db>, Json(body): Json<CreateUser>)
[INFO] [stdout]     |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Created` in this scope
[INFO] [stdout]    --> src/lib.rs:415:15
[INFO] [stdout]     |
[INFO] [stdout] 415 |     -> Result<Created<UserOut>>
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `__moso_op_create` in this scope
[INFO] [stdout]    --> src/lib.rs:421:17
[INFO] [stdout]     |
[INFO] [stdout] 421 |     assert_eq!(<__moso_op_create as moso::Endpoint>::NAME, "create");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:415:8
[INFO] [stdout]     |
[INFO] [stdout] 415 |     -> Result<Created<UserOut>>
[INFO] [stdout]     |        ^^^^^^ ---------------- supplied 1 generic argument
[INFO] [stdout]     |        |
[INFO] [stdout]     |        expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 415 |     -> Result<Created<UserOut>, E>
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Created` in this scope
[INFO] [stdout]    --> src/lib.rs:418:8
[INFO] [stdout]     |
[INFO] [stdout] 418 |     Ok(Created::at("/users/1", UserOut { id: 1 }))
[INFO] [stdout]     |        ^^^^^^^ use of undeclared type `Created`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:421:37
[INFO] [stdout]     |
[INFO] [stdout] 421 |     assert_eq!(<__moso_op_create as moso::Endpoint>::NAME, "create");
[INFO] [stdout]     |                                     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - middleware (line 448) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:449:5
[INFO] [stdout]     |
[INFO] [stdout] 449 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:450:5
[INFO] [stdout]     |
[INFO] [stdout] 450 | use moso::middleware::Next;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `moso`
[INFO] [stdout]    --> src/lib.rs:451:5
[INFO] [stdout]     |
[INFO] [stdout] 451 | use moso::{Request, Response};
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:461:3
[INFO] [stdout]     |
[INFO] [stdout] 461 | #[moso::middleware]
[INFO] [stdout]     |   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:455:22
[INFO] [stdout]     |
[INFO] [stdout] 455 |     fn from_host(h: &moso::deps::http::HeaderMap) -> Result<Self> {
[INFO] [stdout]     |                      ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:462:50
[INFO] [stdout]     |
[INFO] [stdout] 462 | async fn tenant(mut req: Request, next: Next) -> Result<Response> {
[INFO] [stdout]     |                                                  ^^^^^^ -------- supplied 1 generic argument
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 462 | async fn tenant(mut req: Request, next: Next) -> Result<Response, E> {
[INFO] [stdout]     |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:455:54
[INFO] [stdout]     |
[INFO] [stdout] 455 |     fn from_host(h: &moso::deps::http::HeaderMap) -> Result<Self> {
[INFO] [stdout]     |                                                      ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                                      |
[INFO] [stdout]     |                                                      expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 455 |     fn from_host(h: &moso::deps::http::HeaderMap) -> Result<Self, E> {
[INFO] [stdout]     |                                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]    --> src/lib.rs:467:24
[INFO] [stdout]     |
[INFO] [stdout] 467 | fn main() { assert_eq!(TenantLayer::NAME, "tenant"); }
[INFO] [stdout]     |                        ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/middleware.rs - middleware (line 71) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/middleware.rs:72:5
[INFO] [stdout]    |
[INFO] [stdout] 72 | use moso::prelude::*;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/middleware.rs:73:5
[INFO] [stdout]    |
[INFO] [stdout] 73 | use moso::middleware::Next;
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `moso`
[INFO] [stdout]   --> src/middleware.rs:74:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | use moso::{Request, Response};
[INFO] [stdout]    |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/middleware.rs:78:3
[INFO] [stdout]    |
[INFO] [stdout] 78 | #[moso::middleware]
[INFO] [stdout]    |   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Inject` in this scope
[INFO] [stdout]   --> src/middleware.rs:79:17
[INFO] [stdout]    |
[INFO] [stdout] 79 | async fn tenant(Inject(db): Inject<Db>, req: Request, next: Next) -> Result<Response> {
[INFO] [stdout]    |                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Inject` in this scope
[INFO] [stdout]   --> src/middleware.rs:79:29
[INFO] [stdout]    |
[INFO] [stdout] 79 | async fn tenant(Inject(db): Inject<Db>, req: Request, next: Next) -> Result<Response> {
[INFO] [stdout]    |                             ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/middleware.rs:79:70
[INFO] [stdout]    |
[INFO] [stdout] 79 | async fn tenant(Inject(db): Inject<Db>, req: Request, next: Next) -> Result<Response> {
[INFO] [stdout]    |                                                                      ^^^^^^ -------- supplied 1 generic argument
[INFO] [stdout]    |                                                                      |
[INFO] [stdout]    |                                                                      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 79 | async fn tenant(Inject(db): Inject<Db>, req: Request, next: Next) -> Result<Response, E> {
[INFO] [stdout]    |                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]   --> src/middleware.rs:83:24
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn main() { assert_eq!(TenantLayer::PROVIDER_REQ.len(), 1); }
[INFO] [stdout]    |                        ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - derive_schema (line 775) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:776:5
[INFO] [stdout]     |
[INFO] [stdout] 776 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]    --> src/lib.rs:779:10
[INFO] [stdout]     |
[INFO] [stdout] 779 | #[derive(Schema)]
[INFO] [stdout]     |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schema` in this scope
[INFO] [stdout]    --> src/lib.rs:782:7
[INFO] [stdout]     |
[INFO] [stdout] 782 |     #[schema(len = 3..=32, pattern = r"^[a-z0-9_]+$")]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `schema` in this scope
[INFO] [stdout]    --> src/lib.rs:787:7
[INFO] [stdout]     |
[INFO] [stdout] 787 |     #[schema(range = 13..=130)]
[INFO] [stdout]     |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:794:16
[INFO] [stdout]     |
[INFO] [stdout] 794 | let ctx = &mut moso::schema::ValidationCtx::new();
[INFO] [stdout]     |                ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:795:9
[INFO] [stdout]     |
[INFO] [stdout] 795 | assert!(moso::schema::Validate::validate(&user, ctx).is_ok());
[INFO] [stdout]     |         ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]    --> src/lib.rs:785:16
[INFO] [stdout]     |
[INFO] [stdout] 785 |     pub email: Email,
[INFO] [stdout]     |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `CreateUser: serde::Deserialize<'de>` is not satisfied
[INFO] [stdout]     --> src/lib.rs:791:24
[INFO] [stdout]      |
[INFO] [stdout]  791 |   let user: CreateUser = serde_json::from_str(
[INFO] [stdout]      |  ________________________^
[INFO] [stdout]  792 | |     r#"{"username":"ada","email":"ada@example.com","age":36}"#,
[INFO] [stdout]  793 | | ).unwrap();
[INFO] [stdout]      | |_^ unsatisfied trait bound
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde_core::de::Deserialize<'_>` is not implemented for `CreateUser`
[INFO] [stdout]     --> src/lib.rs:780:1
[INFO] [stdout]      |
[INFO] [stdout]  780 | pub struct CreateUser {
[INFO] [stdout]      | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `CreateUser` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde_core::de::Deserialize<'de>`:
[INFO] [stdout]                &'a Path
[INFO] [stdout]                &'a [u8]
[INFO] [stdout]                &'a str
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]              and 140 others
[INFO] [stdout] note: required by a bound in `serde_json::from_str`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.151/src/de.rs:2711:8
[INFO] [stdout]      |
[INFO] [stdout] 2709 | pub fn from_str<'a, T>(s: &'a str) -> Result<T>
[INFO] [stdout] 2710 | where
[INFO] [stdout] 2711 |     T: de::Deserialize<'a>,
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^ required by this bound in `from_str`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - middleware (line 475) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:476:5
[INFO] [stdout]     |
[INFO] [stdout] 476 | use moso::prelude::*;
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:477:5
[INFO] [stdout]     |
[INFO] [stdout] 477 | use moso::middleware::{Next, Slot};
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `moso`
[INFO] [stdout]    --> src/lib.rs:478:5
[INFO] [stdout]     |
[INFO] [stdout] 478 | use moso::{MiddlewareStack, Request, Response};
[INFO] [stdout]     |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:486:26
[INFO] [stdout]     |
[INFO] [stdout] 486 |     .post("/auth/login", moso::ep!(login))
[INFO] [stdout]     |                          ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]    --> src/lib.rs:480:3
[INFO] [stdout]     |
[INFO] [stdout] 480 | #[moso::middleware]
[INFO] [stdout]     |   ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]    --> src/lib.rs:483:3
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[endpoint] async fn login() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:483:40
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[endpoint] async fn login() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[endpoint] async fn login<NoContent>() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                           +++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `NoContent` in this scope
[INFO] [stdout]    --> src/lib.rs:483:56
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[endpoint] async fn login() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                                        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:481:46
[INFO] [stdout]     |
[INFO] [stdout] 481 | async fn tenant(req: Request, next: Next) -> Result<Response> { Ok(next.run(req).await) }
[INFO] [stdout]     |                                              ^^^^^^ -------- supplied 1 generic argument
[INFO] [stdout]     |                                              |
[INFO] [stdout]     |                                              expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 481 | async fn tenant(req: Request, next: Next) -> Result<Response, E> { Ok(next.run(req).await) }
[INFO] [stdout]     |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/lib.rs:483:33
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[endpoint] async fn login() -> Result<NoContent> { Ok(NoContent) }
[INFO] [stdout]     |                                 ^^^^^^ --------- supplied 1 generic argument
[INFO] [stdout]     |                                 |
[INFO] [stdout]     |                                 expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 483 | #[endpoint] async fn login() -> Result<NoContent, E> { Ok(NoContent) }
[INFO] [stdout]     |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Router` in this scope
[INFO] [stdout]    --> src/lib.rs:485:14
[INFO] [stdout]     |
[INFO] [stdout] 485 | let router = Router::new()
[INFO] [stdout]     |              ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]    --> src/lib.rs:487:12
[INFO] [stdout]     |
[INFO] [stdout] 487 |     .layer(TenantLayer::new());
[INFO] [stdout]     |            ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]    --> src/lib.rs:490:33
[INFO] [stdout]     |
[INFO] [stdout] 490 | stack.insert_after(Slot::Trace, TenantLayer::NAME, TenantLayer::new());
[INFO] [stdout]     |                                 ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TenantLayer` in this scope
[INFO] [stdout]    --> src/lib.rs:490:52
[INFO] [stdout]     |
[INFO] [stdout] 490 | stack.insert_after(Slot::Trace, TenantLayer::NAME, TenantLayer::new());
[INFO] [stdout]     |                                                    ^^^^^^^^^^^ use of undeclared type `TenantLayer`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/routes.rs - routes (line 7) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]  --> src/routes.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use moso::prelude::*;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/routes.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |     use moso::prelude::*;
[INFO] [stdout]    |         ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `super::UserOut`
[INFO] [stdout]   --> src/routes.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     use super::UserOut;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/routes.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | let table = moso::routes! {
[INFO] [stdout]    |             ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]   --> src/routes.rs:33:39
[INFO] [stdout]    |
[INFO] [stdout] 33 | let one = Router::new().get("/users", moso::ep!(list));
[INFO] [stdout]    |                                       ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]   --> src/routes.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Schema)] pub struct UserOut { /// Identifier.
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]   --> src/routes.rs:13:3
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[endpoint] pub async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]   --> src/routes.rs:15:3
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[endpoint] pub async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `endpoint` in this scope
[INFO] [stdout]   --> src/routes.rs:22:7
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[endpoint] pub async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/routes.rs:13:43
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[endpoint] pub async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Created` in this scope
[INFO] [stdout]   --> src/routes.rs:15:45
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[endpoint] pub async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Path` in this scope
[INFO] [stdout]   --> src/routes.rs:22:35
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[endpoint] pub async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]    |                                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/routes.rs:22:45
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[endpoint] pub async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]    |                                             ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 19 +     use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Json` in this scope
[INFO] [stdout]   --> src/routes.rs:22:66
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[endpoint] pub async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]    |                                                                  ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/routes.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[endpoint] pub async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]    |                                    ^^^^^^ ------------------ supplied 1 generic argument
[INFO] [stdout]    |                                    |
[INFO] [stdout]    |                                    expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[endpoint] pub async fn list() -> Result<Json<Vec<UserOut>>, E> { Ok(Json(vec![])) }
[INFO] [stdout]    |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/routes.rs:15:38
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[endpoint] pub async fn create() -> Result<Created<UserOut>> {
[INFO] [stdout]    |                                      ^^^^^^ ---------------- supplied 1 generic argument
[INFO] [stdout]    |                                      |
[INFO] [stdout]    |                                      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 15 | #[endpoint] pub async fn create() -> Result<Created<UserOut>, E> {
[INFO] [stdout]    |                                                             +++
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/routes.rs:22:59
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[endpoint] pub async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>> {
[INFO] [stdout]    |                                                           ^^^^^^ ------------- supplied 1 generic argument
[INFO] [stdout]    |                                                           |
[INFO] [stdout]    |                                                           expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 22 |     #[endpoint] pub async fn show(Path(id): Path<u64>) -> Result<Json<UserOut>, E> {
[INFO] [stdout]    |                                                                               +++
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/routes.rs:13:68
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[endpoint] pub async fn list() -> Result<Json<Vec<UserOut>>> { Ok(Json(vec![])) }
[INFO] [stdout]    |                                                                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Created` in this scope
[INFO] [stdout]   --> src/routes.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Ok(Created::at("/users/1", UserOut { id: 1 })) }
[INFO] [stdout]    |        ^^^^^^^ use of undeclared type `Created`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Json` in this scope
[INFO] [stdout]   --> src/routes.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 |         Ok(Json(UserOut { id })) }
[INFO] [stdout]    |            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `Router` in this scope
[INFO] [stdout]   --> src/routes.rs:33:11
[INFO] [stdout]    |
[INFO] [stdout] 33 | let one = Router::new().get("/users", moso::ep!(list));
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Router`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 21 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0425, E0432, E0433, E0531.
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/responder.rs - responder (line 4) stdout ----
[INFO] [stdout] error[E0433]: cannot find module or crate `moso` in this scope
[INFO] [stdout]  --> src/responder.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use moso::prelude::*;
[INFO] [stdout]   |     ^^^^ use of unresolved module or unlinked crate `moso`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `moso`, use `cargo add moso` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Schema` in this scope
[INFO] [stdout]  --> src/responder.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Schema, Responder)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Responder` in this scope
[INFO] [stdout]  --> src/responder.rs:8:18
[INFO] [stdout]   |
[INFO] [stdout] 8 | #[derive(Schema, Responder)]
[INFO] [stdout]   |                  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `responder` in this scope
[INFO] [stdout]  --> src/responder.rs:9:3
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[responder(status = 201, header(location = "self.url"))]
[INFO] [stdout]   |   ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `serde` in this scope
[INFO] [stdout]   --> src/responder.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 |     #[serde(skip)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `Email` in this scope
[INFO] [stdout]   --> src/responder.rs:17:16
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub email: Email,
[INFO] [stdout]    |                ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `into_response` found for struct `UserCreated` in the current scope
[INFO] [stdout]   --> src/responder.rs:25:2
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct UserCreated {
[INFO] [stdout]    | ---------------------- method `into_response` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 | let response = UserCreated {
[INFO] [stdout] 21 |     url: "/users/7".to_owned(),
[INFO] [stdout] 22 |     id: 7,
[INFO] [stdout] 23 |     email: "ada@example.com".parse().unwrap(),
[INFO] [stdout] 24 | }
[INFO] [stdout] 25 | .into_response();
[INFO] [stdout]    |  ^^^^^^^^^^^^^ method not found in `UserCreated`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/dependency.rs - dependency (line 5)
[INFO] [stdout]     src/error.rs - error (line 3)
[INFO] [stdout]     src/lib.rs - (line 101)
[INFO] [stdout]     src/lib.rs - (line 128)
[INFO] [stdout]     src/lib.rs - (line 140)
[INFO] [stdout]     src/lib.rs - (line 176)
[INFO] [stdout]     src/lib.rs - (line 213)
[INFO] [stdout]     src/lib.rs - (line 229)
[INFO] [stdout]     src/lib.rs - (line 251)
[INFO] [stdout]     src/lib.rs - (line 268)
[INFO] [stdout]     src/lib.rs - (line 301)
[INFO] [stdout]     src/lib.rs - (line 42)
[INFO] [stdout]     src/lib.rs - derive_config (line 898)
[INFO] [stdout]     src/lib.rs - derive_constrained (line 812)
[INFO] [stdout]     src/lib.rs - derive_dependency (line 872)
[INFO] [stdout]     src/lib.rs - derive_error (line 934)
[INFO] [stdout]     src/lib.rs - derive_responder (line 836)
[INFO] [stdout]     src/lib.rs - derive_schema (line 775)
[INFO] [stdout]     src/lib.rs - endpoint (line 402)
[INFO] [stdout]     src/lib.rs - ep (line 567)
[INFO] [stdout]     src/lib.rs - middleware (line 448)
[INFO] [stdout]     src/lib.rs - middleware (line 475)
[INFO] [stdout]     src/lib.rs - routes (line 529)
[INFO] [stdout]     src/middleware.rs - middleware (line 7)
[INFO] [stdout]     src/middleware.rs - middleware (line 71)
[INFO] [stdout]     src/responder.rs - responder (line 4)
[INFO] [stdout]     src/routes.rs - routes (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 2 passed; 27 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.57s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 2.90s; merged doctests compilation took 1.33s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `"docker" "inspect" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[INFO] running `"docker" "rm" "-f" "e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d"`
[INFO] [stdout] e8f5cc48122a64399d402ab00fed65266b2b4dcf714ffec5c0b818018eb2d16d
