[INFO] fetching crate rocket_http 0.5.0-rc.1... [INFO] testing rocket_http-0.5.0-rc.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate rocket_http 0.5.0-rc.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rocket_http 0.5.0-rc.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rocket_http 0.5.0-rc.1 [INFO] finished tweaking crates.io crate rocket_http 0.5.0-rc.1 [INFO] tweaked toml for crates.io crate rocket_http 0.5.0-rc.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db6b685dd4de9aa7fbd57b4171e8ced899ce8ec848101dd599e3cec736ea3886 [INFO] running `Command { std: "docker" "start" "-a" "db6b685dd4de9aa7fbd57b4171e8ced899ce8ec848101dd599e3cec736ea3886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db6b685dd4de9aa7fbd57b4171e8ced899ce8ec848101dd599e3cec736ea3886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db6b685dd4de9aa7fbd57b4171e8ced899ce8ec848101dd599e3cec736ea3886", kill_on_drop: false }` [INFO] [stdout] db6b685dd4de9aa7fbd57b4171e8ced899ce8ec848101dd599e3cec736ea3886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47e19c4f5b434a416161c0bab6c15ded6536900b7b29677057378f2c161d9278 [INFO] running `Command { std: "docker" "start" "-a" "47e19c4f5b434a416161c0bab6c15ded6536900b7b29677057378f2c161d9278", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling ref-cast v1.0.6 [INFO] [stderr] Compiling state v0.5.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling cookie v0.15.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tracing-core v0.1.25 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.6 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling tracing v0.1.33 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ext.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | std::array::IntoIter::new(self).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ext.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | std::array::IntoIter::new(self).map(f).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.62s [INFO] running `Command { std: "docker" "inspect" "47e19c4f5b434a416161c0bab6c15ded6536900b7b29677057378f2c161d9278", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e19c4f5b434a416161c0bab6c15ded6536900b7b29677057378f2c161d9278", kill_on_drop: false }` [INFO] [stdout] 47e19c4f5b434a416161c0bab6c15ded6536900b7b29677057378f2c161d9278 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e8afbaa0296d8684c6231a8680e38ae02961c2a963d3b6ebef4db037a593525 [INFO] running `Command { std: "docker" "start" "-a" "9e8afbaa0296d8684c6231a8680e38ae02961c2a963d3b6ebef4db037a593525", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ext.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | std::array::IntoIter::new(self).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ext.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | std::array::IntoIter::new(self).map(f).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rocket_http v0.5.0-rc.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ext.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | std::array::IntoIter::new(self).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/ext.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | std::array::IntoIter::new(self).map(f).collect() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.06s [INFO] running `Command { std: "docker" "inspect" "9e8afbaa0296d8684c6231a8680e38ae02961c2a963d3b6ebef4db037a593525", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e8afbaa0296d8684c6231a8680e38ae02961c2a963d3b6ebef4db037a593525", kill_on_drop: false }` [INFO] [stdout] 9e8afbaa0296d8684c6231a8680e38ae02961c2a963d3b6ebef4db037a593525 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e097d86d4bf145dc7853ac402ae0b8275d0c288c5e79ecab5b2fbd39a019a4e [INFO] running `Command { std: "docker" "start" "-a" "8e097d86d4bf145dc7853ac402ae0b8275d0c288c5e79ecab5b2fbd39a019a4e", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/ext.rs:66:31 [INFO] [stderr] | [INFO] [stderr] 66 | std::array::IntoIter::new(self).collect() [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/ext.rs:73:31 [INFO] [stderr] | [INFO] [stderr] 73 | std::array::IntoIter::new(self).map(f).collect() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `rocket_http` (lib) generated 2 warnings [INFO] [stderr] warning: `rocket_http` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rocket_http-6560aceae4430712) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test header::header::tests::case_insensitive_add_get ... ok [INFO] [stdout] test header::header::tests::case_insensitive_multiadd ... ok [INFO] [stdout] test parse::media_type::test::check_does_parse ... ok [INFO] [stdout] test parse::accept::test::check_parse_eq ... ok [INFO] [stdout] test parse::media_type::test::check_params_do_parse ... ok [INFO] [stdout] test parse::accept::test::check_does_parse ... ok [INFO] [stdout] test parse::media_type::test::check_parse_eq ... ok [INFO] [stdout] test parse::uri::error::tests::check_display ... ok [INFO] [stdout] test parse::uri::tables::tests::check_tables ... ok [INFO] [stdout] test parse::media_type::test::check_param_eq ... ok [INFO] [stdout] test parse::media_type::test::test_bad_parses ... ok [INFO] [stdout] test parse::uri::tests::authority ... ok [INFO] [stdout] test header::accept::test::test_preferred ... ok [INFO] [stdout] test parse::uri::tests::display ... ok [INFO] [stdout] test parse::uri::tests::bad_parses ... ok [INFO] [stdout] test parse::uri::tests::origin ... ok [INFO] [stdout] test raw_str::tests::can_compare ... ok [INFO] [stdout] test parse::uri::tests::test_parse_issue_924_samples ... ok [INFO] [stdout] test parse::uri::tests::absolute ... ok [INFO] [stdout] test uri::fmt::uri_display::uri_display_tests::check_ignorables ... ok [INFO] [stdout] test parse::uri::tests::single_byte ... ok [INFO] [stdout] test uri::fmt::uri_display::uri_display_tests::paths ... ok [INFO] [stdout] test uri::fmt::uri_display::uri_display_tests::uri_display_encoding ... ok [INFO] [stdout] test uri::fmt::uri_display::uri_display_tests::uri_display_encoding_wrapped ... ok [INFO] [stdout] test uri::origin::tests::normalized ... ok [INFO] [stdout] test uri::origin::tests::query_does_not_exist ... ok [INFO] [stdout] test uri::origin::tests::query_exists ... ok [INFO] [stdout] test parse::uri::tests::reference ... ok [INFO] [stdout] test uri::origin::tests::multi_segments_match ... ok [INFO] [stdout] test uri::origin::tests::segment_mismatch ... ok [INFO] [stdout] test uri::origin::tests::multi_segments_match_funky_chars ... ok [INFO] [stdout] test uri::origin::tests::segment_count ... ok [INFO] [stdout] test uri::origin::tests::send_and_sync ... ok [INFO] [stdout] test uri::origin::tests::simple_segment_count ... ok [INFO] [stdout] test uri::origin::tests::single_segments_match ... ok [INFO] [stdout] test parse::uri::tests::test_assert_no_parse - should panic ... ok [INFO] [stdout] test parse::uri::tests::test_assert_parse_eq - should panic ... ok [INFO] [stdout] test parse::uri::tests::test_assert_parse_eq_consecutive - should panic ... ok [INFO] [stdout] test uri::fmt::formatter::prefix_soundness_test::check_consistency ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests rocket_http [INFO] [stdout] [INFO] [stdout] running 200 tests [INFO] [stdout] test src/header/accept.rs - header::accept::Accept (line 35) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType (line 23) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::media_type (line 277) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::extension (line 294) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::fmt (line 370) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::Accept (line 48) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::from_str (line 345) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::new (line 219) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::from_str (line 320) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::from_extension (line 298) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::Header::name (line 143) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::add_all (line 503) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::QMediaType::weight (line 300) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::extension (line 306) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 270) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::Accept::preferred (line 131) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::with_params (line 246) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 257) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::from_extension (line 285) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::QMediaType::media_type (line 335) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::add_raw (line 477) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::Accept::iter (line 196) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::add (line 454) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::get_one (line 307) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::contains (line 215) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::Header::is_valid_value (line 77) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 286) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::Accept::media_types (line 225) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::Header::value (line 162) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::with_params (line 256) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::get_one (line 323) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::params (line 529) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::params (line 541) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::get (line 277) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::QMediaType::weight_or (line 316) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::Header::name (line 131) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::from_extension (line 456) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::Header::new (line 39) ... FAILED [INFO] [stdout] test src/method.rs - method::Method::supports_payload (line 62) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::new (line 288) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType::from_str (line 332) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::extension (line 589) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::Header::new (line 29) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::from_extension (line 469) ... FAILED [INFO] [stdout] test src/header/content_type.rs - header::content_type::ContentType (line 36) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::const_new (line 361) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType (line 31) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::sub (line 433) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::replace_all (line 429) ... FAILED [INFO] [stdout] test src/method.rs - method::Method::as_str (line 81) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::iter (line 601) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::Accept::new (line 95) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 457) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::top (line 414) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::replace_raw (line 403) ... FAILED [INFO] [stdout] test src/header/accept.rs - header::accept::Accept::first (line 178) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::extension (line 577) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 428) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::as_uncased_str (line 548) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::new (line 200) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::specificity (line 458) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::contains (line 574) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::len (line 234) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::is_empty (line 260) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::replace (line 351) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::exact_eq (line 488) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::remove_all (line 560) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::find (line 657) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::html_escape (line 347) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::as_str (line 487) ... FAILED [INFO] [stdout] test src/parse/uri/error.rs - parse::uri::error::Error::index (line 35) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::replace (line 379) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::from_cow_str (line 108) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 441) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::new (line 89) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::replace (line 363) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::into_iter (line 646) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::is_empty (line 465) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::into_cow_str (line 130) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::percent_decode (line 161) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::with_params (line 326) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::as_bytes (line 503) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::len (line 449) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::percent_decode (line 172) ... FAILED [INFO] [stdout] test src/header/header.rs - header::header::HeaderMap::remove (line 535) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::as_ptr (line 530) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::parse (line 840) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::percent_encode (line 254) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::ends_with (line 629) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::split (line 684) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::strip_prefix (line 782) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::html_escape (line 362) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::split_at_byte (line 718) ... FAILED [INFO] [stdout] test src/header/media_type.rs - header::media_type::MediaType::with_params (line 316) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::percent_encode (line 243) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::starts_with (line 602) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::strip_suffix (line 808) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::new (line 274) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::class (line 270) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::percent_decode_lossy (line 194) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStrBuf::into_string (line 72) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::reason (line 273) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::authority (line 195) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::url_decode_lossy (line 316) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::normalize (line 302) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::url_decode (line 278) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::from_code (line 283) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::percent_decode_lossy (line 205) ... FAILED [INFO] [stdout] test src/raw_str.rs - raw_str::RawStr::url_decode_lossy (line 305) ... FAILED [INFO] [stdout] test src/status.rs - status::Status (line 52) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::from_code (line 273) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute (line 53) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::reason (line 283) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute (line 37) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::scheme (line 181) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::is_normalized (line 270) ... FAILED [INFO] [stdout] test src/status.rs - status::Status (line 83) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::clear_query (line 249) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::into_normalized (line 342) ... FAILED [INFO] [stdout] test src/status.rs - status::Status::reason_lossy (line 272) ... FAILED [INFO] [stdout] test src/uri/asterisk.rs - uri::asterisk::Asterisk::parse_owned (line 52) ... FAILED [INFO] [stdout] test src/uri/authority.rs - uri::authority::Authority::parse (line 113) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::with_authority (line 388) ... FAILED [INFO] [stdout] test src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 150) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::path (line 215) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::parse (line 120) ... FAILED [INFO] [stdout] test src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_raw (line 184) ... FAILED [INFO] [stdout] test src/uri/authority.rs - uri::authority::Authority::port (line 209) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::Ignorable (line 443) ... FAILED [INFO] [stdout] test src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::refresh (line 276) ... FAILED [INFO] [stdout] test src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter (line 114) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::query (line 232) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::parse_owned (line 151) ... FAILED [INFO] [stdout] test src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter (line 63) ... FAILED [INFO] [stdout] test src/uri/authority.rs - uri::authority::Authority::user_info (line 172) ... FAILED [INFO] [stdout] test src/uri/asterisk.rs - uri::asterisk::Asterisk::parse (line 32) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 233) ... FAILED [INFO] [stdout] test src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_named_value (line 373) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 59) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin (line 72) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute::set_authority (line 366) ... FAILED [INFO] [stdout] test src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_value (line 240) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 38) ... FAILED [INFO] [stdout] test src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 41) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::parse (line 236) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 175) ... FAILED [INFO] [stdout] test src/uri/authority.rs - uri::authority::Authority::parse_owned (line 145) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::Ignorable (line 424) ... FAILED [INFO] [stdout] test src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 120) ... FAILED [INFO] [stdout] test src/uri/authority.rs - uri::authority::Authority::host (line 188) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 67) ... FAILED [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Path::segments (line 169) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin (line 37) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::normalize (line 434) ... FAILED [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Path::raw_segments (line 129) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::map_path (line 348) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::path (line 308) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin (line 54) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::query (line 326) ... FAILED [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Query::segments (line 291) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::is_normalized (line 409) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::into_normalized (line 386) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::parse_owned (line 284) ... FAILED [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Path::as_str (line 87) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference (line 31) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::authority (line 233) ... FAILED [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Query::as_str (line 209) ... FAILED [INFO] [stdout] test src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 91) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::fragment (line 286) ... FAILED [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Path::raw (line 73) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::clear_query (line 389) ... FAILED [INFO] [stdout] test src/uri/asterisk.rs - uri::asterisk::Asterisk (line 10) ... ok [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Query::raw (line 195) ... FAILED [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin::into_normalized (line 463) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::normalize (line 346) ... FAILED [INFO] [stdout] test src/uri/absolute.rs - uri::absolute::Absolute (line 72) ... ok [INFO] [stdout] test src/uri/path_query.rs - uri::path_query::Query::raw_segments (line 248) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::is_empty (line 79) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::get (line 123) ... FAILED [INFO] [stdout] test src/uri/uri.rs - uri::uri::Uri::absolute (line 196) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::is_normalized (line 309) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::query (line 265) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::len (line 53) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::prefix_of (line 144) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::get (line 238) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::parse (line 153) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::path (line 251) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::parse_owned (line 184) ... FAILED [INFO] [stdout] test src/uri/uri.rs - uri::uri::Uri::authority (line 168) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::skip (line 99) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference::scheme (line 213) ... FAILED [INFO] [stdout] test src/uri/uri.rs - uri::uri::Uri::parse_any (line 110) ... FAILED [INFO] [stdout] test src/uri/uri.rs - uri::uri::Uri::origin (line 140) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments::to_path_buf (line 189) ... FAILED [INFO] [stdout] test src/uri/segments.rs - uri::segments::Segments (line 16) ... FAILED [INFO] [stdout] test src/uri/uri.rs - uri::uri::Uri::parse (line 64) ... FAILED [INFO] [stdout] test src/uri/uri.rs - uri::uri::Uri::reference (line 224) ... FAILED [INFO] [stdout] test src/uri/reference.rs - uri::reference::Reference (line 53) ... ok [INFO] [stdout] test src/uri/authority.rs - uri::authority::Authority (line 28) ... ok [INFO] [stdout] test src/uri/origin.rs - uri::origin::Origin (line 93) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept (line 35) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 7 | let accept_json = Accept::JSON; [INFO] [stdout] | ^^^^^^ use of undeclared type `Accept` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType (line 23) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 7 | let html = ContentType::HTML; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::media_type (line 277) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:277:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 6 | let http = ContentType::HTML; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::extension (line 294) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:294:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(ContentType::JSON.extension().unwrap(), "json"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(ContentType::JPEG.extension().unwrap(), "jpeg"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(ContentType::JPEG.extension().unwrap(), "JPEG"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:301:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(ContentType::PDF.extension().unwrap(), "pdf"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::fmt (line 370) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:370:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:374:24 [INFO] [stdout] | [INFO] [stdout] 6 | let ct = format!("{}", ContentType::JSON); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept (line 48) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:53:41 [INFO] [stdout] | [INFO] [stdout] 7 | let response = Response::build().header(Accept::JSON).finalize(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Accept` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/header/accept.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 7 | let response = Response::build().header(Accept::JSON).finalize(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::from_str (line 345) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:345:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:350:14 [INFO] [stdout] | [INFO] [stdout] 7 | let custom = ContentType::from_str("application//x-custom"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::new (line 219) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:219:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:223:14 [INFO] [stdout] | [INFO] [stdout] 6 | let custom = ContentType::new("application", "x-person"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::from_str (line 320) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:320:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:327:18 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(json, ContentType::JSON); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:325:12 [INFO] [stdout] | [INFO] [stdout] 7 | let json = ContentType::from_str("application/json").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::from_extension (line 298) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:298:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:302:11 [INFO] [stdout] | [INFO] [stdout] 6 | let foo = ContentType::from_extension("foo"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::Header::name (line 143) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:143:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 6 | let header = Header::new("X-Custom-Header", "custom value"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::add_all (line 503) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:503:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:507:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::QMediaType::weight (line 300) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:300:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:304:25 [INFO] [stdout] | [INFO] [stdout] 6 | let q_type = QMediaType(MediaType::HTML, Some(0.3)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 6 | let q_type = QMediaType(MediaType::HTML, Some(0.3)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::extension (line 306) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:306:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:310:11 [INFO] [stdout] | [INFO] [stdout] 6 | let foo = ContentType::new("foo", "bar"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 270) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:270:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:275:23 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(html, Some(ContentType::HTML)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(json, Some(ContentType::JSON)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 6 | let html = ContentType::parse_flexible("text/html; charset=utf-8"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 9 | let json = ContentType::parse_flexible("application/json"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:280:14 [INFO] [stdout] | [INFO] [stdout] 12 | let custom = ContentType::parse_flexible("application/x+custom"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:281:25 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(custom, Some(ContentType::new("application", "x+custom"))); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept::preferred (line 131) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:136:16 [INFO] [stdout] | [INFO] [stdout] 7 | QMediaType(MediaType::JSON, Some(0.3)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 8 | QMediaType(MediaType::HTML, Some(0.9)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:141:46 [INFO] [stdout] | [INFO] [stdout] 12 | assert_eq!(accept.preferred().media_type(), &MediaType::HTML); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 7 | QMediaType(MediaType::JSON, Some(0.3)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 8 | QMediaType(MediaType::HTML, Some(0.9)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 11 | let accept = Accept::new(media_types); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::with_params (line 246) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:250:10 [INFO] [stdout] | [INFO] [stdout] 6 | let id = ContentType::with_params("application", "x-id", ("id", "1")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 257) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:257:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:262:23 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(html, Some(ContentType::HTML)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:265:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(json, Some(ContentType::JSON)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 6 | let html = ContentType::parse_flexible("html"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:264:12 [INFO] [stdout] | [INFO] [stdout] 9 | let json = ContentType::parse_flexible("json"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::from_extension (line 285) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:285:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:290:22 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(xml, Some(ContentType::XML)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:293:22 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(xml, Some(ContentType::XML)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 6 | let xml = ContentType::from_extension("xml"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 9 | let xml = ContentType::from_extension("XML"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::QMediaType::media_type (line 335) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:335:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:339:25 [INFO] [stdout] | [INFO] [stdout] 6 | let q_type = QMediaType(MediaType::HTML, Some(0.3)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:340:34 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(q_type.media_type(), &MediaType::HTML); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:339:14 [INFO] [stdout] | [INFO] [stdout] 6 | let q_type = QMediaType(MediaType::HTML, Some(0.3)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::add_raw (line 477) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:477:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:481:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept::iter (line 196) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:201:16 [INFO] [stdout] | [INFO] [stdout] 7 | QMediaType(MediaType::JSON, Some(0.3)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:202:16 [INFO] [stdout] | [INFO] [stdout] 8 | QMediaType(MediaType::HTML, Some(0.9)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:201:5 [INFO] [stdout] | [INFO] [stdout] 7 | QMediaType(MediaType::JSON, Some(0.3)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 8 | QMediaType(MediaType::HTML, Some(0.9)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 11 | let accept = Accept::new(qmedia_types.clone()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::add (line 454) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:454:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:458:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> src/header/header.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 8 | map.add(&Cookie::new("a", "b")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use cookie::Cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Cookie` [INFO] [stdout] --> src/header/header.rs:463:10 [INFO] [stdout] | [INFO] [stdout] 11 | map.add(&Cookie::new("c", "d")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use cookie::Cookie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::get_one (line 307) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::contains (line 215) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:215:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/header.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 7 | map.add(ContentType::HTML); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:219:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::Header::is_valid_value (line 77) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(!Header::is_valid_value("", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(!Header::is_valid_value(" " , false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(!Header::is_valid_value(" hi", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!Header::is_valid_value("a\nbc", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!Header::is_valid_value("\nbc", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(!Header::is_valid_value("\n", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!Header::is_valid_value("\t", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(!Header::is_valid_value("\r", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:89:10 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(!Header::is_valid_value("a\nb\nc", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!Header::is_valid_value("a\rb\rc", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(Header::is_valid_value("", true)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 18 | assert!(Header::is_valid_value("a", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 19 | assert!(Header::is_valid_value("a", true)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(Header::is_valid_value("abc", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(Header::is_valid_value("abc", true)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(Header::is_valid_value("a b c", false)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 23 | assert!(Header::is_valid_value("a b c", true)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 286) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:290:11 [INFO] [stdout] | [INFO] [stdout] 6 | let foo = ContentType::parse_flexible("foo"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:293:11 [INFO] [stdout] | [INFO] [stdout] 9 | let bar = ContentType::parse_flexible("foo/bar/baz"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept::media_types (line 225) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:225:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 7 | QMediaType(MediaType::JSON, Some(0.3)), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:231:16 [INFO] [stdout] | [INFO] [stdout] 8 | QMediaType(MediaType::HTML, Some(0.9)) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 7 | QMediaType(MediaType::JSON, Some(0.3)), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 8 | QMediaType(MediaType::HTML, Some(0.9)) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:234:14 [INFO] [stdout] | [INFO] [stdout] 11 | let accept = Accept::new(qmedia_types.clone()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::Header::value (line 162) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:162:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 6 | let header = Header::new("X-Custom-Header", "custom value"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::with_params (line 256) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:256:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:261:10 [INFO] [stdout] | [INFO] [stdout] 7 | let mt = ContentType::with_params("text", "person", params); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::get_one (line 323) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:323:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:327:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::params (line 529) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:529:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 6 | let plain = MediaType::Plain; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::params (line 541) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:541:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:545:11 [INFO] [stdout] | [INFO] [stdout] 6 | let png = MediaType::PNG; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::get (line 277) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:277:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::QMediaType::weight_or (line 316) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:320:25 [INFO] [stdout] | [INFO] [stdout] 6 | let q_type = QMediaType(MediaType::HTML, Some(0.3)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:323:25 [INFO] [stdout] | [INFO] [stdout] 9 | let q_type = QMediaType(MediaType::HTML, None); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:320:14 [INFO] [stdout] | [INFO] [stdout] 6 | let q_type = QMediaType(MediaType::HTML, Some(0.3)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:323:14 [INFO] [stdout] | [INFO] [stdout] 9 | let q_type = QMediaType(MediaType::HTML, None); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::Header::name (line 131) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:131:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:136:14 [INFO] [stdout] | [INFO] [stdout] 7 | let header = Header::new("X-Custom-Header", value); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::from_extension (line 456) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:456:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:461:22 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(xml, Some(MediaType::XML)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:464:22 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(xml, Some(MediaType::XML)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:460:11 [INFO] [stdout] | [INFO] [stdout] 6 | let xml = MediaType::from_extension("xml"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:463:11 [INFO] [stdout] | [INFO] [stdout] 9 | let xml = MediaType::from_extension("XML"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::Header::new (line 39) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:44:14 [INFO] [stdout] | [INFO] [stdout] 7 | let header = Header::new("X-Custom-Header", value); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/method.rs - method::Method::supports_payload (line 62) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/method.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/method.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Method::Get.supports_payload(), false); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/method.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Method::Post.supports_payload(), true); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::new (line 288) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:288:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:292:14 [INFO] [stdout] | [INFO] [stdout] 6 | let custom = MediaType::new("application", "x-person"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType::from_str (line 332) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:332:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:337:14 [INFO] [stdout] | [INFO] [stdout] 7 | let custom = ContentType::from_str("application/x-custom").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::ContentType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::extension (line 589) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:589:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:593:11 [INFO] [stdout] | [INFO] [stdout] 6 | let foo = MediaType::new("foo", "bar"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::Header::new (line 29) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 6 | let header = Header::new("X-Custom-Header", "custom value"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::from_extension (line 469) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:469:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:473:11 [INFO] [stdout] | [INFO] [stdout] 6 | let foo = MediaType::from_extension("foo"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/content_type.rs - header::content_type::ContentType (line 36) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/content_type.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/content_type.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 7 | let response = Response::build().header(ContentType::HTML).finalize(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Response` [INFO] [stdout] --> src/header/content_type.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 7 | let response = Response::build().header(ContentType::HTML).finalize(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Response; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Response; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::const_new (line 361) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/header/media_type.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::MediaType; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 5 | let custom = MediaType::const_new("application", "x-person", &[]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::MediaType; [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/header/media_type.rs - header::media_type::MediaType (line 31) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 6 | let json = MediaType::JSON; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(MediaType::JSON, json); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 10 | let json = MediaType::new("application", "json"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::sub (line 433) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:433:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 6 | let plain = MediaType::Plain; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::replace_all (line 429) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:429:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:433:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/method.rs - method::Method::as_str (line 81) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/method.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Method` [INFO] [stdout] --> src/method.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Method::Get.as_str(), "GET"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Method` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::iter (line 601) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:601:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:607:5 [INFO] [stdout] | [INFO] [stdout] 8 | Header::new("X-Custom", "value_1"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:608:5 [INFO] [stdout] | [INFO] [stdout] 9 | Header::new("X-Other", "other"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:609:5 [INFO] [stdout] | [INFO] [stdout] 10 | Header::new("X-Third", "third"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:613:15 [INFO] [stdout] | [INFO] [stdout] 14 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept::new (line 95) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:100:27 [INFO] [stdout] | [INFO] [stdout] 7 | let json_then_html = vec![MediaType::JSON.into(), MediaType::HTML.into()]; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:100:51 [INFO] [stdout] | [INFO] [stdout] 7 | let json_then_html = vec![MediaType::JSON.into(), MediaType::HTML.into()]; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:102:46 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(accept.preferred().media_type(), &MediaType::JSON); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:105:27 [INFO] [stdout] | [INFO] [stdout] 12 | let accept = Accept::new([MediaType::JSON.into(), MediaType::HTML.into()]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 12 | let accept = Accept::new([MediaType::JSON.into(), MediaType::HTML.into()]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:106:46 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(accept.preferred().media_type(), &MediaType::JSON); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:109:37 [INFO] [stdout] | [INFO] [stdout] 16 | let accept = Accept::new(QMediaType(MediaType::JSON, None)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:110:46 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(accept.preferred().media_type(), &MediaType::JSON); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:101:14 [INFO] [stdout] | [INFO] [stdout] 8 | let accept = Accept::new(json_then_html); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 12 | let accept = Accept::new([MediaType::JSON.into(), MediaType::HTML.into()]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 16 | let accept = Accept::new(QMediaType(MediaType::JSON, None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 16 | let accept = Accept::new(QMediaType(MediaType::JSON, None)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 457) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:457:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:461:11 [INFO] [stdout] | [INFO] [stdout] 6 | let foo = MediaType::parse_flexible("foo"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:464:11 [INFO] [stdout] | [INFO] [stdout] 9 | let bar = MediaType::parse_flexible("foo/bar/baz"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::top (line 414) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:414:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 6 | let plain = MediaType::Plain; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::replace_raw (line 403) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:403:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:407:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/accept.rs - header::accept::Accept::first (line 178) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/accept.rs:178:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:182:37 [INFO] [stdout] | [INFO] [stdout] 6 | let accept = Accept::new(QMediaType(MediaType::XML, None)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/accept.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(accept.first(), Some(&MediaType::XML.into())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Accept` [INFO] [stdout] --> src/header/accept.rs:182:14 [INFO] [stdout] | [INFO] [stdout] 6 | let accept = Accept::new(QMediaType(MediaType::XML, None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::server::accept::Accept; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `QMediaType` in this scope [INFO] [stdout] --> src/header/accept.rs:182:26 [INFO] [stdout] | [INFO] [stdout] 6 | let accept = Accept::new(QMediaType(MediaType::XML, None)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::QMediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::extension (line 577) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:577:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(MediaType::JSON.extension().unwrap(), "json"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:582:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(MediaType::JPEG.extension().unwrap(), "jpeg"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:583:12 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(MediaType::JPEG.extension().unwrap(), "JPEG"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:584:12 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(MediaType::PDF.extension().unwrap(), "pdf"); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 428) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:433:23 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(html, Some(MediaType::HTML)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:436:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(json, Some(MediaType::JSON)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:432:12 [INFO] [stdout] | [INFO] [stdout] 6 | let html = MediaType::parse_flexible("html"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:435:12 [INFO] [stdout] | [INFO] [stdout] 9 | let json = MediaType::parse_flexible("json"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::as_uncased_str (line 548) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:548:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:552:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Content-Type"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::new (line 200) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:204:11 [INFO] [stdout] | [INFO] [stdout] 6 | let map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::specificity (line 458) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:458:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:462:10 [INFO] [stdout] | [INFO] [stdout] 6 | let mt = MediaType::Plain; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:468:10 [INFO] [stdout] | [INFO] [stdout] 12 | let mt = MediaType::Any; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:465:10 [INFO] [stdout] | [INFO] [stdout] 9 | let mt = MediaType::new("text", "*"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::contains (line 574) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:574:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:578:15 [INFO] [stdout] | [INFO] [stdout] 6 | let bananas = RawStr::new("bananas"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::len (line 234) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:234:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:238:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::is_empty (line 260) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:260:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:264:11 [INFO] [stdout] | [INFO] [stdout] 6 | let map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::replace (line 351) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:351:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/header.rs:356:13 [INFO] [stdout] | [INFO] [stdout] 7 | map.replace(ContentType::JSON); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::exact_eq (line 488) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:488:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:492:13 [INFO] [stdout] | [INFO] [stdout] 6 | let plain = MediaType::Plain; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:493:14 [INFO] [stdout] | [INFO] [stdout] 7 | let plain2 = MediaType::with_params("text", "plain", ("charset", "utf-8")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:494:18 [INFO] [stdout] | [INFO] [stdout] 8 | let just_plain = MediaType::new("text", "plain"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::remove_all (line 560) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:560:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:567:5 [INFO] [stdout] | [INFO] [stdout] 9 | Header::new("X-Custom", "value_1"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 10 | Header::new("X-Custom", "value_2"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:569:5 [INFO] [stdout] | [INFO] [stdout] 11 | Header::new("X-Other", "other") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:573:15 [INFO] [stdout] | [INFO] [stdout] 15 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::find (line 657) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:657:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:661:9 [INFO] [stdout] | [INFO] [stdout] 6 | let s = RawStr::new("Löwe 老虎 Léopard Gepardi"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::html_escape (line 347) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:347:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawStr` in this scope [INFO] [stdout] --> src/raw_str.rs:351:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str: &RawStr = "Hi!".into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawStr` in this scope [INFO] [stdout] --> src/raw_str.rs:355:15 [INFO] [stdout] | [INFO] [stdout] 10 | let raw_str: &RawStr = "Hello, world!".into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::as_str (line 487) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:487:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:491:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/parse/uri/error.rs - parse::uri::error::Error::index (line 35) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/parse/uri/error.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/parse/uri/error.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 6 | let err = Origin::parse("/foo bar").unwrap_err(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::replace (line 379) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:379:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/header.rs:385:13 [INFO] [stdout] | [INFO] [stdout] 8 | map.replace(ContentType::JSON); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:383:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:388:13 [INFO] [stdout] | [INFO] [stdout] 11 | map.replace(Header::new("CONTENT-type", "image/gif")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::from_cow_str (line 108) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:108:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 8 | let cow_raw = RawStr::from_cow_str(cow_str); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 441) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:441:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:446:23 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(html, Some(MediaType::HTML)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(json, Some(MediaType::JSON)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MediaType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:445:12 [INFO] [stdout] | [INFO] [stdout] 6 | let html = MediaType::parse_flexible("text/html; charset=utf-8"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:448:12 [INFO] [stdout] | [INFO] [stdout] 9 | let json = MediaType::parse_flexible("application/json"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:451:14 [INFO] [stdout] | [INFO] [stdout] 12 | let custom = MediaType::parse_flexible("application/x+custom"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:452:25 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(custom, Some(MediaType::new("application", "x+custom"))); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::new (line 89) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:93:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawStr` in this scope [INFO] [stdout] --> src/raw_str.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 9 | let raw_str: &RawStr = "Hello, world!".into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::replace (line 363) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:363:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/header.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 8 | map.replace(ContentType::JSON); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ContentType` [INFO] [stdout] --> src/header/header.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 11 | map.replace(ContentType::GIF); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ContentType` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:367:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::into_iter (line 646) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:646:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:652:5 [INFO] [stdout] | [INFO] [stdout] 8 | Header::new("X-Custom", "value_1"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:653:5 [INFO] [stdout] | [INFO] [stdout] 9 | Header::new("X-Other", "other"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Header` [INFO] [stdout] --> src/header/header.rs:654:5 [INFO] [stdout] | [INFO] [stdout] 10 | Header::new("X-Third", "third"), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Header; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:658:15 [INFO] [stdout] | [INFO] [stdout] 14 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::is_empty (line 465) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:465:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:469:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:472:15 [INFO] [stdout] | [INFO] [stdout] 9 | let raw_str = RawStr::new(""); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::into_cow_str (line 130) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:130:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:135:25 [INFO] [stdout] | [INFO] [stdout] 7 | let cow_raw = Cow::from(RawStr::new("hello!")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 8 | let cow_str = RawStr::into_cow_str(cow_raw); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::percent_decode (line 161) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:161:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:165:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello%21"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::with_params (line 326) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:326:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:331:10 [INFO] [stdout] | [INFO] [stdout] 7 | let mt = MediaType::with_params("text", "person", params); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::as_bytes (line 503) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:503:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:507:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("hi"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::len (line 449) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:449:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:453:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello, world!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::percent_decode (line 172) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:172:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:178:19 [INFO] [stdout] | [INFO] [stdout] 8 | let bad_raw_str = RawStr::new(bad_str); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/header.rs - header::header::HeaderMap::remove (line 535) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/header.rs:535:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HeaderMap` [INFO] [stdout] --> src/header/header.rs:539:15 [INFO] [stdout] | [INFO] [stdout] 6 | let mut map = HeaderMap::new(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::HeaderMap; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::HeaderMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::as_ptr (line 530) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:530:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:534:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("hi"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::parse (line 840) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:840:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 6 | let four: u32 = RawStr::new("4").parse().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::percent_encode (line 254) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:254:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:260:19 [INFO] [stdout] | [INFO] [stdout] 8 | let bad_raw_str = RawStr::new(bad_str); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::ends_with (line 629) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:629:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:633:15 [INFO] [stdout] | [INFO] [stdout] 6 | let bananas = RawStr::new("bananas"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::split (line 684) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:684:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:688:17 [INFO] [stdout] | [INFO] [stdout] 6 | let v: Vec<_> = RawStr::new("Mary had a little lamb") [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::strip_prefix (line 782) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:782:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(RawStr::new("foo:bar").strip_prefix("foo:").unwrap(), "bar"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:787:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(RawStr::new("foofoo").strip_prefix("foo").unwrap(), "foo"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:788:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(RawStr::new("foo:bar").strip_prefix("bar").is_none()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::html_escape (line 362) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:362:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawStr` in this scope [INFO] [stdout] --> src/raw_str.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str: &RawStr = "Hello!".into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawStr` in this scope [INFO] [stdout] --> src/raw_str.rs:370:15 [INFO] [stdout] | [INFO] [stdout] 10 | let raw_str: &RawStr = "大阪".into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::split_at_byte (line 718) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:718:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:722:16 [INFO] [stdout] | [INFO] [stdout] 6 | let haystack = RawStr::new("a good boy!"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:744:16 [INFO] [stdout] | [INFO] [stdout] 28 | let haystack = RawStr::new(""); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/header/media_type.rs - header::media_type::MediaType::with_params (line 316) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/header/media_type.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MediaType` [INFO] [stdout] --> src/header/media_type.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 6 | let id = MediaType::with_params("application", "x-id", ("id", "1")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::MediaType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::percent_encode (line 243) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:243:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:247:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello%21"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::starts_with (line 602) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:602:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:606:15 [INFO] [stdout] | [INFO] [stdout] 6 | let bananas = RawStr::new("bananas"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::strip_suffix (line 808) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:808:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:812:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(RawStr::new("bar:foo").strip_suffix(":foo").unwrap(), "bar"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:813:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(RawStr::new("foofoo").strip_suffix("foo").unwrap(), "foo"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:814:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(RawStr::new("bar:foo").strip_suffix("bar").is_none()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status::new (line 274) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:274:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 6 | let custom = Status::new(299); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status::class (line 270) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:270:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:274:18 [INFO] [stdout] | [INFO] [stdout] 6 | let processing = Status::Processing; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusClass` [INFO] [stdout] --> src/status.rs:275:32 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(processing.class(), StatusClass::Informational); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StatusClass` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:277:10 [INFO] [stdout] | [INFO] [stdout] 9 | let ok = Status::Ok; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusClass` [INFO] [stdout] --> src/status.rs:278:24 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(ok.class(), StatusClass::Success); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StatusClass` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 12 | let see_other = Status::SeeOther; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusClass` [INFO] [stdout] --> src/status.rs:281:31 [INFO] [stdout] | [INFO] [stdout] 13 | assert_eq!(see_other.class(), StatusClass::Redirection); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StatusClass` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:283:17 [INFO] [stdout] | [INFO] [stdout] 15 | let not_found = Status::NotFound; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusClass` [INFO] [stdout] --> src/status.rs:284:31 [INFO] [stdout] | [INFO] [stdout] 16 | assert_eq!(not_found.class(), StatusClass::ClientError); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StatusClass` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:286:22 [INFO] [stdout] | [INFO] [stdout] 18 | let internal_error = Status::InternalServerError; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusClass` [INFO] [stdout] --> src/status.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(internal_error.class(), StatusClass::ServerError); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StatusClass` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusClass` [INFO] [stdout] --> src/status.rs:290:28 [INFO] [stdout] | [INFO] [stdout] 22 | assert_eq!(custom.class(), StatusClass::Unknown); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `StatusClass` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:289:14 [INFO] [stdout] | [INFO] [stdout] 21 | let custom = Status::new(600); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::percent_decode_lossy (line 194) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:194:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:198:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello%21"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStrBuf::into_string (line 72) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStrBuf` [INFO] [stdout] --> src/raw_str.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 6 | let raw = RawStrBuf::from(format!("hello {}", "world")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStrBuf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status::reason (line 273) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Status::Created.reason(), Some("Created")); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Status::new(200).reason(), Some("OK")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::authority (line 195) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 10 | let uri = uri!("file:/web/home"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("https://rocket.rs:80"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::url_decode_lossy (line 316) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:316:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:322:19 [INFO] [stdout] | [INFO] [stdout] 8 | let bad_raw_str = RawStr::new(bad_str); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::normalize (line 302) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/uri/absolute.rs:303:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::uri::Absolute; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut uri = Absolute::parse("git://rocket.rs/").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 10 | let mut uri = Absolute::parse("http:/foo//bar").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:315:15 [INFO] [stdout] | [INFO] [stdout] 15 | let mut uri = Absolute::parse("foo:bar?baz&&bop").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Absolute; [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/raw_str.rs - raw_str::RawStr::url_decode (line 278) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:282:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str = RawStr::new("Hello%2C+world%21"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status::from_code (line 283) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 6 | let unknown = Status::from_code(600); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::percent_decode_lossy (line 205) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:205:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RawStr` [INFO] [stdout] --> src/raw_str.rs:211:19 [INFO] [stdout] | [INFO] [stdout] 8 | let bad_raw_str = RawStr::new(bad_str); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/raw_str.rs - raw_str::RawStr::url_decode_lossy (line 305) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/raw_str.rs:305:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RawStr` in this scope [INFO] [stdout] --> src/raw_str.rs:309:15 [INFO] [stdout] | [INFO] [stdout] 6 | let raw_str: &RawStr = "Hello%2C+world%21".into(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::RawStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status (line 52) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 7 | let ok = Status::Ok; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 11 | let not_found = Status::NotFound; [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 16 | let gone = Status::new(410); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 21 | let custom = Status::new(599); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status::from_code (line 273) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:278:28 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(not_found, Some(Status::NotFound)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:277:17 [INFO] [stdout] | [INFO] [stdout] 6 | let not_found = Status::from_code(404); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute (line 53) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(!Absolute::parse(uri).unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status::reason (line 283) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:283:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Status::new(499).reason(), None); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute (line 37) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:46:15 [INFO] [stdout] | [INFO] [stdout] 11 | let uri = Absolute::parse(uri).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::scheme (line 181) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:181:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:183:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("ftp://127.0.0.1"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::is_normalized (line 270) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:270:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(uri!("http://rocket.rs///foo////bar").is_normalized()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(uri!("http://rocket.rs").is_normalized()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(Absolute::parse("http:/").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(Absolute::parse("http://").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(Absolute::parse("http://foo.rs/foo/bar").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(Absolute::parse("foo:bar").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:282:10 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(!Absolute::parse("git://rocket.rs/").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:283:10 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!Absolute::parse("http:/foo//bar").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(!Absolute::parse("foo:bar?baz&&bop").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/status.rs - status::Status (line 83) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/status.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 9 | (Status::NotFound, "Hey, there's no index!") [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Status` in this scope [INFO] [stdout] --> src/status.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 8 | fn index() -> (Status, &'static str) { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::clear_query (line 249) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:249:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:251:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut uri = uri!("ftp://rocket.rs/foo?bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::into_normalized (line 342) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/uri/absolute.rs:343:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::uri::Absolute; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:345:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut uri = Absolute::parse("git://rocket.rs/").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 9 | let mut uri = Absolute::parse("http:/foo//bar").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:353:15 [INFO] [stdout] | [INFO] [stdout] 13 | let mut uri = Absolute::parse("foo:bar?baz&&bop").unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Absolute; [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/status.rs - status::Status::reason_lossy (line 272) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/status.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(Status::NotFound.reason_lossy(), "Not Found"); [INFO] [stdout] | ^^^^^^ use of undeclared type `Status` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 7 | assert_eq!(Status::new(100).reason_lossy(), "Continue"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Status` [INFO] [stdout] --> src/status.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(!Status::new(699).reason_lossy().is_empty()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::Status; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/asterisk.rs - uri::asterisk::Asterisk::parse_owned (line 52) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/asterisk.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asterisk` [INFO] [stdout] --> src/uri/asterisk.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Asterisk::parse_owned("*".to_string()).is_ok()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Asterisk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asterisk` [INFO] [stdout] --> src/uri/asterisk.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(Asterisk::parse_owned("/foo/bar".to_string()).is_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Asterisk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/authority.rs - uri::authority::Authority::parse (line 113) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/authority.rs:113:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:127:11 [INFO] [stdout] | [INFO] [stdout] 16 | let uri = uri!("user:pass@host"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Authority` [INFO] [stdout] --> src/uri/authority.rs:118:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Authority::parse("user:pass@host").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Authority` [INFO] [stdout] --> src/uri/authority.rs:124:1 [INFO] [stdout] | [INFO] [stdout] 13 | Authority::parse("https://rocket.rs").expect_err("invalid authority"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::with_authority (line 388) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:388:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:395:21 [INFO] [stdout] | [INFO] [stdout] 9 | let new_authority = uri!("rocket.rs"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:390:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("https://rocket.rs:80"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 150) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:150:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:155:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `post` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:172:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[post("/?")] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 27 | let uri = uri!(some_route(name = "hey", user = ("Robert Mike", "Bob"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:158:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay for User<'_> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay for User<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:159:27 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromUriParam` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b> FromUriParam for User<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::FromUriParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:165:27 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'a, 'b> FromUriParam for User<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::path (line 215) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:215:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:220:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = uri!("ftp://rocket.rs"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:217:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("ftp://rocket.rs/foo/bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::parse (line 120) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:132:11 [INFO] [stdout] | [INFO] [stdout] 14 | let uri = uri!("https://rocket.rs"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Absolute::parse("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_raw (line 184) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/formatter.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:192:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay

for Foo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Part` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay

for Foo { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter

) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:201:45 [INFO] [stdout] | [INFO] [stdout] 19 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:201:56 [INFO] [stdout] | [INFO] [stdout] 19 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/authority.rs - uri::authority::Authority::port (line 209) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/authority.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = uri!("username:password@host"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 8 | let uri = uri!("domain.com:8181"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 5 | let uri = uri!("username:password@host:123"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::Ignorable (line 443) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:443:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Ignorable` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:448:6 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ignorable for MyType { } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Ignorable; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:448:16 [INFO] [stdout] | [INFO] [stdout] 7 | impl Ignorable for MyType { } [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::refresh (line 276) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/formatter.rs:276:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:308:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:284:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay for Foo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:284:17 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay for Foo { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:285:37 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:293:45 [INFO] [stdout] | [INFO] [stdout] 19 | let uri_string = format!("{}", &Foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:293:56 [INFO] [stdout] | [INFO] [stdout] 19 | let uri_string = format!("{}", &Foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:296:6 [INFO] [stdout] | [INFO] [stdout] 22 | impl UriDisplay for Foo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:296:17 [INFO] [stdout] | [INFO] [stdout] 22 | impl UriDisplay for Foo { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:297:27 [INFO] [stdout] | [INFO] [stdout] 23 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:297:37 [INFO] [stdout] | [INFO] [stdout] 23 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:305:45 [INFO] [stdout] | [INFO] [stdout] 31 | let uri_string = format!("{}", &Foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:305:56 [INFO] [stdout] | [INFO] [stdout] 31 | let uri_string = format!("{}", &Foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:314:45 [INFO] [stdout] | [INFO] [stdout] 40 | let uri_string = format!("{}", &msg as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:314:56 [INFO] [stdout] | [INFO] [stdout] 40 | let uri_string = format!("{}", &msg as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter (line 114) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/formatter.rs:114:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:131:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay

for Complex { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Part` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay

for Complex { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:123:27 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter

) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:128:58 [INFO] [stdout] | [INFO] [stdout] 16 | let uri_string = format!("{}", &Complex(42, 231) as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:128:69 [INFO] [stdout] | [INFO] [stdout] 16 | let uri_string = format!("{}", &Complex(42, 231) as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:137:49 [INFO] [stdout] | [INFO] [stdout] 25 | let uri_string = format!("{}", &message as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:137:60 [INFO] [stdout] | [INFO] [stdout] 25 | let uri_string = format!("{}", &message as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::query (line 232) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:232:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = uri!("ftp://rocket.rs"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("ftp://rocket.rs/foo?bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::parse_owned (line 151) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:151:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Absolute` [INFO] [stdout] --> src/uri/absolute.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Absolute::parse_owned(source).expect("valid URI"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter (line 63) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/formatter.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl UriDisplay for Outer { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 19 | impl UriDisplay for Outer { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:81:27 [INFO] [stdout] | [INFO] [stdout] 20 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:81:37 [INFO] [stdout] | [INFO] [stdout] 20 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:90:6 [INFO] [stdout] | [INFO] [stdout] 29 | impl UriDisplay for Inner { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 29 | impl UriDisplay for Inner { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 30 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 30 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 39 | let uri_string = format!("{}", &outer as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:100:58 [INFO] [stdout] | [INFO] [stdout] 39 | let uri_string = format!("{}", &outer as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/authority.rs - uri::authority::Authority::user_info (line 172) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/authority.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:174:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("username:password@host"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/asterisk.rs - uri::asterisk::Asterisk::parse (line 32) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/asterisk.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/asterisk.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 10 | let uri = uri!("*"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asterisk` [INFO] [stdout] --> src/uri/asterisk.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Asterisk::parse("*").is_ok()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Asterisk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Asterisk` [INFO] [stdout] --> src/uri/asterisk.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(Asterisk::parse("/foo/bar").is_err()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Asterisk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Asterisk` in this scope [INFO] [stdout] --> src/uri/asterisk.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 11 | assert_eq!(uri, Asterisk); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Asterisk; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri::Asterisk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 233) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `impl_from_uri_param_identity` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:272:1 [INFO] [stdout] | [INFO] [stdout] 41 | impl_from_uri_param_identity!([Path] ('a) Name<'a>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] rocket_http::impl_from_uri_param_identity [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:274:3 [INFO] [stdout] | [INFO] [stdout] 43 | #[get("/name/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:276:18 [INFO] [stdout] | [INFO] [stdout] 45 | Redirect::to(uri!(real(name))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:279:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[get("/")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 53 | let uri = uri!(real(Name("Mike Smith".into()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Redirect` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 45 | Redirect::to(uri!(real(name))) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Redirect` [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromParam` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:241:10 [INFO] [stdout] | [INFO] [stdout] 10 | impl<'r> FromParam<'r> for Name<'r> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:261:6 [INFO] [stdout] | [INFO] [stdout] 30 | impl UriDisplay for Name<'_> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 30 | impl UriDisplay for Name<'_> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:266:27 [INFO] [stdout] | [INFO] [stdout] 35 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:266:37 [INFO] [stdout] | [INFO] [stdout] 35 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UriDisplay` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 37 | UriDisplay::fmt(&self.0, f) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Redirect` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:275:34 [INFO] [stdout] | [INFO] [stdout] 44 | fn redirector(name: Name<'_>) -> Redirect { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_named_value (line 373) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/formatter.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:385:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl UriDisplay for Foo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:385:17 [INFO] [stdout] | [INFO] [stdout] 14 | impl UriDisplay for Foo { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:386:27 [INFO] [stdout] | [INFO] [stdout] 15 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:386:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:392:45 [INFO] [stdout] | [INFO] [stdout] 21 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:392:56 [INFO] [stdout] | [INFO] [stdout] 21 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 59) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:61:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/item/?")] [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin (line 72) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 13 | let abnormal = Origin::parse(invalid[i]).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:84:20 [INFO] [stdout] | [INFO] [stdout] 14 | let expected = Origin::parse(invalid[i + (invalid.len() / 2)]).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/absolute.rs - uri::absolute::Absolute::set_authority (line 366) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/absolute.rs:366:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:373:21 [INFO] [stdout] | [INFO] [stdout] 9 | let new_authority = uri!("rocket.rs:443"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/absolute.rs:368:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut uri = uri!("https://rocket.rs:80"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_value (line 240) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/formatter.rs:240:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay

for Foo { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Part` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl UriDisplay

for Foo { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 11 | fn fmt(&self, f: &mut Formatter

) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 18 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:256:56 [INFO] [stdout] | [INFO] [stdout] 18 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:259:45 [INFO] [stdout] | [INFO] [stdout] 21 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/formatter.rs:259:56 [INFO] [stdout] | [INFO] [stdout] 21 | let uri_string = format!("{}", &foo as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 38) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:43:15 [INFO] [stdout] | [INFO] [stdout] 7 | impl UriDisplay

for SomeType [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Part` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 7 | impl UriDisplay

for SomeType [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 8 | { fn fmt(&self, f: &mut Formatter

) -> fmt::Result { Ok(()) } } [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 41) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromUriParam` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a, P: Part> FromUriParam for String { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::FromUriParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Part` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 7 | impl<'a, P: Part> FromUriParam for String { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Part; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::parse (line 236) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:236:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:249:11 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = uri!("/a/b/c?query"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:241:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Origin::parse("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:246:1 [INFO] [stdout] | [INFO] [stdout] 12 | Origin::parse("foo bar").expect_err("invalid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 175) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayQuery` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:179:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(UriDisplayQuery)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `UriDisplayPath` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:190:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(UriDisplayPath)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:186:46 [INFO] [stdout] | [INFO] [stdout] 13 | let uri_string = format!("{}", &user as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:186:57 [INFO] [stdout] | [INFO] [stdout] 13 | let uri_string = format!("{}", &user as &dyn UriDisplay); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:194:46 [INFO] [stdout] | [INFO] [stdout] 21 | let uri_string = format!("{}", &name as &dyn UriDisplay); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:194:57 [INFO] [stdout] | [INFO] [stdout] 21 | let uri_string = format!("{}", &name as &dyn UriDisplay); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/authority.rs - uri::authority::Authority::parse_owned (line 145) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/authority.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Authority` [INFO] [stdout] --> src/uri/authority.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Authority::parse_owned(source).expect("valid URI"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::Ignorable (line 424) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:424:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:435:1 [INFO] [stdout] | [INFO] [stdout] 13 | uri!(get_item(id = 100, track = Some(4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 12 | uri!(get_item(100, Some(4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 9 | uri!(get_item(id = 100, track = _)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:430:1 [INFO] [stdout] | [INFO] [stdout] 8 | uri!(get_item(100, _)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:426:3 [INFO] [stdout] | [INFO] [stdout] 4 | #[get("/item/?")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 120) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `FromForm` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(FromForm)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:132:6 [INFO] [stdout] | [INFO] [stdout] 14 | impl UriDisplay for User<'_> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 14 | impl UriDisplay for User<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Formatter` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:133:27 [INFO] [stdout] | [INFO] [stdout] 15 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use core::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::Formatter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:133:37 [INFO] [stdout] | [INFO] [stdout] 15 | fn fmt(&self, f: &mut Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromUriParam` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a, 'b> FromUriParam for User<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::FromUriParam; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/from_uri_param.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a, 'b> FromUriParam for User<'a> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/authority.rs - uri::authority::Authority::host (line 188) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/authority.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 11 | let uri = uri!("username:password@[1::2]:123"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 8 | let uri = uri!("username:password@host:123"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/authority.rs:191:11 [INFO] [stdout] | [INFO] [stdout] 5 | let uri = uri!("domain.com:123"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 67) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 20 | uri!(get_item(id = 100, track = None as Option<&str>)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 19 | uri!(get_item(track = _, id = 100)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 18 | uri!(get_item(id = 100, track = _)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 17 | uri!(get_item(100, None as Option)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 16 | uri!(get_item(100, _)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 13 | uri!(get_item(track = Some("inbound"), id = 100)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 12 | uri!(get_item(id = 100, track = Some("inbound"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 9 | uri!(get_item(100, Some("inbound"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `get` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 5 | #[get("/item/?")] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Path::segments (line 169) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Origin::parse("/a%20b/b%2Fc/d//e?query=some").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin (line 37) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(Origin::parse(uri).unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::normalize (line 434) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:434:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:438:20 [INFO] [stdout] | [INFO] [stdout] 6 | let mut abnormal = Origin::parse("/a/b/c//d").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Path::raw_segments (line 129) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/path_query.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 14 | let uri = uri!("//"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:133:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Origin::parse("/").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:136:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Origin::parse("//").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 17 | let uri = Origin::parse("/a").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 21 | let uri = Origin::parse("/a//b///c/d?query¶m").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::map_path (line 348) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:348:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:366:11 [INFO] [stdout] | [INFO] [stdout] 20 | let uri = uri!("/a/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:363:11 [INFO] [stdout] | [INFO] [stdout] 17 | let uri = uri!("/a"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:359:16 [INFO] [stdout] | [INFO] [stdout] 13 | let expected = uri!("/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:358:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = uri!("/a/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:354:11 [INFO] [stdout] | [INFO] [stdout] 8 | let uri = uri!("/a/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 5 | let expected_uri = uri!("/a/b/c/d"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:350:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/a/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::path (line 308) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:308:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:313:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = uri!("/a/b/c?name=bob"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:310:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/a/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin (line 54) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:54:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(!Origin::parse(uri).unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::query (line 326) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:326:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:331:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = uri!("/a/b/c"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:328:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/a/b/c?alphabet=true"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Query::segments (line 291) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:295:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Origin::parse("/").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:298:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Origin::parse("/foo/bar?a+b%2F=some+one%40gmail.com&&%26%3D2").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::is_normalized (line 409) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:409:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:421:9 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(uri!("/a?q&&b").is_normalized()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:420:9 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(uri!("/a/b/c//d").is_normalized()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Origin::parse("/").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(Origin::parse("/a/b/c").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:415:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(Origin::parse("/a/b/c?a=b&c").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:417:10 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!Origin::parse("/a/b/c//d").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:418:10 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(!Origin::parse("/a?q&&b").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::into_normalized (line 386) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/uri/reference.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::uri::Reference; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:389:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut uri = Reference::parse("git://rocket.rs/").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 9 | let mut uri = Reference::parse("http:/foo//bar?baz&&#cat").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:397:15 [INFO] [stdout] | [INFO] [stdout] 13 | let mut uri = Reference::parse("foo:bar?baz&&bop").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Reference; [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/uri/origin.rs - uri::origin::Origin::parse_owned (line 284) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:289:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Origin::parse_owned(source).expect("valid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Path::as_str (line 87) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:87:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/path_query.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo%20bar%2dbaz"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference (line 31) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 11 | let origin = uri!("/foo/bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 6 | let absolute = uri!("http://rocket.rs"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/uri/reference.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 7 | let reference: Reference = absolute.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/uri/reference.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 12 | let reference: Reference = origin.into(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::authority (line 233) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:233:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:239:11 [INFO] [stdout] | [INFO] [stdout] 8 | let uri = uri!("?foo#bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 5 | let auth = uri!("rocket.rs:4444"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:235:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("http://rocket.rs:4444?foo#bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Query::as_str (line 209) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:209:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/path_query.rs:211:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo/bar?baz+bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 91) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/fmt/uri_display.rs:96:1 [INFO] [stdout] | [INFO] [stdout] 7 | Origin::parse(&format!("/item/{}?track={}", [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:97:18 [INFO] [stdout] | [INFO] [stdout] 8 | &100 as &dyn UriDisplay, &"inbound" as &dyn UriDisplay)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Path` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 8 | &100 as &dyn UriDisplay, &"inbound" as &dyn UriDisplay)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Path; [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UriDisplay` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:97:55 [INFO] [stdout] | [INFO] [stdout] 8 | &100 as &dyn UriDisplay, &"inbound" as &dyn UriDisplay)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::UriDisplay; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Query` in this scope [INFO] [stdout] --> src/uri/fmt/uri_display.rs:97:66 [INFO] [stdout] | [INFO] [stdout] 8 | &100 as &dyn UriDisplay, &"inbound" as &dyn UriDisplay)); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Query; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::fmt::Query; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::fragment (line 286) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:292:11 [INFO] [stdout] | [INFO] [stdout] 8 | let uri = uri!("http://rocket.rs/guide?foo#"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:288:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("http://rocket.rs/guide?foo#bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Path::raw (line 73) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/path_query.rs:75:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo%20bar%2dbaz"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::clear_query (line 389) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:389:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/origin.rs:391:15 [INFO] [stdout] | [INFO] [stdout] 4 | let mut uri = uri!("/a/b/c?query=some"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/path_query.rs - uri::path_query::Query::raw (line 195) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:195:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/path_query.rs:197:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo?baz+bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/origin.rs - uri::origin::Origin::into_normalized (line 463) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/origin.rs:463:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/origin.rs:467:16 [INFO] [stdout] | [INFO] [stdout] 6 | let abnormal = Origin::parse("/a/b/c//d").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::normalize (line 346) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rocket` [INFO] [stdout] --> src/uri/reference.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rocket::http::uri::Reference; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `rocket` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:349:15 [INFO] [stdout] | [INFO] [stdout] 5 | let mut uri = Reference::parse("git://rocket.rs/").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 10 | let mut uri = Reference::parse("http:/foo//bar?baz&&#cat").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:359:15 [INFO] [stdout] | [INFO] [stdout] 15 | let mut uri = Reference::parse("foo:bar?baz&&bop").unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use rocket_http::uri::Reference; [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/uri/path_query.rs - uri::path_query::Query::raw_segments (line 248) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/path_query.rs:248:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/path_query.rs:265:11 [INFO] [stdout] | [INFO] [stdout] 19 | let uri = uri!("/?&"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:252:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Origin::parse("/").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:255:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Origin::parse("/?a=b&dog").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:260:11 [INFO] [stdout] | [INFO] [stdout] 14 | let uri = Origin::parse("/?&").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/path_query.rs:269:11 [INFO] [stdout] | [INFO] [stdout] 23 | let uri = Origin::parse("/foo/bar?a+b%2F=some+one%40gmail.com&&%26%3D2").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::is_empty (line 79) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo/bar?baz&cat&car"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::get (line 123) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:125:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo/bar/baaaz/cat"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/uri.rs - uri::uri::Uri::absolute (line 196) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/uri.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("/path")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("http://rocket.rs")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:200:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("http://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Absolute` in this scope [INFO] [stdout] --> src/uri/uri.rs:200:24 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("http://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:203:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("http://rocket.rs")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:206:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("/path").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Origin` in this scope [INFO] [stdout] --> src/uri/uri.rs:206:24 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("/path").expect("valid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:209:11 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("/path")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::is_normalized (line 309) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 21 | assert!(uri!("http://rocket.rs///foo////bar#cat").is_normalized()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:327:9 [INFO] [stdout] | [INFO] [stdout] 20 | assert!(uri!("http://rocket.rs#foo").is_normalized()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:313:9 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(Reference::parse("foo/bar").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 7 | assert!(Reference::parse("foo/bar#").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(Reference::parse("http://").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:316:9 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(Reference::parse("http://foo.rs/foo/bar").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(Reference::parse("foo:bar#baz").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(Reference::parse("http://rocket.rs#foo").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:320:10 [INFO] [stdout] | [INFO] [stdout] 13 | assert!(!Reference::parse("http://?").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 14 | assert!(!Reference::parse("git://rocket.rs/").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 15 | assert!(!Reference::parse("http:/foo//bar").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 16 | assert!(!Reference::parse("foo:bar?baz&&bop#c").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:324:10 [INFO] [stdout] | [INFO] [stdout] 17 | assert!(!Reference::parse("http://rocket.rs?#foo").unwrap().is_normalized()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::query (line 265) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:274:11 [INFO] [stdout] | [INFO] [stdout] 11 | let uri = uri!("http://rocket.rs/guide?#bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:270:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = uri!("http://rocket.rs/guide?q=bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:267:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("http://rocket.rs/guide?foo#bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::len (line 53) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo/bar?baz&cat&car"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::prefix_of (line 144) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 11 | let b = uri!("/dog/foo/bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 10 | let a = uri!("/foo/bar/baaaz/cat"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 5 | let b = uri!("/foo/bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 4 | let a = uri!("/foo/bar/baaaz/cat"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::get (line 238) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:238:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:240:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/?foo=1&bar=hi+there&baaaz&cat=dog&=oh"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::parse (line 153) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:153:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = uri!("/a/b/c?query#fragment"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Reference::parse("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:163:1 [INFO] [stdout] | [INFO] [stdout] 12 | Reference::parse("foo bar").expect_err("invalid URI"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::path (line 251) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:251:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:253:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("http://rocket.rs/guide?foo#bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::parse_owned (line 184) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:184:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Reference` [INFO] [stdout] --> src/uri/reference.rs:189:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Reference::parse_owned(source).unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/uri.rs - uri::uri::Uri::authority (line 168) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/uri.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:181:21 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("https://rocket.rs")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:175:21 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("user:pass@domain.com")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("user:pass@domain.com").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Authority` in this scope [INFO] [stdout] --> src/uri/uri.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("user:pass@domain.com").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Authority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("user:pass@domain.com")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:178:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Absolute` in this scope [INFO] [stdout] --> src/uri/uri.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:181:11 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("https://rocket.rs")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::skip (line 99) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:99:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("/foo/bar/baz/cat"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/reference.rs - uri::reference::Reference::scheme (line 213) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/reference.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:221:11 [INFO] [stdout] | [INFO] [stdout] 10 | let uri = uri!("?foo#bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:218:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = uri!("ftp:/?foo#bar"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/reference.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 4 | let uri = uri!("http://rocket.rs?foo#bar"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/uri.rs - uri::uri::Uri::parse_any (line 110) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/uri.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:128:19 [INFO] [stdout] | [INFO] [stdout] 20 | let uri: Origin = uri!("/a/b/c?query"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:129:22 [INFO] [stdout] | [INFO] [stdout] 21 | let uri: Reference = uri!("/a/b/c?query#fragment"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Uri::parse_any("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:120:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse_any("/a/b/c?query#fragment").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Origin` in this scope [INFO] [stdout] --> src/uri/uri.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 20 | let uri: Origin = uri!("/a/b/c?query"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/uri/uri.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 21 | let uri: Reference = uri!("/a/b/c?query#fragment"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/uri.rs - uri::uri::Uri::origin (line 140) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/uri.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:153:21 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("https://rocket.rs")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("/a/b/c?query")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Origin` in this scope [INFO] [stdout] --> src/uri/uri.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("/a/b/c?query")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Absolute` in this scope [INFO] [stdout] --> src/uri/uri.rs:150:24 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("https://rocket.rs")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments::to_path_buf (line 189) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:189:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/segments.rs:193:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = uri!("/a/b/c/d/.pass"); [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 E0463`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/segments.rs - uri::segments::Segments (line 16) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/segments.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Origin` [INFO] [stdout] --> src/uri/segments.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Origin::parse("/a%20z/////b/c////////d").unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/uri.rs - uri::uri::Uri::parse (line 64) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/uri.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 14 | let origin = uri!("/a/b/c?query"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Uri::parse::("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Origin` in this scope [INFO] [stdout] --> src/uri/uri.rs:69:24 [INFO] [stdout] | [INFO] [stdout] 7 | let uri = Uri::parse::("/a/b/c?query").expect("valid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 19 | Uri::parse::("foo bar").expect_err("invalid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Origin` in this scope [INFO] [stdout] --> src/uri/uri.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 19 | Uri::parse::("foo bar").expect_err("invalid URI"); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Origin; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/uri/uri.rs - uri::uri::Uri::reference (line 224) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `rocket` [INFO] [stdout] --> src/uri/uri.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] extern crate rocket; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:237:21 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("https://rocket.rs")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error: cannot find macro `uri` in this scope [INFO] [stdout] --> src/uri/uri.rs:231:21 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("foo/bar")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:228:11 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("foo/bar").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reference` in this scope [INFO] [stdout] --> src/uri/uri.rs:228:24 [INFO] [stdout] | [INFO] [stdout] 6 | let uri = Uri::parse::("foo/bar").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Reference; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:231:11 [INFO] [stdout] | [INFO] [stdout] 9 | let uri = Uri::from(uri!("foo/bar")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:234:11 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Absolute` in this scope [INFO] [stdout] --> src/uri/uri.rs:234:24 [INFO] [stdout] | [INFO] [stdout] 12 | let uri = Uri::parse::("https://rocket.rs").expect("valid URI"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Absolute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uri` [INFO] [stdout] --> src/uri/uri.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 15 | let uri = Uri::from(uri!("https://rocket.rs")); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use http::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::hyper::Uri; [INFO] [stdout] | [INFO] [stdout] 3 | use rocket_http::uri::Uri; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/header/accept.rs - header::accept::Accept (line 35) [INFO] [stdout] src/header/accept.rs - header::accept::Accept (line 48) [INFO] [stdout] src/header/accept.rs - header::accept::Accept::first (line 178) [INFO] [stdout] src/header/accept.rs - header::accept::Accept::iter (line 196) [INFO] [stdout] src/header/accept.rs - header::accept::Accept::media_types (line 225) [INFO] [stdout] src/header/accept.rs - header::accept::Accept::new (line 95) [INFO] [stdout] src/header/accept.rs - header::accept::Accept::preferred (line 131) [INFO] [stdout] src/header/accept.rs - header::accept::QMediaType::media_type (line 335) [INFO] [stdout] src/header/accept.rs - header::accept::QMediaType::weight (line 300) [INFO] [stdout] src/header/accept.rs - header::accept::QMediaType::weight_or (line 316) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType (line 23) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType (line 36) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::extension (line 294) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::extension (line 306) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::fmt (line 370) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::from_extension (line 285) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::from_extension (line 298) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::from_str (line 320) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::from_str (line 332) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::from_str (line 345) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::media_type (line 277) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::new (line 219) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 257) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 270) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::parse_flexible (line 286) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::with_params (line 246) [INFO] [stdout] src/header/content_type.rs - header::content_type::ContentType::with_params (line 256) [INFO] [stdout] src/header/header.rs - header::header::Header::is_valid_value (line 77) [INFO] [stdout] src/header/header.rs - header::header::Header::name (line 131) [INFO] [stdout] src/header/header.rs - header::header::Header::name (line 143) [INFO] [stdout] src/header/header.rs - header::header::Header::new (line 29) [INFO] [stdout] src/header/header.rs - header::header::Header::new (line 39) [INFO] [stdout] src/header/header.rs - header::header::Header::value (line 162) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::add (line 454) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::add_all (line 503) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::add_raw (line 477) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::contains (line 215) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::get (line 277) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::get_one (line 307) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::get_one (line 323) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::into_iter (line 646) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::is_empty (line 260) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::iter (line 601) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::len (line 234) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::new (line 200) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::remove (line 535) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::remove_all (line 560) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::replace (line 351) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::replace (line 363) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::replace (line 379) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::replace_all (line 429) [INFO] [stdout] src/header/header.rs - header::header::HeaderMap::replace_raw (line 403) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType (line 31) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::const_new (line 361) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::exact_eq (line 488) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::extension (line 577) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::extension (line 589) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::from_extension (line 456) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::from_extension (line 469) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::new (line 288) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::params (line 529) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::params (line 541) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 428) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 441) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::parse_flexible (line 457) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::specificity (line 458) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::sub (line 433) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::top (line 414) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::with_params (line 316) [INFO] [stdout] src/header/media_type.rs - header::media_type::MediaType::with_params (line 326) [INFO] [stdout] src/method.rs - method::Method::as_str (line 81) [INFO] [stdout] src/method.rs - method::Method::supports_payload (line 62) [INFO] [stdout] src/parse/uri/error.rs - parse::uri::error::Error::index (line 35) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::as_bytes (line 503) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::as_ptr (line 530) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::as_str (line 487) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::as_uncased_str (line 548) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::contains (line 574) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::ends_with (line 629) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::find (line 657) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::from_cow_str (line 108) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::html_escape (line 347) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::html_escape (line 362) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::into_cow_str (line 130) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::is_empty (line 465) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::len (line 449) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::new (line 89) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::parse (line 840) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::percent_decode (line 161) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::percent_decode (line 172) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::percent_decode_lossy (line 194) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::percent_decode_lossy (line 205) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::percent_encode (line 243) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::percent_encode (line 254) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::split (line 684) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::split_at_byte (line 718) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::starts_with (line 602) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::strip_prefix (line 782) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::strip_suffix (line 808) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::url_decode (line 278) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::url_decode_lossy (line 305) [INFO] [stdout] src/raw_str.rs - raw_str::RawStr::url_decode_lossy (line 316) [INFO] [stdout] src/raw_str.rs - raw_str::RawStrBuf::into_string (line 72) [INFO] [stdout] src/status.rs - status::Status (line 52) [INFO] [stdout] src/status.rs - status::Status (line 83) [INFO] [stdout] src/status.rs - status::Status::class (line 270) [INFO] [stdout] src/status.rs - status::Status::from_code (line 273) [INFO] [stdout] src/status.rs - status::Status::from_code (line 283) [INFO] [stdout] src/status.rs - status::Status::new (line 274) [INFO] [stdout] src/status.rs - status::Status::reason (line 273) [INFO] [stdout] src/status.rs - status::Status::reason (line 283) [INFO] [stdout] src/status.rs - status::Status::reason_lossy (line 272) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute (line 37) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute (line 53) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::authority (line 195) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::clear_query (line 249) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::into_normalized (line 342) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::is_normalized (line 270) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::normalize (line 302) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::parse (line 120) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::parse_owned (line 151) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::path (line 215) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::query (line 232) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::scheme (line 181) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::set_authority (line 366) [INFO] [stdout] src/uri/absolute.rs - uri::absolute::Absolute::with_authority (line 388) [INFO] [stdout] src/uri/asterisk.rs - uri::asterisk::Asterisk::parse (line 32) [INFO] [stdout] src/uri/asterisk.rs - uri::asterisk::Asterisk::parse_owned (line 52) [INFO] [stdout] src/uri/authority.rs - uri::authority::Authority::host (line 188) [INFO] [stdout] src/uri/authority.rs - uri::authority::Authority::parse (line 113) [INFO] [stdout] src/uri/authority.rs - uri::authority::Authority::parse_owned (line 145) [INFO] [stdout] src/uri/authority.rs - uri::authority::Authority::port (line 209) [INFO] [stdout] src/uri/authority.rs - uri::authority::Authority::user_info (line 172) [INFO] [stdout] src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter (line 114) [INFO] [stdout] src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter (line 63) [INFO] [stdout] src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::refresh (line 276) [INFO] [stdout] src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_named_value (line 373) [INFO] [stdout] src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_raw (line 184) [INFO] [stdout] src/uri/fmt/formatter.rs - uri::fmt::formatter::Formatter::write_value (line 240) [INFO] [stdout] src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 120) [INFO] [stdout] src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 150) [INFO] [stdout] src/uri/fmt/from_uri_param.rs - uri::fmt::from_uri_param::FromUriParam (line 41) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::Ignorable (line 424) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::Ignorable (line 443) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 175) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 233) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 38) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 59) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 67) [INFO] [stdout] src/uri/fmt/uri_display.rs - uri::fmt::uri_display::UriDisplay (line 91) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin (line 37) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin (line 54) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin (line 72) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::clear_query (line 389) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::into_normalized (line 463) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::is_normalized (line 409) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::map_path (line 348) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::normalize (line 434) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::parse (line 236) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::parse_owned (line 284) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::path (line 308) [INFO] [stdout] src/uri/origin.rs - uri::origin::Origin::query (line 326) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Path::as_str (line 87) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Path::raw (line 73) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Path::raw_segments (line 129) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Path::segments (line 169) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Query::as_str (line 209) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Query::raw (line 195) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Query::raw_segments (line 248) [INFO] [stdout] src/uri/path_query.rs - uri::path_query::Query::segments (line 291) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference (line 31) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::authority (line 233) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::fragment (line 286) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::into_normalized (line 386) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::is_normalized (line 309) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::normalize (line 346) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::parse (line 153) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::parse_owned (line 184) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::path (line 251) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::query (line 265) [INFO] [stdout] src/uri/reference.rs - uri::reference::Reference::scheme (line 213) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments (line 16) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::get (line 123) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::get (line 238) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::is_empty (line 79) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::len (line 53) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::prefix_of (line 144) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::skip (line 99) [INFO] [stdout] src/uri/segments.rs - uri::segments::Segments::to_path_buf (line 189) [INFO] [stdout] src/uri/uri.rs - uri::uri::Uri::absolute (line 196) [INFO] [stdout] src/uri/uri.rs - uri::uri::Uri::authority (line 168) [INFO] [stdout] src/uri/uri.rs - uri::uri::Uri::origin (line 140) [INFO] [stdout] src/uri/uri.rs - uri::uri::Uri::parse (line 64) [INFO] [stdout] src/uri/uri.rs - uri::uri::Uri::parse_any (line 110) [INFO] [stdout] src/uri/uri.rs - uri::uri::Uri::reference (line 224) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 5 passed; 195 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e097d86d4bf145dc7853ac402ae0b8275d0c288c5e79ecab5b2fbd39a019a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e097d86d4bf145dc7853ac402ae0b8275d0c288c5e79ecab5b2fbd39a019a4e", kill_on_drop: false }` [INFO] [stdout] 8e097d86d4bf145dc7853ac402ae0b8275d0c288c5e79ecab5b2fbd39a019a4e