[INFO] fetching crate mime_4 0.4.0-a.0... [INFO] testing mime_4-0.4.0-a.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate mime_4 0.4.0-a.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate mime_4 0.4.0-a.0 [INFO] finished tweaking crates.io crate mime_4 0.4.0-a.0 [INFO] tweaked toml for crates.io crate mime_4 0.4.0-a.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mime_4 0.4.0-a.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding quoted-string v0.2.2 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quoted-string v0.2.2 [INFO] [stderr] Downloaded mime-macro-4 v0.0.0 [INFO] [stderr] Downloaded mime-parse-4 v0.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd0ff1d94a55e449280736fb853279433de5d48a484c741f1dcddc404b4eec15 [INFO] running `Command { std: "docker" "start" "-a" "cd0ff1d94a55e449280736fb853279433de5d48a484c741f1dcddc404b4eec15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd0ff1d94a55e449280736fb853279433de5d48a484c741f1dcddc404b4eec15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd0ff1d94a55e449280736fb853279433de5d48a484c741f1dcddc404b4eec15", kill_on_drop: false }` [INFO] [stdout] cd0ff1d94a55e449280736fb853279433de5d48a484c741f1dcddc404b4eec15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf71ed885c004048b1b905eae73d3e75ed9c4d5f51029b9503be1fb94c519ca8 [INFO] running `Command { std: "docker" "start" "-a" "bf71ed885c004048b1b905eae73d3e75ed9c4d5f51029b9503be1fb94c519ca8", kill_on_drop: false }` [INFO] [stderr] Compiling quoted-string v0.2.2 [INFO] [stderr] Compiling mime-parse-4 v0.0.0 [INFO] [stderr] Compiling mime_4 v0.4.0-a.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/range.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn params(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn params(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/type_.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn params(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn params(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "bf71ed885c004048b1b905eae73d3e75ed9c4d5f51029b9503be1fb94c519ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf71ed885c004048b1b905eae73d3e75ed9c4d5f51029b9503be1fb94c519ca8", kill_on_drop: false }` [INFO] [stdout] bf71ed885c004048b1b905eae73d3e75ed9c4d5f51029b9503be1fb94c519ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 118d4b8b6a48b6523dccf4d619ccaac3bc0baeb6cd754754974f706db924c253 [INFO] running `Command { std: "docker" "start" "-a" "118d4b8b6a48b6523dccf4d619ccaac3bc0baeb6cd754754974f706db924c253", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/range.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn params(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn params(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/type_.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn params(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn params(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mime_4 v0.4.0-a.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/range.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | pub fn params(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 202 | pub fn params(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/type_.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn params(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 167 | pub fn params(&self) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/value.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator { [INFO] [stdout] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "118d4b8b6a48b6523dccf4d619ccaac3bc0baeb6cd754754974f706db924c253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118d4b8b6a48b6523dccf4d619ccaac3bc0baeb6cd754754974f706db924c253", kill_on_drop: false }` [INFO] [stdout] 118d4b8b6a48b6523dccf4d619ccaac3bc0baeb6cd754754974f706db924c253 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c5a62599cdbbb6ec37ef3c08cfc0afeb319a69bc3daa0271f8bd0d2eb3baeb5e [INFO] running `Command { std: "docker" "start" "-a" "c5a62599cdbbb6ec37ef3c08cfc0afeb319a69bc3daa0271f8bd0d2eb3baeb5e", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/range.rs:202:19 [INFO] [stderr] | [INFO] [stderr] 202 | pub fn params(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 202 | pub fn params(&self) -> impl Iterator)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/type_.rs:167:19 [INFO] [stderr] | [INFO] [stderr] 167 | pub fn params(&self) -> impl Iterator { [INFO] [stderr] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 167 | pub fn params(&self) -> impl Iterator)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/value.rs:29:28 [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator { [INFO] [stderr] | ^^^^^ ---- ----- the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 29 | pub(crate) fn params(mime: &Mime) -> impl Iterator)> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mime_4` (lib) generated 3 warnings [INFO] [stderr] warning: `mime_4` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mime_4-209d0bf0184499cf) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test range::tests::media_range_from_str ... ok [INFO] [stdout] test constants::test_mimes_macro_consts ... ok [INFO] [stdout] test range::tests::media_range_matches_skips_q ... ok [INFO] [stdout] test type_::tests::test_cmp_params_not_equal ... ok [INFO] [stdout] test type_::tests::test_from_str_empty_parameter_list ... ok [INFO] [stdout] test type_::tests::test_get_param ... ok [INFO] [stdout] test type_::tests::test_has_params ... ok [INFO] [stdout] test type_::tests::test_media_type_from_str ... ok [INFO] [stdout] test type_::tests::test_matching ... ok [INFO] [stdout] test type_::tests::test_mime_fmt ... ok [INFO] [stdout] test type_::tests::test_mime_param_with_quoted_tab ... ok [INFO] [stdout] test type_::tests::test_mime_param_with_tab ... ok [INFO] [stdout] test type_::tests::test_mime_with_dquote_quoted_pair ... ok [INFO] [stdout] test type_::tests::test_mime_with_multiple_plus ... ok [INFO] [stdout] test type_::tests::test_mime_with_utf8_values ... ok [INFO] [stdout] test type_::tests::test_media_type_parse_star_fails ... ok [INFO] [stdout] test type_::tests::test_params ... ok [INFO] [stdout] test type_::tests::test_parameter_eq_is_order_independent ... ok [INFO] [stdout] test type_::tests::test_parameter_eq_is_order_independent_with_str ... ok [INFO] [stdout] test type_::tests::test_name_eq_is_case_insensitive ... ok [INFO] [stdout] test range::tests::media_range_matches ... ok [INFO] [stdout] test type_::tests::test_mime_param_with_empty_quoted_string ... ok [INFO] [stdout] test type_::tests::test_reject_tailing_half_quoted_pair ... ok [INFO] [stdout] test type_::tests::test_size_of ... ok [INFO] [stderr] Doc-tests mime_4 [INFO] [stdout] test type_::tests::test_parse_too_long ... ok [INFO] [stdout] test range::tests::media_range_matches_params ... ok [INFO] [stdout] test type_::tests::test_subtype ... ok [INFO] [stdout] test type_::tests::test_type_ ... ok [INFO] [stdout] test type_::tests::test_suffix ... ok [INFO] [stdout] test value::test::test_as_str_repr ... ok [INFO] [stdout] test value::test::test_to_content_not_quoted ... ok [INFO] [stdout] test value::test::test_to_content_quoted_simple ... ok [INFO] [stdout] test value::test::test_to_content_with_quoted_pair ... ok [INFO] [stdout] test value::test::test_value_eq_str ... ok [INFO] [stdout] test value::test::test_value_eq_value ... ok [INFO] [stdout] test type_::tests::test_case_sensitive_values ... ok [INFO] [stdout] test value::test::test_value_eq_value_mixed_case_sensitivity ... ok [INFO] [stdout] test value::test::test_value_eq_value_case_insensitive ... ok [INFO] [stdout] test value::test::test_value_eq_str_ascii_case_insensitive ... 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] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test src/range.rs - range::MediaRange::suffix (line 98) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType (line 14) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::has_params (line 210) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange (line 15) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::parse (line 45) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType (line 38) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::params (line 184) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - (line 67) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::type_ (line 65) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::param (line 169) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::parse (line 62) ... FAILED [INFO] [stdout] test src/lib.rs - (line 30) ... FAILED [INFO] [stdout] test src/value.rs - value::UTF_8 (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 44) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::params (line 149) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::param (line 131) ... FAILED [INFO] [stdout] test src/value.rs - value::Value<'a>::as_str_repr (line 67) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::without_params (line 191) ... FAILED [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::subtype (line 96) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::type_ (line 82) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType (line 24) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::suffix (line 114) ... FAILED [INFO] [stdout] test src/type_.rs - type_::MediaType::has_params (line 175) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::subtype (line 79) ... FAILED [INFO] [stdout] test src/value.rs - value::Value<'a>::to_content (line 94) ... FAILED [INFO] [stdout] test src/range.rs - range::MediaRange::matches (line 118) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/range.rs - range::MediaRange::suffix (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:99:11 [INFO] [stdout] | [INFO] [stdout] 3 | let svg = mime::MediaRange::from(mime::IMAGE_SVG); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let svg = mime::MediaRange::from(mime::IMAGE_SVG); [INFO] [stdout] 3 + let svg = MediaRange::from(mime::IMAGE_SVG); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:99:34 [INFO] [stdout] | [INFO] [stdout] 3 | let svg = mime::MediaRange::from(mime::IMAGE_SVG); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:101:31 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(svg.suffix(), Some(mime::XML)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 9 | let any = mime::STAR_STAR; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 3 | let text = mime::TEXT_PLAIN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 4 | let svg = mime::IMAGE_SVG; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 5 | let json = mime::APPLICATION_JSON; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/range.rs - range::MediaRange::has_params (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 3 | let plain_text: mime::MediaType = "text/plain".parse().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 6 | let plain_text_utf8: mime::MediaType = "text/plain; charset=utf-8".parse().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/range.rs - range::MediaRange (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `mime` [INFO] [stdout] --> src/range.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mime::MediaRange; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 10 | mime::APPLICATION_JSON, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 11 | mime::TEXT_PLAIN_UTF_8, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 12 | mime::TEXT_HTML, [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/range.rs - range::MediaRange::parse (line 45) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 3 | let range = mime::MediaRange::parse("*/*").unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let range = mime::MediaRange::parse("*/*").unwrap(); [INFO] [stdout] 3 + let range = MediaRange::parse("*/*").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(range, mime::STAR_STAR); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = mime::TEXT_PLAIN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:42:6 [INFO] [stdout] | [INFO] [stdout] 6 | (mime::TEXT, _) => println!("structured text"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 5 | (mime::TEXT, mime::PLAIN) => println!("plain text!"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 5 | (mime::TEXT, mime::PLAIN) => println!("plain text!"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/range.rs - range::MediaRange::params (line 184) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 3 | let pkcs7 = mime::MediaRange::parse( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let pkcs7 = mime::MediaRange::parse( [INFO] [stdout] 3 + let pkcs7 = MediaRange::parse( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/range.rs - range::MediaRange (line 232) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 4 | let range = mime::MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 4 - let range = mime::MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] 4 + let range = MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:234:36 [INFO] [stdout] | [INFO] [stdout] 4 | let range = mime::MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/lib.rs - (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 3 | match mime::MediaRange::parse("text/*") { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - match mime::MediaRange::parse("text/*") { [INFO] [stdout] 3 + match MediaRange::parse("text/*") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:71:27 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(range, mime::TEXT_STAR); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(range.matches(&mime::TEXT_PLAIN)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:77:33 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!range.matches(&mime::APPLICATION_JSON)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/range.rs - range::MediaRange::type_ (line 65) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 3 | let range = mime::TEXT_STAR; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(range.type_(), mime::TEXT); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/range.rs - range::MediaRange::param (line 169) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 3 | let range = mime::MediaRange::from(mime::TEXT_PLAIN_UTF_8); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let range = mime::MediaRange::from(mime::TEXT_PLAIN_UTF_8); [INFO] [stdout] 3 + let range = MediaRange::from(mime::TEXT_PLAIN_UTF_8); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 3 | let range = mime::MediaRange::from(mime::TEXT_PLAIN_UTF_8); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:172:24 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(range.param(mime::CHARSET), Some(mime::UTF_8)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:172:45 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(range.param(mime::CHARSET), Some(mime::UTF_8)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType::parse (line 62) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 3 | let mt = mime::MediaType::parse("text/plain").unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaType; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let mt = mime::MediaType::parse("text/plain").unwrap(); [INFO] [stdout] 3 + let mt = MediaType::parse("text/plain").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:64:16 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(mt, mime::TEXT_PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/lib.rs - (line 30) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 3 | match mime::MediaType::parse("text/plain; charset=utf-8") { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaType; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - match mime::MediaType::parse("text/plain; charset=utf-8") { [INFO] [stdout] 3 + match MediaType::parse("text/plain; charset=utf-8") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:32:34 [INFO] [stdout] | [INFO] [stdout] 4 | Ok(text) => assert_eq!(text, mime::TEXT_PLAIN_UTF_8), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/value.rs - value::UTF_8 (line 11) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/value.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = mime::TEXT_PLAIN_UTF_8; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/value.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(mime.param(mime::CHARSET), Some(mime::UTF_8)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/value.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(mime.param(mime::CHARSET), Some(mime::UTF_8)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 44) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = mime::TEXT_PLAIN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 6 | (mime::TEXT, _) => println!("structured text"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 5 | (mime::TEXT, mime::PLAIN) => println!("plain text!"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 5 | (mime::TEXT, mime::PLAIN) => println!("plain text!"), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType::params (line 149) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 3 | let pkcs7 = mime::MediaType::parse( [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaType; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - let pkcs7 = mime::MediaType::parse( [INFO] [stdout] 3 + let pkcs7 = MediaType::parse( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_.rs - type_::MediaType::param (line 131) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = mime::TEXT_PLAIN_UTF_8; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:133:23 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(mime.param(mime::CHARSET), Some(mime::UTF_8)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:133:44 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(mime.param(mime::CHARSET), Some(mime::UTF_8)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:138:23 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(mime.param(mime::BOUNDARY).unwrap(), "ABCDEFG"); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:137:60 [INFO] [stdout] | [INFO] [stdout] 8 | let mime = "multipart/form-data; boundary=ABCDEFG".parse::().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/value.rs - value::Value<'a>::as_str_repr (line 67) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/value.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = r#"text/plain; param="abc def""#.parse::().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/type_.rs - type_::MediaType::without_params (line 191) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `mime` [INFO] [stdout] --> src/type_.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 3 | use mime::MediaType; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 3 | let text = mime::TEXT_PLAIN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 4 | let svg = mime::IMAGE_SVG; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/lib.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 5 | let json = mime::APPLICATION_JSON; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/type_.rs - type_::MediaType::subtype (line 96) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = mime::TEXT_PLAIN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:99:28 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(mime.subtype(), mime::PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:101:11 [INFO] [stdout] | [INFO] [stdout] 7 | let svg = mime::IMAGE_SVG; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:102:27 [INFO] [stdout] | [INFO] [stdout] 8 | assert_eq!(svg.subtype(), mime::SVG); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType::type_ (line 82) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 3 | let mime = mime::TEXT_PLAIN; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 5 | assert_eq!(mime.type_(), mime::TEXT); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType (line 24) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 3 | match mime::MediaType::parse("text/plain; charset=utf-8") { [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaType; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - match mime::MediaType::parse("text/plain; charset=utf-8") { [INFO] [stdout] 3 + match MediaType::parse("text/plain; charset=utf-8") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 4 | Ok(text) => assert_eq!(text, mime::TEXT_PLAIN_UTF_8), [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/type_.rs - type_::MediaType::suffix (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 3 | let svg = mime::IMAGE_SVG; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:116:31 [INFO] [stdout] | [INFO] [stdout] 4 | assert_eq!(svg.suffix(), Some(mime::XML)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(mime::TEXT_PLAIN.suffix().is_none()); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 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/type_.rs - type_::MediaType::has_params (line 175) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 3 | let plain_text: mime::MediaType = "text/plain".parse().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/type_.rs:179:22 [INFO] [stdout] | [INFO] [stdout] 6 | let plain_text_utf8: mime::MediaType = "text/plain; charset=utf-8".parse().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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/range.rs - range::MediaRange::subtype (line 79) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 8 | let exact = mime::MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use mime_4::MediaRange; [INFO] [stdout] | [INFO] [stdout] help: if you import `MediaRange`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - let exact = mime::MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] 8 + let exact = MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 3 | let range = mime::TEXT_STAR; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:83:29 [INFO] [stdout] | [INFO] [stdout] 6 | assert_eq!(range.subtype(), mime::STAR); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 8 | let exact = mime::MediaRange::from(mime::TEXT_PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:86:29 [INFO] [stdout] | [INFO] [stdout] 9 | assert_eq!(exact.subtype(), mime::PLAIN); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/value.rs - value::Value<'a>::to_content (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/value.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 4 | let mime = raw_mime.parse::().unwrap(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/range.rs - range::MediaRange::matches (line 118) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:119:14 [INFO] [stdout] | [INFO] [stdout] 3 | let images = mime::IMAGE_STAR; [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 5 | assert!(images.matches(&mime::IMAGE_JPEG)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 6 | assert!(images.matches(&mime::IMAGE_PNG)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `mime` [INFO] [stdout] --> src/range.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 8 | assert!(!images.matches(&mime::TEXT_PLAIN)); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `mime` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mime`, use `cargo add mime` to add it to your `Cargo.toml` [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] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] src/lib.rs - (line 30) [INFO] [stdout] src/lib.rs - (line 44) [INFO] [stdout] src/lib.rs - (line 67) [INFO] [stdout] src/range.rs - range::MediaRange (line 15) [INFO] [stdout] src/range.rs - range::MediaRange (line 232) [INFO] [stdout] src/range.rs - range::MediaRange::has_params (line 210) [INFO] [stdout] src/range.rs - range::MediaRange::matches (line 118) [INFO] [stdout] src/range.rs - range::MediaRange::param (line 169) [INFO] [stdout] src/range.rs - range::MediaRange::params (line 184) [INFO] [stdout] src/range.rs - range::MediaRange::parse (line 45) [INFO] [stdout] src/range.rs - range::MediaRange::subtype (line 79) [INFO] [stdout] src/range.rs - range::MediaRange::suffix (line 98) [INFO] [stdout] src/range.rs - range::MediaRange::type_ (line 65) [INFO] [stdout] src/type_.rs - type_::MediaType (line 14) [INFO] [stdout] src/type_.rs - type_::MediaType (line 24) [INFO] [stdout] src/type_.rs - type_::MediaType (line 38) [INFO] [stdout] src/type_.rs - type_::MediaType::has_params (line 175) [INFO] [stdout] src/type_.rs - type_::MediaType::param (line 131) [INFO] [stdout] src/type_.rs - type_::MediaType::params (line 149) [INFO] [stdout] src/type_.rs - type_::MediaType::parse (line 62) [INFO] [stdout] src/type_.rs - type_::MediaType::subtype (line 96) [INFO] [stdout] src/type_.rs - type_::MediaType::suffix (line 114) [INFO] [stdout] src/type_.rs - type_::MediaType::type_ (line 82) [INFO] [stdout] src/type_.rs - type_::MediaType::without_params (line 191) [INFO] [stdout] src/value.rs - value::UTF_8 (line 11) [INFO] [stdout] src/value.rs - value::Value<'a>::as_str_repr (line 67) [INFO] [stdout] src/value.rs - value::Value<'a>::to_content (line 94) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 28 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c5a62599cdbbb6ec37ef3c08cfc0afeb319a69bc3daa0271f8bd0d2eb3baeb5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5a62599cdbbb6ec37ef3c08cfc0afeb319a69bc3daa0271f8bd0d2eb3baeb5e", kill_on_drop: false }` [INFO] [stdout] c5a62599cdbbb6ec37ef3c08cfc0afeb319a69bc3daa0271f8bd0d2eb3baeb5e