[INFO] fetching crate trillium-http-types 0.0.3... [INFO] testing trillium-http-types-0.0.3 against 1.55.0 for beta-1.56-1 [INFO] extracting crate trillium-http-types 0.0.3 into /workspace/builds/worker-112/source [INFO] validating manifest of crates.io crate trillium-http-types 0.0.3 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trillium-http-types 0.0.3 [INFO] finished tweaking crates.io crate trillium-http-types 0.0.3 [INFO] tweaked toml for crates.io crate trillium-http-types 0.0.3 written to /workspace/builds/worker-112/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9de09ed27c8838c51d3ce425d0b9519a3a4d74b4b323bed108e336ed948f875 [INFO] running `Command { std: "docker" "start" "-a" "d9de09ed27c8838c51d3ce425d0b9519a3a4d74b4b323bed108e336ed948f875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9de09ed27c8838c51d3ce425d0b9519a3a4d74b4b323bed108e336ed948f875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9de09ed27c8838c51d3ce425d0b9519a3a4d74b4b323bed108e336ed948f875", kill_on_drop: false }` [INFO] [stdout] d9de09ed27c8838c51d3ce425d0b9519a3a4d74b4b323bed108e336ed948f875 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 619a76a1bb97fa16df2531e125025758929903ae8f84585916f99bb096157718 [INFO] running `Command { std: "docker" "start" "-a" "619a76a1bb97fa16df2531e125025758929903ae8f84585916f99bb096157718", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling trillium-http-types v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling infer v0.2.3 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling cipher v0.2.5 [INFO] [stderr] Compiling aead v0.3.2 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling crypto-mac v0.10.1 [INFO] [stderr] Compiling aes-soft v0.6.4 [INFO] [stderr] Compiling ctr v0.6.0 [INFO] [stderr] Compiling polyval v0.4.5 [INFO] [stderr] Compiling hmac v0.10.1 [INFO] [stderr] Compiling hkdf v0.10.0 [INFO] [stderr] Compiling ghash v0.3.1 [INFO] [stderr] Compiling aes v0.6.0 [INFO] [stderr] Compiling aes-gcm v0.8.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling polling v2.1.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-io v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_qs v0.7.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.10s [INFO] running `Command { std: "docker" "inspect" "619a76a1bb97fa16df2531e125025758929903ae8f84585916f99bb096157718", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619a76a1bb97fa16df2531e125025758929903ae8f84585916f99bb096157718", kill_on_drop: false }` [INFO] [stdout] 619a76a1bb97fa16df2531e125025758929903ae8f84585916f99bb096157718 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfa2f894444daf618a72c1041e0b83c0f6aa8e1c96277a8e607c7172e1d5d9ea [INFO] running `Command { std: "docker" "start" "-a" "dfa2f894444daf618a72c1041e0b83c0f6aa8e1c96277a8e607c7172e1d5d9ea", kill_on_drop: false }` [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling trillium-http-types v0.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 12.51s [INFO] running `Command { std: "docker" "inspect" "dfa2f894444daf618a72c1041e0b83c0f6aa8e1c96277a8e607c7172e1d5d9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfa2f894444daf618a72c1041e0b83c0f6aa8e1c96277a8e607c7172e1d5d9ea", kill_on_drop: false }` [INFO] [stdout] dfa2f894444daf618a72c1041e0b83c0f6aa8e1c96277a8e607c7172e1d5d9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-112/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9ed44042f507c37714773721f83cd8dd21f1162e74603d70d6e70b4c144be2c6 [INFO] running `Command { std: "docker" "start" "-a" "9ed44042f507c37714773721f83cd8dd21f1162e74603d70d6e70b4c144be2c6", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trillium_http_types-9512d32e021c0b55) [INFO] [stdout] [INFO] [stdout] running 179 tests [INFO] [stdout] test auth::authorization::test::smoke ... ok [INFO] [stdout] test auth::authorization::test::bad_request_on_parse_error ... ok [INFO] [stdout] test auth::basic_auth::test::bad_request_on_parse_error ... ok [INFO] [stdout] test auth::basic_auth::test::smoke ... ok [INFO] [stdout] test auth::www_authenticate::test::bad_request_on_parse_error ... ok [INFO] [stdout] test auth::www_authenticate::test::smoke ... ok [INFO] [stdout] test cache::age::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::cache_control::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::age::test::smoke ... ok [INFO] [stdout] test cache::cache_control::test::ignore_unkonwn_directives ... ok [INFO] [stdout] test cache::clear_site_data::test::parse_quotes_correctly ... ok [INFO] [stdout] test cache::cache_control::test::smoke ... ok [INFO] [stdout] test cache::expires::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::clear_site_data::test::smoke ... ok [INFO] [stdout] test cache::expires::test::smoke ... ok [INFO] [stdout] test conditional::etag::test::bad_request_on_parse_error ... ok [INFO] [stdout] test cache::clear_site_data::test::wildcard ... ok [INFO] [stdout] test conditional::etag::test::smoke_weak ... ok [INFO] [stdout] test conditional::etag::test::validate_characters ... ok [INFO] [stdout] test conditional::etag::test::smoke ... ok [INFO] [stdout] test conditional::etag::test::validate_quotes ... ok [INFO] [stdout] test conditional::if_match::test::smoke ... ok [INFO] [stdout] test conditional::if_match::test::wildcard ... ok [INFO] [stdout] test conditional::if_modified_since::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::if_none_match::test::smoke ... ok [INFO] [stdout] test conditional::if_none_match::test::wildcard ... ok [INFO] [stdout] test conditional::if_modified_since::test::smoke ... ok [INFO] [stdout] test conditional::if_unmodified_since::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::last_modified::test::smoke ... ok [INFO] [stdout] test conditional::last_modified::test::bad_request_on_parse_error ... ok [INFO] [stdout] test conditional::if_unmodified_since::test::smoke ... ok [INFO] [stdout] test conditional::vary::test::smoke ... ok [INFO] [stdout] test conditional::vary::test::wildcard ... ok [INFO] [stdout] test content::accept::test::iter ... ok [INFO] [stdout] test content::accept::test::negotiate ... ok [INFO] [stdout] test content::accept::test::negotiate_wildcard ... ok [INFO] [stdout] test content::accept::test::negotiate_not_acceptable ... ok [INFO] [stdout] test content::accept::test::wildcard ... ok [INFO] [stdout] test content::accept::test::smoke ... ok [INFO] [stdout] test content::accept::test::reorder_based_on_weight ... ok [INFO] [stdout] test content::accept::test::reorder_based_on_weight_and_location ... ok [INFO] [stdout] test content::accept::test::wildcard_and_header ... ok [INFO] [stdout] test content::accept_encoding::test::iter ... ok [INFO] [stdout] test content::accept_encoding::test::negotiate ... ok [INFO] [stdout] test content::accept_encoding::test::negotiate_not_acceptable ... ok [INFO] [stdout] test content::accept_encoding::test::reorder_based_on_weight ... ok [INFO] [stdout] test content::accept_encoding::test::negotiate_wildcard ... ok [INFO] [stdout] test content::accept_encoding::test::smoke ... ok [INFO] [stdout] test content::accept_encoding::test::wildcard_and_header ... ok [INFO] [stdout] test content::accept_encoding::test::reorder_based_on_weight_and_location ... ok [INFO] [stdout] test content::accept_encoding::test::wildcard ... ok [INFO] [stdout] test content::content_length::test::smoke ... ok [INFO] [stdout] test content::content_length::test::bad_request_on_parse_error ... ok [INFO] [stdout] test content::content_location::test::bad_request_on_parse_error ... ok [INFO] [stdout] test content::content_location::test::smoke ... ok [INFO] [stdout] test content::content_type::test::bad_request_on_parse_error ... ok [INFO] [stdout] test content::content_type::test::smoke ... ok [INFO] [stdout] test content::encoding_proposal::test::smoke ... ok [INFO] [stdout] test content::media_type_proposal::test::error_code_500 ... ok [INFO] [stdout] test content::encoding_proposal::test::error_code_500 ... ok [INFO] [stdout] test content::media_type_proposal::test::smoke ... ok [INFO] [stdout] test extensions::tests::test_extensions ... ok [INFO] [stdout] test headers::header::test::header_from_strings ... ok [INFO] [stdout] test headers::header_name::tests::equality ... ok [INFO] [stdout] test headers::header_name::tests::pass_name_by_ref ... ok [INFO] [stdout] test headers::header_name::tests::test_debug ... ok [INFO] [stdout] test headers::header_name::tests::test_header_name_static_non_static ... ok [INFO] [stdout] test headers::header_value::tests::test_debug ... ok [INFO] [stdout] test headers::header_values::tests::test_debug_single ... ok [INFO] [stdout] test headers::header_values::tests::test_debug_multiple ... ok [INFO] [stdout] test headers::headers::tests::test_debug_multiple ... ok [INFO] [stdout] test headers::headers::tests::index_into_headers ... ok [INFO] [stdout] test headers::headers::tests::test_debug_single ... ok [INFO] [stdout] test method::test::serde ... ok [INFO] [stdout] test headers::headers::tests::test_header_name_static_non_static ... ok [INFO] [stdout] test method::test::names ... ok [INFO] [stdout] test method::test::serde_fail ... ok [INFO] [stdout] test mime::parse::test ... ok [INFO] [stdout] test other::date::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::date::test::smoke ... ok [INFO] [stdout] test other::expect::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::expect::test::smoke ... ok [INFO] [stdout] test mime::parse::whatwag_tests ... ok [INFO] [stdout] test other::referer::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::referer::test::fallback_works ... ok [INFO] [stdout] test other::referer::test::smoke ... ok [INFO] [stdout] test other::retry_after::test::smoke ... ok [INFO] [stdout] test other::retry_after::test::new_at ... ok [INFO] [stdout] test other::source_map::test::bad_request_on_parse_error ... ok [INFO] [stdout] test other::source_map::test::fallback_works ... ok [INFO] [stdout] test parse_utils::test::qstring_unsuccessful_parses ... ok [INFO] [stdout] test parse_utils::test::qstring_successful_parses ... ok [INFO] [stdout] test parse_utils::test::token_successful_parses ... ok [INFO] [stdout] test parse_utils::test::token_unsuccessful_parses ... ok [INFO] [stdout] test proxies::forwarded::tests::bad_parse ... ok [INFO] [stdout] test other::source_map::test::smoke ... ok [INFO] [stdout] test proxies::forwarded::tests::basic_parse ... ok [INFO] [stdout] test proxies::forwarded::tests::bad_parse_from_headers ... ok [INFO] [stdout] test proxies::forwarded::tests::formatting_edge_cases ... ok [INFO] [stdout] test proxies::forwarded::tests::from_x_headers ... ok [INFO] [stdout] test proxies::forwarded::tests::owned_can_outlive_request ... ok [INFO] [stdout] test proxies::forwarded::tests::from_request ... ok [INFO] [stdout] test proxies::forwarded::tests::owned_parse ... ok [INFO] [stdout] test proxies::forwarded::tests::parsing_for ... ok [INFO] [stdout] test request::tests::host::when_forwarded_header_is_set ... ok [INFO] [stdout] test request::tests::host::when_host_header_is_set ... ok [INFO] [stdout] test proxies::forwarded::tests::parse_edge_cases ... ok [INFO] [stdout] test request::tests::host::when_several_x_forwarded_hosts_exist ... ok [INFO] [stdout] test request::tests::host::when_only_one_x_forwarded_hosts_exist ... ok [INFO] [stdout] test request::tests::host::when_there_are_no_headers ... ok [INFO] [stdout] test request::tests::host::when_url_has_no_domain ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_delete ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_get ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_connect ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_head ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_post ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_patch ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_put ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_trace ... ok [INFO] [stdout] test response::test::construct_shorthand_with_valid_status_code ... ok [INFO] [stdout] test security::timing_allow_origin::test::bad_request_on_parse_error ... ok [INFO] [stdout] test server::allow::test::smoke ... ok [INFO] [stdout] test security::timing_allow_origin::test::wildcard ... ok [INFO] [stdout] test request::tests::remote::falling_back_to_peer_addr ... ok [INFO] [stdout] test request::tests::remote::when_forwarded_is_properly_formatted ... ok [INFO] [stdout] test security::timing_allow_origin::test::multi ... ok [INFO] [stdout] test trace::server_timing::parse::test::decode_headers ... ok [INFO] [stdout] test trace::server_timing::parse::test::decode_header ... ok [INFO] [stdout] test request::tests::host::when_using_shorthand_with_valid_url_to_create_request_options ... ok [INFO] [stdout] test request::tests::remote::when_both_forwarding_headers_are_set ... ok [INFO] [stdout] test request::tests::remote::when_forwarded_is_improperly_formatted ... ok [INFO] [stdout] test trace::server_timing::metric::test::encode ... ok [INFO] [stdout] test status::test::construct_shorthand_with_valid_status_code ... ok [INFO] [stdout] test trace::server_timing::test::bad_request_on_parse_error ... ok [INFO] [stdout] test request::tests::remote::when_x_forwarded_for_is_set ... ok [INFO] [stdout] test trace::server_timing::test::smoke ... ok [INFO] [stdout] test trace::server_timing::test::to_header_values ... ok [INFO] [stdout] test request::tests::remote::when_no_remote_available ... ok [INFO] [stdout] test status_code::test::serde_as_u16 ... ok [INFO] [stdout] test transfer::encoding_proposal::test::error_code_500 ... ok [INFO] [stdout] test transfer::encoding_proposal::test::smoke ... ok [INFO] [stdout] test security::timing_allow_origin::test::smoke ... ok [INFO] [stdout] test transfer::te::test::smoke ... ok [INFO] [stdout] test transfer::te::test::reorder_based_on_weight_and_location ... ok [INFO] [stdout] test transfer::te::test::iter ... ok [INFO] [stdout] test transfer::te::test::wildcard_and_header ... ok [INFO] [stdout] test trace::trace_context::test::not_sampled ... ok [INFO] [stdout] test transfer::te::test::reorder_based_on_weight ... ok [INFO] [stdout] test transfer::te::test::wildcard ... ok [INFO] [stdout] test transfer::te::test::negotiate_wildcard ... ok [INFO] [stdout] test utils::date::tests::test_fmt ... ok [INFO] [stdout] test transfer::te::test::negotiate_not_acceptable ... ok [INFO] [stdout] test version::test::ord ... ok [INFO] [stdout] test utils::date::tests::size_of ... ok [INFO] [stdout] test version::test::serde ... ok [INFO] [stdout] test utils::date::tests::test2 ... ok [INFO] [stdout] test transfer::te::test::negotiate ... ok [INFO] [stdout] test utils::date::tests::test3 ... ok [INFO] [stdout] test utils::date::tests::test_rfc_example ... ok [INFO] [stdout] test version::test::to_string ... ok [INFO] [stdout] test trace::trace_context::test::no_header ... ok [INFO] [stdout] test trace::trace_context::test::default ... ok [INFO] [stdout] test trace::trace_context::test::sampled ... ok [INFO] [stdout] test body::test::form_status ... ok [INFO] [stdout] test body::test::json_status ... ok [INFO] [stdout] test body::test::chain_mixed_len_nolen ... ok [INFO] [stdout] test body::test::attempting_to_read_past_length ... ok [INFO] [stdout] test body::test::reading_in_various_buffer_lengths_when_there_is_no_length ... ok [INFO] [stdout] test body::test::attempting_to_read_when_length_is_greater_than_content ... ok [INFO] [stdout] test body::test::chain_mixed_bytes_string ... ok [INFO] [stdout] test body::test::chain_strings ... ok [INFO] [stdout] test body::test::chain_short ... ok [INFO] [stdout] test body::test::chain_mixed_nolen_len ... ok [INFO] [stdout] test body::test::attempting_to_read_when_length_is_exactly_right ... ok [INFO] [stdout] test body::test::chain_mixed_reader_string ... ok [INFO] [stdout] test body::test::chain_skip_start ... ok [INFO] [stdout] test body::test::chain_many ... ok [INFO] [stdout] test status::test::construct_shorthand_with_invalid_status_code - should panic ... ok [INFO] [stdout] test response::test::construct_shorthand_with_invalid_status_code - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 179 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/headers.rs (/opt/rustwide/target/debug/deps/headers-206f75fa776f2ec5) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mime.rs (/opt/rustwide/target/debug/deps/mime-00bdd76d0cecfc14) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/security.rs (/opt/rustwide/target/debug/deps/security-daddfd84d21ff2e5) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test security_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests trillium-http-types [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/body.rs:568:13 [INFO] [stderr] | [INFO] [stderr] 568 | #[allow(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/body.rs:592:13 [INFO] [stderr] | [INFO] [stderr] 592 | #[allow(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/request.rs:888:13 [INFO] [stderr] | [INFO] [stderr] 888 | #[allow(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/request.rs:899:13 [INFO] [stderr] | [INFO] [stderr] 899 | #[allow(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/response.rs:602:13 [INFO] [stderr] | [INFO] [stderr] 602 | #[allow(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] [INFO] [stderr] warning: lint `missing_doc_code_examples` has been renamed to `rustdoc::missing_doc_code_examples` [INFO] [stderr] --> /opt/rustwide/workdir/src/response.rs:613:13 [INFO] [stderr] | [INFO] [stderr] 613 | #[allow(missing_doc_code_examples)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `rustdoc::missing_doc_code_examples` [INFO] [stderr] [INFO] [stderr] warning: 6 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 112 tests [INFO] [stdout] test src/body.rs - body::Body::chain (line 497) ... FAILED [INFO] [stdout] test src/body.rs - body::Body (line 26) ... FAILED [INFO] [stdout] test src/auth/www_authenticate.rs - auth::www_authenticate::WwwAuthenticate (line 19) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_string (line 195) ... FAILED [INFO] [stdout] test src/auth/basic_auth.rs - auth::basic_auth::BasicAuth (line 17) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_file_with_path (line 422) - compile ... FAILED [INFO] [stdout] test src/auth/mod.rs - auth (line 5) ... FAILED [INFO] [stdout] test src/auth/authorization.rs - auth::authorization::Authorization (line 13) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_path (line 370) - compile ... FAILED [INFO] [stdout] test src/conditional/etag.rs - conditional::etag::ETag (line 17) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::into_form (line 340) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::into_bytes (line 167) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::into_reader (line 123) ... FAILED [INFO] [stdout] test src/cache/cache_control/cache_control.rs - cache::cache_control::cache_control::CacheControl (line 15) ... FAILED [INFO] [stdout] test src/request.rs - request::Request (line 23) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::set_body (line 152) ... FAILED [INFO] [stdout] test src/cache/expires.rs - cache::expires::Expires (line 15) ... FAILED [INFO] [stdout] test src/content/content_location.rs - content::content_location::ContentLocation (line 16) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::post (line 728) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::trace (line 832) ... FAILED [INFO] [stdout] test src/other/retry_after.rs - other::retry_after::RetryAfter (line 16) - compile ... FAILED [INFO] [stdout] test src/body.rs - body::Body::len (line 458) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::ext_mut (line 599) ... FAILED [INFO] [stdout] test src/conditional/last_modified.rs - conditional::last_modified::LastModified (line 16) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_file (line 395) - compile ... FAILED [INFO] [stdout] test src/response.rs - response::Response::take_body (line 225) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::body_form (line 383) ... FAILED [INFO] [stdout] test src/trailers.rs - trailers::Trailers::insert (line 80) ... FAILED [INFO] [stdout] test src/conditional/if_none_match.rs - conditional::if_none_match::IfNoneMatch (line 25) ... FAILED [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext (line 15) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::empty (line 73) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::into_json (line 266) ... FAILED [INFO] [stdout] test src/conditional/if_unmodified_since.rs - conditional::if_unmodified_since::IfUnmodifiedSince (line 17) ... FAILED [INFO] [stdout] test src/cache/age.rs - cache::age::Age (line 16) ... FAILED [INFO] [stdout] test src/other/source_map.rs - other::source_map::SourceMap (line 16) ... FAILED [INFO] [stdout] test src/conditional/if_modified_since.rs - conditional::if_modified_since::IfModifiedSince (line 17) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_forwarded_header (line 90) ... FAILED [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::sampled (line 169) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::into_string (line 217) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_bytes (line 145) ... FAILED [INFO] [stdout] test src/conditional/if_match.rs - conditional::if_match::IfMatch (line 19) ... FAILED [INFO] [stdout] test src/security/timing_allow_origin.rs - security::timing_allow_origin (line 10) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::take_body (line 260) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_json (line 244) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::replace_body (line 208) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::replace_body (line 170) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_headers (line 61) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_reader (line 97) ... FAILED [INFO] [stdout] test src/body.rs - body::Body::from_form (line 301) ... FAILED [INFO] [stdout] test src/cache/clear_site_data/mod.rs - cache::clear_site_data::ClearSiteData (line 28) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::body_bytes (line 285) ... FAILED [INFO] [stdout] test src/conditional/vary.rs - conditional::vary::Vary (line 19) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_headers (line 45) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_x_headers (line 126) ... FAILED [INFO] [stdout] test src/other/expect.rs - other::expect::Expect (line 16) ... FAILED [INFO] [stdout] test src/trailers.rs - trailers::Trailers::append (line 105) ... FAILED [INFO] [stdout] test src/mime/mod.rs - mime::Mime (line 21) ... FAILED [INFO] [stdout] test src/content/mod.rs - content (line 14) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::body_json (line 347) ... FAILED [INFO] [stdout] test src/security/csp.rs - security::csp::ContentSecurityPolicy (line 111) ... FAILED [INFO] [stdout] test src/trailers.rs - trailers (line 21) ... FAILED [INFO] [stdout] test src/content/accept_encoding.rs - content::accept_encoding::AcceptEncoding (line 23) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::parse (line 192) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::body_json (line 311) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::insert_header (line 108) ... FAILED [INFO] [stdout] test src/other/referer.rs - other::referer::Referer (line 19) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::url (line 158) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::set_version (line 461) ... FAILED [INFO] [stdout] test src/headers/headers.rs - headers::headers::Headers (line 23) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::get (line 685) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::version (line 510) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::url_mut (line 175) ... FAILED [INFO] [stdout] test src/content/content_length.rs - content::content_length::ContentLength (line 12) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::insert_header (line 429) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::body_string (line 258) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::set_body (line 193) ... FAILED [INFO] [stdout] test src/server/allow.rs - server::allow::Allow (line 20) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::head (line 707) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::ext_mut (line 563) ... FAILED [INFO] [stdout] test src/trace/server_timing/mod.rs - trace::server_timing (line 5) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::patch (line 852) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::options (line 811) ... FAILED [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::from_headers (line 83) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::version (line 415) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::body_form (line 348) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::query (line 618) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::swap_body (line 198) ... FAILED [INFO] [stdout] test src/response.rs - response::Response (line 25) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::connect (line 790) ... FAILED [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::set_sampled (line 190) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::swap_body (line 234) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::body_string (line 293) ... FAILED [INFO] [stdout] test src/content/content_type.rs - content::content_type::ContentType (line 17) ... FAILED [INFO] [stdout] test src/trace/trace_context.rs - trace::trace_context::TraceContext::new (line 54) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::append_header (line 455) ... FAILED [INFO] [stdout] test src/response.rs - response::Response::append_header (line 134) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::set_query (line 653) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::put (line 749) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::set_version (line 531) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_forwarded_header (line 103) ... FAILED [INFO] [stdout] test src/transfer/transfer_encoding.rs - transfer::transfer_encoding::TransferEncoding (line 17) ... FAILED [INFO] [stdout] test src/transfer/te.rs - transfer::te::TE (line 21) ... FAILED [INFO] [stdout] test src/content/content_encoding.rs - content::content_encoding::ContentEncoding (line 20) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::delete (line 769) ... FAILED [INFO] [stdout] test src/lib.rs - (line 8) ... FAILED [INFO] [stdout] test src/security/timing_allow_origin.rs - security::timing_allow_origin::TimingAllowOrigin (line 42) ... FAILED [INFO] [stdout] test src/trace/server_timing/mod.rs - trace::server_timing::ServerTiming (line 45) ... FAILED [INFO] [stdout] test src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_x_headers (line 135) ... FAILED [INFO] [stdout] test src/request.rs - request::Request::body_bytes (line 321) ... FAILED [INFO] [stdout] test src/content/accept.rs - content::accept::Accept (line 32) ... FAILED [INFO] [stdout] test src/security/mod.rs - security (line 9) ... FAILED [INFO] [stdout] test src/other/date.rs - other::date::Date (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/body.rs - body::Body::chain (line 497) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:499:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body (line 26) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth/www_authenticate.rs - auth::www_authenticate::WwwAuthenticate (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/www_authenticate.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::auth::{AuthenticationScheme, WwwAuthenticate}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/auth/www_authenticate.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/www_authenticate.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthenticationScheme` [INFO] [stdout] --> src/auth/www_authenticate.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 7 | let scheme = AuthenticationScheme::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticationScheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthenticationScheme` [INFO] [stdout] --> src/auth/www_authenticate.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(authz.scheme(), AuthenticationScheme::Basic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticationScheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WwwAuthenticate` [INFO] [stdout] --> src/auth/www_authenticate.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 9 | let authz = WwwAuthenticate::new(scheme, realm.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::WwwAuthenticate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WwwAuthenticate` [INFO] [stdout] --> src/auth/www_authenticate.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 14 | let authz = WwwAuthenticate::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::WwwAuthenticate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_string (line 195) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth/basic_auth.rs - auth::basic_auth::BasicAuth (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/basic_auth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::auth::{AuthenticationScheme, BasicAuth}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/auth/basic_auth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/basic_auth.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAuth` [INFO] [stdout] --> src/auth/basic_auth.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 9 | let authz = BasicAuth::new(username, password); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::BasicAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAuth` [INFO] [stdout] --> src/auth/basic_auth.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 14 | let authz = BasicAuth::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::BasicAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_file_with_path (line 422) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:424:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:423:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth/mod.rs - auth (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::auth::{AuthenticationScheme, BasicAuth}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/auth/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAuth` [INFO] [stdout] --> src/auth/mod.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 9 | let authz = BasicAuth::new(username, password); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::BasicAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BasicAuth` [INFO] [stdout] --> src/auth/mod.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 14 | let authz = BasicAuth::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::BasicAuth; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth/authorization.rs - auth::authorization::Authorization (line 13) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/authorization.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::auth::{AuthenticationScheme, Authorization}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/auth/authorization.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/auth/authorization.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthenticationScheme` [INFO] [stdout] --> src/auth/authorization.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 7 | let scheme = AuthenticationScheme::Basic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticationScheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AuthenticationScheme` [INFO] [stdout] --> src/auth/authorization.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(authz.scheme(), AuthenticationScheme::Basic); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticationScheme` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Authorization` [INFO] [stdout] --> src/auth/authorization.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 9 | let authz = Authorization::new(scheme, credentials.into()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::Authorization; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Authorization` [INFO] [stdout] --> src/auth/authorization.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 14 | let authz = Authorization::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::auth::Authorization; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_path (line 370) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:372:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/conditional/etag.rs - conditional::etag::ETag (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/etag.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::ETag; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/etag.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/etag.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/etag.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 7 | let etag = ETag::new("0xcafebeef".to_string()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/etag.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 12 | let etag = ETag::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/etag.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(etag, ETag::Strong(String::from("0xcafebeef"))); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::into_form (line 340) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::convert::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/body.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/body.rs:345:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/body.rs:346:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:341:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::into_bytes (line 167) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::into_reader (line 123) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cache/cache_control/cache_control.rs - cache::cache_control::cache_control::CacheControl (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::cache::{CacheControl, CacheDirective}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheDirective` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 7 | entries.push(CacheDirective::Immutable); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CacheDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheDirective` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 8 | entries.push(CacheDirective::NoStore); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CacheDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheDirective` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(entries.next().unwrap(), &CacheDirective::Immutable); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CacheDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheDirective` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(entries.next().unwrap(), &CacheDirective::NoStore); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `CacheDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheControl` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 6 | let mut entries = CacheControl::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::CacheControl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CacheControl` [INFO] [stdout] --> src/cache/cache_control/cache_control.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 13 | let entries = CacheControl::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::CacheControl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Request; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::set_body (line 152) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cache/expires.rs - cache::expires::Expires (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/expires.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::cache::Expires; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/cache/expires.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/expires.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expires` [INFO] [stdout] --> src/cache/expires.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 9 | let expires = Expires::new_at(time); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::Expires; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expires` [INFO] [stdout] --> src/cache/expires.rs:28:15 [INFO] [stdout] | [INFO] [stdout] 14 | let expires = Expires::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::Expires; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/content/content_location.rs - content::content_location::ContentLocation (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_location.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::content::ContentLocation; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/content_location.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_location.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentLocation` [INFO] [stdout] --> src/content/content_location.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 7 | let content_location = ContentLocation::new(Url::parse("https://example.net/")?); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentLocation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentLocation` [INFO] [stdout] --> src/content/content_location.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 13 | let content_location = ContentLocation::from_headers(url, res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentLocation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::post (line 728) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:729:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::trace (line 832) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:833:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/other/retry_after.rs - other::retry_after::RetryAfter (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/retry_after.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::other::RetryAfter; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/other/retry_after.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/retry_after.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RetryAfter` [INFO] [stdout] --> src/other/retry_after.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 9 | let retry = RetryAfter::new(Duration::from_secs(10)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::RetryAfter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RetryAfter` [INFO] [stdout] --> src/other/retry_after.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 15 | let retry = RetryAfter::from_headers(headers)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::RetryAfter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::len (line 458) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:459:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::ext_mut (line 599) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:602:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Request, Version}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:600:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/conditional/last_modified.rs - conditional::last_modified::LastModified (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/last_modified.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::LastModified; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/last_modified.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/last_modified.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LastModified` [INFO] [stdout] --> src/conditional/last_modified.rs:24:21 [INFO] [stdout] | [INFO] [stdout] 9 | let last_modified = LastModified::new(time); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::LastModified; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LastModified` [INFO] [stdout] --> src/conditional/last_modified.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 14 | let last_modified = LastModified::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::LastModified; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_file (line 395) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:397:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:396:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::take_body (line 225) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:227:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::body_form (line 383) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::convert::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:386:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Body, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/request.rs:388:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/request.rs:388:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/request.rs:389:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:384:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trailers.rs - trailers::Trailers::insert (line 80) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trailers.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::trailers::Trailers; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trailers` [INFO] [stdout] --> src/trailers.rs:85:20 [INFO] [stdout] | [INFO] [stdout] 6 | let mut trailers = Trailers::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trailers::Trailers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/conditional/if_none_match.rs - conditional::if_none_match::IfNoneMatch (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_none_match.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::{IfNoneMatch, ETag}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/if_none_match.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_none_match.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfNoneMatch` [INFO] [stdout] --> src/conditional/if_none_match.rs:31:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut entries = IfNoneMatch::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfNoneMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_none_match.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 8 | entries.push(ETag::new("0xcafebeef".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_none_match.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 9 | entries.push(ETag::new("0xbeefcafe".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfNoneMatch` [INFO] [stdout] --> src/conditional/if_none_match.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 14 | let entries = IfNoneMatch::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfNoneMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_none_match.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(entries.next().unwrap(), &ETag::new("0xcafebeef".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_none_match.rs:41:38 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(entries.next().unwrap(), &ETag::new("0xbeefcafe".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/trace_context.rs - trace::trace_context::TraceContext (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::trace::TraceContext; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res = http_types::Response::new(200); [INFO] [stdout] | ^^^^^^^^ not found in `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraceContext` [INFO] [stdout] --> src/trace/trace_context.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 13 | let context = TraceContext::from_headers(&res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::TraceContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/body.rs - body::Body::empty (line 73) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::into_json (line 266) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::convert::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/body.rs:271:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/body.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/body.rs:272:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:267:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/conditional/if_unmodified_since.rs - conditional::if_unmodified_since::IfUnmodifiedSince (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_unmodified_since.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::IfUnmodifiedSince; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/if_unmodified_since.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_unmodified_since.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfUnmodifiedSince` [INFO] [stdout] --> src/conditional/if_unmodified_since.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 9 | let expires = IfUnmodifiedSince::new(time); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfUnmodifiedSince; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfUnmodifiedSince` [INFO] [stdout] --> src/conditional/if_unmodified_since.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 14 | let expires = IfUnmodifiedSince::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfUnmodifiedSince; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cache/age.rs - cache::age::Age (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/age.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::cache::Age; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/cache/age.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/age.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Age` [INFO] [stdout] --> src/cache/age.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 7 | let age = Age::from_secs(12); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::Age; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Age` [INFO] [stdout] --> src/cache/age.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 12 | let age = Age::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::Age; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Age` [INFO] [stdout] --> src/cache/age.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(age, Age::from_secs(12)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::Age; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/other/source_map.rs - other::source_map::SourceMap (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/source_map.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::other::SourceMap; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/other/source_map.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/source_map.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceMap` [INFO] [stdout] --> src/other/source_map.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 7 | let source_map = SourceMap::new(Url::parse("https://example.net/")?); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::SourceMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SourceMap` [INFO] [stdout] --> src/other/source_map.rs:28:18 [INFO] [stdout] | [INFO] [stdout] 13 | let source_map = SourceMap::from_headers(base_url, res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::SourceMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/conditional/if_modified_since.rs - conditional::if_modified_since::IfModifiedSince (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_modified_since.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::IfModifiedSince; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/if_modified_since.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_modified_since.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfModifiedSince` [INFO] [stdout] --> src/conditional/if_modified_since.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 9 | let expires = IfModifiedSince::new(time); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfModifiedSince; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfModifiedSince` [INFO] [stdout] --> src/conditional/if_modified_since.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 14 | let expires = IfModifiedSince::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfModifiedSince; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_forwarded_header (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Get` in this scope [INFO] [stdout] --> src/proxies/forwarded.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut request = Request::new(Get, Url::parse("http://_/")?); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::Method::Get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 9 | let forwarded = Forwarded::from_forwarded_header(&request)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/trace_context.rs - trace::trace_context::TraceContext::sampled (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::trace::TraceContext; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraceContext` [INFO] [stdout] --> src/trace/trace_context.rs:177:15 [INFO] [stdout] | [INFO] [stdout] 9 | let context = TraceContext::from_headers(&res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::TraceContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::into_string (line 217) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:218:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_bytes (line 145) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/conditional/if_match.rs - conditional::if_match::IfMatch (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_match.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::{IfMatch, ETag}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/if_match.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/if_match.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfMatch` [INFO] [stdout] --> src/conditional/if_match.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut entries = IfMatch::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_match.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 8 | entries.push(ETag::new("0xcafebeef".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_match.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 9 | entries.push(ETag::new("0xbeefcafe".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IfMatch` [INFO] [stdout] --> src/conditional/if_match.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 14 | let entries = IfMatch::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::IfMatch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_match.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(entries.next().unwrap(), &ETag::new("0xcafebeef".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ETag` [INFO] [stdout] --> src/conditional/if_match.rs:35:38 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(entries.next().unwrap(), &ETag::new("0xbeefcafe".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::ETag; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/security/timing_allow_origin.rs - security::timing_allow_origin (line 10) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, Url, headers::Header}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::security::TimingAllowOrigin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, Url, headers::Header}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimingAllowOrigin` [INFO] [stdout] --> src/security/timing_allow_origin.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut origins = TimingAllowOrigin::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::security::TimingAllowOrigin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimingAllowOrigin` [INFO] [stdout] --> src/security/timing_allow_origin.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 13 | let origins = TimingAllowOrigin::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::security::TimingAllowOrigin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::take_body (line 260) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:264:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_json (line 244) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, convert::json}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, convert::json}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `json` in this scope [INFO] [stdout] --> src/body.rs:247:29 [INFO] [stdout] | [INFO] [stdout] 5 | let body = Body::from_json(&json!({ "name": "Chashu" })); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] serde_json::json [INFO] [stdout] trillium_http_types::convert::json [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::replace_body (line 208) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:210:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::replace_body (line 170) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_headers (line 61) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{headers::Header, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::proxies::Forwarded; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{headers::Header, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 9 | let forwarded = Forwarded::from_headers(&request)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_reader (line 97) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/body.rs - body::Body::from_form (line 301) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::convert::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/body.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::Body; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/body.rs:306:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/body.rs:306:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/body.rs:307:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/body.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/cache/clear_site_data/mod.rs - cache::clear_site_data::ClearSiteData (line 28) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::cache::{ClearSiteData, ClearDirective}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearDirective` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 8 | entries.push(ClearDirective::Cache); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ClearDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearDirective` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 9 | entries.push(ClearDirective::Cookies); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ClearDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearDirective` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:43:38 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(entries.next().unwrap(), &ClearDirective::Cache); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ClearDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearDirective` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(entries.next().unwrap(), &ClearDirective::Cookies); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `ClearDirective` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearSiteData` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut entries = ClearSiteData::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::ClearSiteData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearSiteData` [INFO] [stdout] --> src/cache/clear_site_data/mod.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 14 | let entries = ClearSiteData::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::cache::ClearSiteData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::body_bytes (line 285) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/conditional/vary.rs - conditional::vary::Vary (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/vary.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::conditional::Vary; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/conditional/vary.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/conditional/vary.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vary` [INFO] [stdout] --> src/conditional/vary.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut entries = Vary::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::Vary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Vary` [INFO] [stdout] --> src/conditional/vary.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 14 | let entries = Vary::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::conditional::Vary; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_headers (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::proxies::Forwarded; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 11 | let forwarded = Forwarded::from_headers(&request)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_x_headers (line 126) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Get` in this scope [INFO] [stdout] --> src/proxies/forwarded.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut request = Request::new(Get, Url::parse("http://_/")?); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::Method::Get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 6 | let forwarded = Forwarded::from_headers(&request)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/other/expect.rs - other::expect::Expect (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/expect.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::other::Expect; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/other/expect.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/expect.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expect` [INFO] [stdout] --> src/other/expect.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 7 | let expect = Expect::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Expect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expect` [INFO] [stdout] --> src/other/expect.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 12 | let expect = Expect::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Expect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Expect` [INFO] [stdout] --> src/other/expect.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(expect, Expect::new()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Expect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trailers.rs - trailers::Trailers::append (line 105) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trailers.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::trailers::Trailers; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trailers` [INFO] [stdout] --> src/trailers.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 6 | let mut trailers = Trailers::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trailers::Trailers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/mime/mod.rs - mime::Mime (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/mime/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::mime::Mime; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mime` [INFO] [stdout] --> src/mime/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 6 | let mime = Mime::from_str("text/html;charset=utf-8").unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::mime::Mime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/content/mod.rs - content (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::content::{Accept, MediaTypeProposal}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{mime, Response}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/mod.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/content/mod.rs:20:18 [INFO] [stdout] | [INFO] [stdout] 7 | let mut accept = Accept::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaTypeProposal` [INFO] [stdout] --> src/content/mod.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 8 | accept.push(MediaTypeProposal::new(mime::HTML, Some(0.8))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::MediaTypeProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaTypeProposal` [INFO] [stdout] --> src/content/mod.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 9 | accept.push(MediaTypeProposal::new(mime::XML, Some(0.4))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::MediaTypeProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::body_json (line 347) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::convert::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Body, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/request.rs:352:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/request.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/request.rs:353:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/security/csp.rs - security::csp::ContentSecurityPolicy (line 111) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/security/csp.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{headers, security, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trailers.rs - trailers (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trailers.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http_types::trailers::Trailers; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trailers.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 7 | use http_types::headers::{HeaderName, HeaderValue}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/trailers.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Url, Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trailers` [INFO] [stdout] --> src/trailers.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut trailers = Trailers::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trailers::Trailers; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/content/accept_encoding.rs - content::accept_encoding::AcceptEncoding (line 23) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/accept_encoding.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::content::{AcceptEncoding, ContentEncoding, Encoding, EncodingProposal}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/accept_encoding.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/accept_encoding.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/accept_encoding.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 8 | accept.push(EncodingProposal::new(Encoding::Brotli, Some(0.8))?); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/accept_encoding.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 9 | accept.push(EncodingProposal::new(Encoding::Gzip, Some(0.4))?); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/accept_encoding.rs:32:35 [INFO] [stdout] | [INFO] [stdout] 10 | accept.push(EncodingProposal::new(Encoding::Identity, None)?); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/accept_encoding.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 13 | let encoding = accept.negotiate(&[Encoding::Brotli, Encoding::Gzip])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/accept_encoding.rs:35:53 [INFO] [stdout] | [INFO] [stdout] 13 | let encoding = accept.negotiate(&[Encoding::Brotli, Encoding::Gzip])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AcceptEncoding` [INFO] [stdout] --> src/content/accept_encoding.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 7 | let mut accept = AcceptEncoding::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::AcceptEncoding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingProposal` [INFO] [stdout] --> src/content/accept_encoding.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 8 | accept.push(EncodingProposal::new(Encoding::Brotli, Some(0.8))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingProposal` [INFO] [stdout] --> src/content/accept_encoding.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 9 | accept.push(EncodingProposal::new(Encoding::Gzip, Some(0.4))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingProposal` [INFO] [stdout] --> src/content/accept_encoding.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 10 | accept.push(EncodingProposal::new(Encoding::Identity, None)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::parse (line 192) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::headers::Header; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::proxies::Forwarded; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:193:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 6 | let forwarded = Forwarded::parse( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/response.rs - response::Response::body_json (line 311) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::convert::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/response.rs:316:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/response.rs:316:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/response.rs:317:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:312:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::insert_header (line 108) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/other/referer.rs - other::referer::Referer (line 19) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/referer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::other::Referer; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/other/referer.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/referer.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referer` [INFO] [stdout] --> src/other/referer.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 7 | let referer = Referer::new(Url::parse("https://example.net/")?); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Referer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Referer` [INFO] [stdout] --> src/other/referer.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 13 | let referer = Referer::from_headers(base_url, res)?.unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Referer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::url (line 158) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:159:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::set_version (line 461) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:464:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, StatusCode, Version}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:462:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/headers/headers.rs - headers::headers::Headers (line 23) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/headers/headers.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::get (line 685) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::version (line 510) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:511:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{Request, Version}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:513:25 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::url_mut (line 175) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Method, Request, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:176:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/content/content_length.rs - content::content_length::ContentLength (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_length.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::content::{ContentLength}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/content_length.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_length.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentLength` [INFO] [stdout] --> src/content/content_length.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 7 | let content_len = ContentLength::new(12); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentLength; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentLength` [INFO] [stdout] --> src/content/content_length.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 12 | let content_len = ContentLength::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentLength; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::insert_header (line 429) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Request; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::body_string (line 258) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:262:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::set_body (line 193) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/server/allow.rs - server::allow::Allow (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/server/allow.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::server::Allow; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/server/allow.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Method, Response}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/server/allow.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Allow` [INFO] [stdout] --> src/server/allow.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 7 | let mut allow = Allow::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::server::Allow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Allow` [INFO] [stdout] --> src/server/allow.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 14 | let allow = Allow::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::server::Allow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::head (line 707) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:708:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::ext_mut (line 563) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:566:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, StatusCode, Version}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:564:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/server_timing/mod.rs - trace::server_timing (line 5) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/server_timing/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::trace::{ServerTiming, Metric}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/trace/server_timing/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/server_timing/mod.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerTiming` [INFO] [stdout] --> src/trace/server_timing/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut timings = ServerTiming::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::ServerTiming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Metric` [INFO] [stdout] --> src/trace/server_timing/mod.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 8 | timings.push(Metric::new("server".to_owned(), None, None)?); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::Metric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerTiming` [INFO] [stdout] --> src/trace/server_timing/mod.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 13 | let timings = ServerTiming::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::ServerTiming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::patch (line 852) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:853:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::options (line 811) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:812:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/trace_context.rs - trace::trace_context::TraceContext::from_headers (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::trace::TraceContext; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:88:27 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res = http_types::Response::new(200); [INFO] [stdout] | ^^^^^^^^ not found in `http_types` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraceContext` [INFO] [stdout] --> src/trace/trace_context.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 12 | let context = TraceContext::from_headers(&res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::TraceContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/response.rs - response::Response::version (line 415) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, StatusCode, Version}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::body_form (line 348) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::convert::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/response.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/response.rs:353:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/response.rs:354:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:349:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::query (line 618) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:619:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::convert::Deserialize; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:620:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Request; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Deserialize` in this scope [INFO] [stdout] --> src/request.rs:623:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/request.rs:624:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::swap_body (line 198) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Method, Response, StatusCode, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:200:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response (line 25) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/response.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::connect (line 790) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:791:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/trace_context.rs - trace::trace_context::TraceContext::set_sampled (line 190) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::trace::TraceContext; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraceContext` [INFO] [stdout] --> src/trace/trace_context.rs:193:19 [INFO] [stdout] | [INFO] [stdout] 5 | let mut context = TraceContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::TraceContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/request.rs - request::Request::swap_body (line 234) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:238:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::body_string (line 293) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{Body, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:295:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/content/content_type.rs - content::content_type::ContentType (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_type.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::content::ContentType; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_type.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{headers::Header, Response}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_type.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 6 | use http_types::mime::Mime; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/content_type.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{headers::Header, Response}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_type.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/content/content_type.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 9 | let content_type = ContentType::new("text/*"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/content/content_type.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 14 | let content_type = ContentType::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mime` [INFO] [stdout] --> src/content/content_type.rs:31:55 [INFO] [stdout] | [INFO] [stdout] 15 | assert_eq!(content_type.header_value(), format!("{}", Mime::from_str("text/*")?).as_str()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::mime::Mime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/trace_context.rs - trace::trace_context::TraceContext::new (line 54) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/trace_context.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::trace::TraceContext; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TraceContext` [INFO] [stdout] --> src/trace/trace_context.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 5 | let context = TraceContext::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::TraceContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/request.rs - request::Request::append_header (line 455) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Request; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/response.rs - response::Response::append_header (line 134) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/response.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::set_query (line 653) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:654:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::convert::Serialize; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:655:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Serialize` in this scope [INFO] [stdout] --> src/request.rs:658:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `serde` in this scope [INFO] [stdout] --> src/request.rs:659:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[serde(crate = "serde_crate")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::put (line 749) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:750:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::set_version (line 531) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:532:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{Request, Version}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:534:25 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() -> Result<(), http_types::Error> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_forwarded_header (line 103) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Get` in this scope [INFO] [stdout] --> src/proxies/forwarded.rs:106:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut request = Request::new(Get, Url::parse("http://_/")?); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::Method::Get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Forwarded::from_forwarded_header(&request)?.is_none()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer/transfer_encoding.rs - transfer::transfer_encoding::TransferEncoding (line 17) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::transfer::{TransferEncoding, Encoding}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:22:42 [INFO] [stdout] | [INFO] [stdout] 6 | let mut encoding = TransferEncoding::new(Encoding::Chunked); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(encoding, &Encoding::Chunked); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransferEncoding` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 6 | let mut encoding = TransferEncoding::new(Encoding::Chunked); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::TransferEncoding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransferEncoding` [INFO] [stdout] --> src/transfer/transfer_encoding.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 11 | let encoding = TransferEncoding::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::TransferEncoding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/transfer/te.rs - transfer::te::TE (line 21) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/transfer/te.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::transfer::{TE, TransferEncoding, Encoding, EncodingProposal}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/transfer/te.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/transfer/te.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/te.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 8 | te.push(EncodingProposal::new(Encoding::Brotli, Some(0.8))?); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/te.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 9 | te.push(EncodingProposal::new(Encoding::Gzip, Some(0.4))?); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/te.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 10 | te.push(EncodingProposal::new(Encoding::Identity, None)?); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/te.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 13 | let encoding = te.negotiate(&[Encoding::Brotli, Encoding::Gzip])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/transfer/te.rs:33:49 [INFO] [stdout] | [INFO] [stdout] 13 | let encoding = te.negotiate(&[Encoding::Brotli, Encoding::Gzip])?; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TE` [INFO] [stdout] --> src/transfer/te.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 7 | let mut te = TE::new(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::TE; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingProposal` [INFO] [stdout] --> src/transfer/te.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 8 | te.push(EncodingProposal::new(Encoding::Brotli, Some(0.8))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingProposal` [INFO] [stdout] --> src/transfer/te.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 9 | te.push(EncodingProposal::new(Encoding::Gzip, Some(0.4))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EncodingProposal` [INFO] [stdout] --> src/transfer/te.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 10 | te.push(EncodingProposal::new(Encoding::Identity, None)?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::transfer::EncodingProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/content/content_encoding.rs - content::content_encoding::ContentEncoding (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_encoding.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::content::{ContentEncoding, Encoding}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/content_encoding.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/content_encoding.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/content_encoding.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 6 | let mut encoding = ContentEncoding::new(Encoding::Gzip); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Encoding` [INFO] [stdout] --> src/content/content_encoding.rs:31:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(encoding, &Encoding::Gzip); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Encoding` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentEncoding` [INFO] [stdout] --> src/content/content_encoding.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 6 | let mut encoding = ContentEncoding::new(Encoding::Gzip); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentEncoding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentEncoding` [INFO] [stdout] --> src/content/content_encoding.rs:30:16 [INFO] [stdout] | [INFO] [stdout] 11 | let encoding = ContentEncoding::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::ContentEncoding; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::delete (line 769) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Method, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 8) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Method, Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/lib.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> Result<(), http_types::url::ParseError> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/security/timing_allow_origin.rs - security::timing_allow_origin::TimingAllowOrigin (line 42) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::security::TimingAllowOrigin; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::{Response, Url}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/security/timing_allow_origin.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimingAllowOrigin` [INFO] [stdout] --> src/security/timing_allow_origin.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut origins = TimingAllowOrigin::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::security::TimingAllowOrigin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TimingAllowOrigin` [INFO] [stdout] --> src/security/timing_allow_origin.rs:54:15 [INFO] [stdout] | [INFO] [stdout] 13 | let origins = TimingAllowOrigin::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::security::TimingAllowOrigin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trace/server_timing/mod.rs - trace::server_timing::ServerTiming (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/server_timing/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::trace::{ServerTiming, Metric}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/trace/server_timing/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/trace/server_timing/mod.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerTiming` [INFO] [stdout] --> src/trace/server_timing/mod.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 7 | let mut timings = ServerTiming::new(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::ServerTiming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Metric` [INFO] [stdout] --> src/trace/server_timing/mod.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 8 | timings.push(Metric::new("server".to_owned(), None, None)?); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::Metric; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ServerTiming` [INFO] [stdout] --> src/trace/server_timing/mod.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 13 | let timings = ServerTiming::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::trace::ServerTiming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_x_headers (line 135) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/proxies/forwarded.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 2 | use http_types::{proxies::Forwarded, Method::Get, Request, Url, Result}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Get` in this scope [INFO] [stdout] --> src/proxies/forwarded.rs:138:32 [INFO] [stdout] | [INFO] [stdout] 4 | let mut request = Request::new(Get, Url::parse("http://_/")?); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::Method::Get; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Forwarded` [INFO] [stdout] --> src/proxies/forwarded.rs:143:9 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(Forwarded::from_x_headers(&request)?.is_none()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::proxies::Forwarded; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/request.rs - request::Request::body_bytes (line 321) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/request.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{Body, Request}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/request.rs:322:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { async_std::task::block_on(async { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/content/accept.rs - content::accept::Accept (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/accept.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::content::{Accept, MediaTypeProposal}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/content/accept.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::{mime, Response}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/content/accept.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/content/accept.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 7 | let mut accept = Accept::new(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaTypeProposal` [INFO] [stdout] --> src/content/accept.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 8 | accept.push(MediaTypeProposal::new(mime::HTML, Some(0.8))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::MediaTypeProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaTypeProposal` [INFO] [stdout] --> src/content/accept.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 9 | accept.push(MediaTypeProposal::new(mime::XML, Some(0.4))?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::content::MediaTypeProposal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/security/mod.rs - security (line 9) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/security/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 3 | use http_types::{StatusCode, Response}; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/security/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 6 | http_types::security::default(&mut res); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/other/date.rs - other::date::Date (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/date.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 5 | use http_types::other::Date; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `http_types` [INFO] [stdout] --> src/other/date.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 4 | use http_types::Response; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `http_types` [INFO] [stdout] --> src/other/date.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() -> http_types::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `http_types` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Date` [INFO] [stdout] --> src/other/date.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | let date = Date::new(now); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Date; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Date` [INFO] [stdout] --> src/other/date.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 15 | let date = Date::from_headers(res)?.unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trillium_http_types::other::Date; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/auth/authorization.rs - auth::authorization::Authorization (line 13) [INFO] [stdout] src/auth/basic_auth.rs - auth::basic_auth::BasicAuth (line 17) [INFO] [stdout] src/auth/mod.rs - auth (line 5) [INFO] [stdout] src/auth/www_authenticate.rs - auth::www_authenticate::WwwAuthenticate (line 19) [INFO] [stdout] src/body.rs - body::Body (line 26) [INFO] [stdout] src/body.rs - body::Body::chain (line 497) [INFO] [stdout] src/body.rs - body::Body::empty (line 73) [INFO] [stdout] src/body.rs - body::Body::from_bytes (line 145) [INFO] [stdout] src/body.rs - body::Body::from_file (line 395) [INFO] [stdout] src/body.rs - body::Body::from_file_with_path (line 422) [INFO] [stdout] src/body.rs - body::Body::from_form (line 301) [INFO] [stdout] src/body.rs - body::Body::from_json (line 244) [INFO] [stdout] src/body.rs - body::Body::from_path (line 370) [INFO] [stdout] src/body.rs - body::Body::from_reader (line 97) [INFO] [stdout] src/body.rs - body::Body::from_string (line 195) [INFO] [stdout] src/body.rs - body::Body::into_bytes (line 167) [INFO] [stdout] src/body.rs - body::Body::into_form (line 340) [INFO] [stdout] src/body.rs - body::Body::into_json (line 266) [INFO] [stdout] src/body.rs - body::Body::into_reader (line 123) [INFO] [stdout] src/body.rs - body::Body::into_string (line 217) [INFO] [stdout] src/body.rs - body::Body::len (line 458) [INFO] [stdout] src/cache/age.rs - cache::age::Age (line 16) [INFO] [stdout] src/cache/cache_control/cache_control.rs - cache::cache_control::cache_control::CacheControl (line 15) [INFO] [stdout] src/cache/clear_site_data/mod.rs - cache::clear_site_data::ClearSiteData (line 28) [INFO] [stdout] src/cache/expires.rs - cache::expires::Expires (line 15) [INFO] [stdout] src/conditional/etag.rs - conditional::etag::ETag (line 17) [INFO] [stdout] src/conditional/if_match.rs - conditional::if_match::IfMatch (line 19) [INFO] [stdout] src/conditional/if_modified_since.rs - conditional::if_modified_since::IfModifiedSince (line 17) [INFO] [stdout] src/conditional/if_none_match.rs - conditional::if_none_match::IfNoneMatch (line 25) [INFO] [stdout] src/conditional/if_unmodified_since.rs - conditional::if_unmodified_since::IfUnmodifiedSince (line 17) [INFO] [stdout] src/conditional/last_modified.rs - conditional::last_modified::LastModified (line 16) [INFO] [stdout] src/conditional/vary.rs - conditional::vary::Vary (line 19) [INFO] [stdout] src/content/accept.rs - content::accept::Accept (line 32) [INFO] [stdout] src/content/accept_encoding.rs - content::accept_encoding::AcceptEncoding (line 23) [INFO] [stdout] src/content/content_encoding.rs - content::content_encoding::ContentEncoding (line 20) [INFO] [stdout] src/content/content_length.rs - content::content_length::ContentLength (line 12) [INFO] [stdout] src/content/content_location.rs - content::content_location::ContentLocation (line 16) [INFO] [stdout] src/content/content_type.rs - content::content_type::ContentType (line 17) [INFO] [stdout] src/content/mod.rs - content (line 14) [INFO] [stdout] src/headers/headers.rs - headers::headers::Headers (line 23) [INFO] [stdout] src/lib.rs - (line 8) [INFO] [stdout] src/mime/mod.rs - mime::Mime (line 21) [INFO] [stdout] src/other/date.rs - other::date::Date (line 14) [INFO] [stdout] src/other/expect.rs - other::expect::Expect (line 16) [INFO] [stdout] src/other/referer.rs - other::referer::Referer (line 19) [INFO] [stdout] src/other/retry_after.rs - other::retry_after::RetryAfter (line 16) [INFO] [stdout] src/other/source_map.rs - other::source_map::SourceMap (line 16) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_forwarded_header (line 103) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_forwarded_header (line 90) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_headers (line 45) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_headers (line 61) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_x_headers (line 126) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::from_x_headers (line 135) [INFO] [stdout] src/proxies/forwarded.rs - proxies::forwarded::Forwarded::parse (line 192) [INFO] [stdout] src/request.rs - request::Request (line 23) [INFO] [stdout] src/request.rs - request::Request::append_header (line 455) [INFO] [stdout] src/request.rs - request::Request::body_bytes (line 321) [INFO] [stdout] src/request.rs - request::Request::body_form (line 383) [INFO] [stdout] src/request.rs - request::Request::body_json (line 347) [INFO] [stdout] src/request.rs - request::Request::body_string (line 293) [INFO] [stdout] src/request.rs - request::Request::connect (line 790) [INFO] [stdout] src/request.rs - request::Request::delete (line 769) [INFO] [stdout] src/request.rs - request::Request::ext_mut (line 599) [INFO] [stdout] src/request.rs - request::Request::get (line 685) [INFO] [stdout] src/request.rs - request::Request::head (line 707) [INFO] [stdout] src/request.rs - request::Request::insert_header (line 429) [INFO] [stdout] src/request.rs - request::Request::options (line 811) [INFO] [stdout] src/request.rs - request::Request::patch (line 852) [INFO] [stdout] src/request.rs - request::Request::post (line 728) [INFO] [stdout] src/request.rs - request::Request::put (line 749) [INFO] [stdout] src/request.rs - request::Request::query (line 618) [INFO] [stdout] src/request.rs - request::Request::replace_body (line 208) [INFO] [stdout] src/request.rs - request::Request::set_body (line 193) [INFO] [stdout] src/request.rs - request::Request::set_query (line 653) [INFO] [stdout] src/request.rs - request::Request::set_version (line 531) [INFO] [stdout] src/request.rs - request::Request::swap_body (line 234) [INFO] [stdout] src/request.rs - request::Request::take_body (line 260) [INFO] [stdout] src/request.rs - request::Request::trace (line 832) [INFO] [stdout] src/request.rs - request::Request::url (line 158) [INFO] [stdout] src/request.rs - request::Request::url_mut (line 175) [INFO] [stdout] src/request.rs - request::Request::version (line 510) [INFO] [stdout] src/response.rs - response::Response (line 25) [INFO] [stdout] src/response.rs - response::Response::append_header (line 134) [INFO] [stdout] src/response.rs - response::Response::body_bytes (line 285) [INFO] [stdout] src/response.rs - response::Response::body_form (line 348) [INFO] [stdout] src/response.rs - response::Response::body_json (line 311) [INFO] [stdout] src/response.rs - response::Response::body_string (line 258) [INFO] [stdout] src/response.rs - response::Response::ext_mut (line 563) [INFO] [stdout] src/response.rs - response::Response::insert_header (line 108) [INFO] [stdout] src/response.rs - response::Response::replace_body (line 170) [INFO] [stdout] src/response.rs - response::Response::set_body (line 152) [INFO] [stdout] src/response.rs - response::Response::set_version (line 461) [INFO] [stdout] src/response.rs - response::Response::swap_body (line 198) [INFO] [stdout] src/response.rs - response::Response::take_body (line 225) [INFO] [stdout] src/response.rs - response::Response::version (line 415) [INFO] [stdout] src/security/csp.rs - security::csp::ContentSecurityPolicy (line 111) [INFO] [stdout] src/security/mod.rs - security (line 9) [INFO] [stdout] src/security/timing_allow_origin.rs - security::timing_allow_origin (line 10) [INFO] [stdout] src/security/timing_allow_origin.rs - security::timing_allow_origin::TimingAllowOrigin (line 42) [INFO] [stdout] src/server/allow.rs - server::allow::Allow (line 20) [INFO] [stdout] src/trace/server_timing/mod.rs - trace::server_timing (line 5) [INFO] [stdout] src/trace/server_timing/mod.rs - trace::server_timing::ServerTiming (line 45) [INFO] [stdout] src/trace/trace_context.rs - trace::trace_context::TraceContext (line 15) [INFO] [stdout] src/trace/trace_context.rs - trace::trace_context::TraceContext::from_headers (line 83) [INFO] [stdout] src/trace/trace_context.rs - trace::trace_context::TraceContext::new (line 54) [INFO] [stdout] src/trace/trace_context.rs - trace::trace_context::TraceContext::sampled (line 169) [INFO] [stdout] src/trace/trace_context.rs - trace::trace_context::TraceContext::set_sampled (line 190) [INFO] [stdout] src/trailers.rs - trailers (line 21) [INFO] [stdout] src/trailers.rs - trailers::Trailers::append (line 105) [INFO] [stdout] src/trailers.rs - trailers::Trailers::insert (line 80) [INFO] [stdout] src/transfer/te.rs - transfer::te::TE (line 21) [INFO] [stdout] src/transfer/transfer_encoding.rs - transfer::transfer_encoding::TransferEncoding (line 17) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 112 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9ed44042f507c37714773721f83cd8dd21f1162e74603d70d6e70b4c144be2c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ed44042f507c37714773721f83cd8dd21f1162e74603d70d6e70b4c144be2c6", kill_on_drop: false }` [INFO] [stdout] 9ed44042f507c37714773721f83cd8dd21f1162e74603d70d6e70b4c144be2c6