[INFO] fetching crate encode_unicode 0.3.6... [INFO] checking encode_unicode-0.3.6 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate encode_unicode 0.3.6 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate encode_unicode 0.3.6 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate encode_unicode 0.3.6 [INFO] finished tweaking crates.io crate encode_unicode 0.3.6 [INFO] tweaked toml for crates.io crate encode_unicode 0.3.6 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_users v0.3.3 [INFO] [stderr] Downloaded lazy_static v1.0.2 [INFO] [stderr] Downloaded crossbeam-utils v0.6.3 [INFO] [stderr] Downloaded rust-argon2 v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fd794d93662e2170912dbf73d335e8d7b0f8de61202c727ab9c2460f8d7537c7 [INFO] running `Command { std: "docker" "start" "-a" "fd794d93662e2170912dbf73d335e8d7b0f8de61202c727ab9c2460f8d7537c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd794d93662e2170912dbf73d335e8d7b0f8de61202c727ab9c2460f8d7537c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd794d93662e2170912dbf73d335e8d7b0f8de61202c727ab9c2460f8d7537c7", kill_on_drop: false }` [INFO] [stdout] fd794d93662e2170912dbf73d335e8d7b0f8de61202c727ab9c2460f8d7537c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c21ff006eb1066e920252d46a9bdd218db533b16858f94ed7785427c6d3e010 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9c21ff006eb1066e920252d46a9bdd218db533b16858f94ed7785427c6d3e010", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.0.2 [INFO] [stderr] Checking encode_unicode v0.3.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | n @ 1...3 => Ok(n as usize), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | 0x00_00...0xd7_ff | 0xe0_00...0xff_ff => Ok(false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 145 | 0x00_00...0xd7_ff | 0xe0_00...0xff_ff => Ok(false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | 0xd8_00...0xdb_ff => Ok(true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:497:31 [INFO] [stdout] | [INFO] [stdout] 497 | (Some(&u @ 0x00_00...0xd7_ff), _) | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:498:31 [INFO] [stdout] | [INFO] [stdout] 498 | (Some(&u @ 0xe0_00...0xff_ff), _) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | (Some(&0xdc_00...0xdf_ff), _) => Err(FirstLowSurrogate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&(0xdc_00..=0xdf_ff)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:502:31 [INFO] [stdout] | [INFO] [stdout] 502 | (Some(&f @ 0xd8_00...0xdb_ff), Some(&s @ 0xdc_00...0xdf_ff)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:502:61 [INFO] [stdout] | [INFO] [stdout] 502 | (Some(&f @ 0xd8_00...0xdb_ff), Some(&s @ 0xdc_00...0xdf_ff)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:504:19 [INFO] [stdout] | [INFO] [stdout] 504 | (Some(&0xd8_00...0xdb_ff), Some(_)) => Err(SecondNotLowSurrogate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&(0xd8_00..=0xdb_ff)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:505:19 [INFO] [stdout] | [INFO] [stdout] 505 | (Some(&0xd8_00...0xdb_ff), None) => Err(MissingSecond), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&(0xd8_00..=0xdb_ff)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:526:21 [INFO] [stdout] | [INFO] [stdout] 526 | (0x00_00...0xd7_ff, None) | // single [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | (0xe0_00...0xff_ff, None) | // single [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | (0xd8_00...0xdb_ff, Some(0xdc_00...0xdf_ff)) // correct surrogate [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:528:45 [INFO] [stdout] | [INFO] [stdout] 528 | (0xd8_00...0xdb_ff, Some(0xdc_00...0xdf_ff)) // correct surrogate [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:530:21 [INFO] [stdout] | [INFO] [stdout] 530 | (0xd8_00...0xdb_ff, Some(_)) => Err(InvalidSecond), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | (0xd8_00...0xdb_ff, None ) => Err(MissingSecond), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 532 | (0xdc_00...0xdf_ff, _ ) => Err(FirstIsTrailingSurrogate), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8_char.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | (a @ 0...0x00_7f, _) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8_char.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | (u @ 0...0x07_ff, _) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utf8_char.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | try!(char::from_utf8_array(utf8)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf16_char.rs:442:14 [INFO] [stdout] | [INFO] [stdout] 442 | 0...127 => {// 1 byte => 1 unit [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf16_char.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | 0b1000_0000...0b1101_1111 => {// 2 bytes => 1 unit [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf16_char.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | 0b1110_0000...0b1110_1111 => {// 3 bytes => 1 unit [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | 0b0000_0000...0b0111_1111 => {/*1 and */Ok(())}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | 0b1100_0010...0b1101_1111 => {//2 and not overlong [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | 0b1110_0000...0b1110_1111 => {//3 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | 0b1111_0000...0b1111_0100 => {//4 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | 0b1000_0000...0b1011_1111 => {// continuation byte [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | 0b1100_0000...0b1100_0001 => {// 2 and overlong [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | 0b1111_0101...0b1111_0111 => {// 4 and too high codepoint [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | 0b1111_1000...0b1111_1111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:200:36 [INFO] [stdout] | [INFO] [stdout] 200 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | n @ 1...3 => Ok(n as usize), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | 0x00_00...0xd7_ff | 0xe0_00...0xff_ff => Ok(false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:145:40 [INFO] [stdout] | [INFO] [stdout] 145 | 0x00_00...0xd7_ff | 0xe0_00...0xff_ff => Ok(false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:146:20 [INFO] [stdout] | [INFO] [stdout] 146 | 0xd8_00...0xdb_ff => Ok(true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:497:31 [INFO] [stdout] | [INFO] [stdout] 497 | (Some(&u @ 0x00_00...0xd7_ff), _) | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:498:31 [INFO] [stdout] | [INFO] [stdout] 498 | (Some(&u @ 0xe0_00...0xff_ff), _) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | (Some(&0xdc_00...0xdf_ff), _) => Err(FirstLowSurrogate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&(0xdc_00..=0xdf_ff)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:502:31 [INFO] [stdout] | [INFO] [stdout] 502 | (Some(&f @ 0xd8_00...0xdb_ff), Some(&s @ 0xdc_00...0xdf_ff)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:502:61 [INFO] [stdout] | [INFO] [stdout] 502 | (Some(&f @ 0xd8_00...0xdb_ff), Some(&s @ 0xdc_00...0xdf_ff)) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:504:19 [INFO] [stdout] | [INFO] [stdout] 504 | (Some(&0xd8_00...0xdb_ff), Some(_)) => Err(SecondNotLowSurrogate), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&(0xd8_00..=0xdb_ff)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:505:19 [INFO] [stdout] | [INFO] [stdout] 505 | (Some(&0xd8_00...0xdb_ff), None) => Err(MissingSecond), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: use `..=` for an inclusive range: `&(0xd8_00..=0xdb_ff)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:526:21 [INFO] [stdout] | [INFO] [stdout] 526 | (0x00_00...0xd7_ff, None) | // single [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:527:21 [INFO] [stdout] | [INFO] [stdout] 527 | (0xe0_00...0xff_ff, None) | // single [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:528:21 [INFO] [stdout] | [INFO] [stdout] 528 | (0xd8_00...0xdb_ff, Some(0xdc_00...0xdf_ff)) // correct surrogate [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:528:45 [INFO] [stdout] | [INFO] [stdout] 528 | (0xd8_00...0xdb_ff, Some(0xdc_00...0xdf_ff)) // correct surrogate [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:530:21 [INFO] [stdout] | [INFO] [stdout] 530 | (0xd8_00...0xdb_ff, Some(_)) => Err(InvalidSecond), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:531:21 [INFO] [stdout] | [INFO] [stdout] 531 | (0xd8_00...0xdb_ff, None ) => Err(MissingSecond), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/traits.rs:532:21 [INFO] [stdout] | [INFO] [stdout] 532 | (0xdc_00...0xdf_ff, _ ) => Err(FirstIsTrailingSurrogate), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8_char.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | (a @ 0...0x00_7f, _) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf8_char.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | (u @ 0...0x07_ff, _) => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/utf8_char.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | try!(char::from_utf8_array(utf8)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf16_char.rs:442:14 [INFO] [stdout] | [INFO] [stdout] 442 | 0...127 => {// 1 byte => 1 unit [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf16_char.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 446 | 0b1000_0000...0b1101_1111 => {// 2 bytes => 1 unit [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/utf16_char.rs:451:24 [INFO] [stdout] | [INFO] [stdout] 451 | 0b1110_0000...0b1110_1111 => {// 3 bytes => 1 unit [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:146:28 [INFO] [stdout] | [INFO] [stdout] 146 | 0b0000_0000...0b0111_1111 => {/*1 and */Ok(())}, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:147:28 [INFO] [stdout] | [INFO] [stdout] 147 | 0b1100_0010...0b1101_1111 => {//2 and not overlong [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | 0b1110_0000...0b1110_1111 => {//3 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:163:28 [INFO] [stdout] | [INFO] [stdout] 163 | 0b1111_0000...0b1111_0100 => {//4 [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | 0b1000_0000...0b1011_1111 => {// continuation byte [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | 0b1100_0000...0b1100_0001 => {// 2 and overlong [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:182:28 [INFO] [stdout] | [INFO] [stdout] 182 | 0b1111_0101...0b1111_0111 => {// 4 and too high codepoint [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/decoding_iterators.rs:185:28 [INFO] [stdout] | [INFO] [stdout] 185 | 0b1111_1000...0b1111_1111 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | / single_cause!{ [INFO] [stdout] 51 | | /// Cannot tell whether an `u16` needs an extra unit, [INFO] [stdout] 52 | | /// because it's a trailing surrogate itself. [INFO] [stdout] 53 | | InvalidUtf16FirstUnit => "is a trailing surrogate" [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | / single_cause!{ [INFO] [stdout] 57 | | /// Cannot create an `Utf8Char` or `Utf16Char` from the first codepoint of a str, [INFO] [stdout] 58 | | /// because there are none. [INFO] [stdout] 59 | | EmptyStrError => "is empty" [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | / single_cause!{ [INFO] [stdout] 63 | | /// Cannot create an `Utf8Char` from a standalone `u8` [INFO] [stdout] 64 | | /// that is not an ASCII character. [INFO] [stdout] 65 | | NonAsciiError => "is not an ASCII character" [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / single_cause!{ [INFO] [stdout] 69 | | /// Cannot create an `Utf16Char` from a standalone `u16` that is not a [INFO] [stdout] 70 | | /// codepoint in the basic multilingual plane, but part of a suurrogate pair. [INFO] [stdout] 71 | | NonBMPError => "is not a codepoint in the basic multilingual plane" [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | / simple!{/// Reasons why an `u32` is not a valid UTF codepoint. [INFO] [stdout] 89 | | InvalidCodepoint { [INFO] [stdout] 90 | | /// It's reserved for UTF-16 surrogate pairs." [INFO] [stdout] 91 | | ::Utf16Reserved => "is reserved for UTF-16 surrogate pairs", [INFO] [stdout] 92 | | /// It's higher than the highest codepoint (which is 0x10ffff). [INFO] [stdout] 93 | | ::TooHigh => "is higher than the highest codepoint", [INFO] [stdout] 94 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / simple!{/// Reasons why a `[u16; 2]` doesn't form a valid UTF-16 codepoint. [INFO] [stdout] 106 | | InvalidUtf16Array { [INFO] [stdout] 107 | | /// The first unit is a trailing/low surrogate, which is never valid. [INFO] [stdout] 108 | | ::FirstIsTrailingSurrogate => "the first unit is a trailing surrogate, which is never valid", [INFO] [stdout] 109 | | /// The second unit is needed, but is not a trailing surrogate. [INFO] [stdout] 110 | | ::SecondIsNotTrailingSurrogate => "the second unit is needed but is not a trailing surrogate", [INFO] [stdout] 111 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | / simple!{/// Reasons why one or two `u16`s are not valid UTF-16, in sinking precedence. [INFO] [stdout] 114 | | InvalidUtf16Tuple { [INFO] [stdout] 115 | | /// The first unit is a trailing/low surrogate, which is never valid. [INFO] [stdout] 116 | | /// [INFO] [stdout] ... | [INFO] [stdout] 126 | | ::InvalidSecond => "the required second unit is not a trailing / low surrogate", [INFO] [stdout] 127 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | / simple!{/// Reasons why a slice of `u16`s doesn't start with valid UTF-16. [INFO] [stdout] 131 | | InvalidUtf16Slice { [INFO] [stdout] 132 | | /// The slice is empty. [INFO] [stdout] 133 | | ::EmptySlice => "the slice is empty", [INFO] [stdout] ... | [INFO] [stdout] 139 | | ::SecondNotLowSurrogate => "the required second unit is not a trailing surrogate", [INFO] [stdout] 140 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / simple!{/// Types of invalid sequences encountered by `Utf16CharParser`. [INFO] [stdout] 143 | | Utf16PairError { [INFO] [stdout] 144 | | /// A trailing surrogate was not preceeded by a leading surrogate. [INFO] [stdout] 145 | | ::UnexpectedTrailingSurrogate => "a trailing surrogate was not preceeded by a leading surrogate", [INFO] [stdout] ... | [INFO] [stdout] 149 | | ::Incomplete => "a trailing surrogate was expected when the end was reached", [INFO] [stdout] 150 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / simple!{/// Reasons why `Utf8Char::from_str()` or `Utf16Char::from_str()` failed. [INFO] [stdout] 154 | | FromStrError { [INFO] [stdout] 155 | | /// `Utf8Char` or `Utf16Char` cannot store more than a single codepoint. [INFO] [stdout] 156 | | ::MultipleCodepoints => "has more than one codepoint", [INFO] [stdout] 157 | | /// `Utf8Char` or `Utf16Char` cannot be empty. [INFO] [stdout] 158 | | ::Empty => "is empty", [INFO] [stdout] 159 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / simple!{/// Reasons why a byte is not the start of a UTF-8 codepoint. [INFO] [stdout] 163 | | InvalidUtf8FirstByte { [INFO] [stdout] 164 | | /// Sequences cannot be longer than 4 bytes. Is given for values >= 240. [INFO] [stdout] 165 | | ::TooLongSeqence => "is greater than 247 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] 166 | | /// This byte belongs to a previous sequence. Is given for values between 128 and 192 (exclusive). [INFO] [stdout] 167 | | ::ContinuationByte => "is a continuation of a previous sequence", [INFO] [stdout] 168 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match (self.cause(), $use_cause) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | (Some(d),true) => write!(fmtr, "{}: {}", self.description(), d), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:208:59 [INFO] [stdout] | [INFO] [stdout] 208 | _ => write!(fmtr, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match (self.cause(), $use_cause) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | (Some(d),true) => write!(fmtr, "{}: {}", self.description(), d), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:208:59 [INFO] [stdout] | [INFO] [stdout] 208 | _ => write!(fmtr, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match (self.cause(), $use_cause) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | (Some(d),true) => write!(fmtr, "{}: {}", self.description(), d), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:208:59 [INFO] [stdout] | [INFO] [stdout] 208 | _ => write!(fmtr, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | / single_cause!{ [INFO] [stdout] 51 | | /// Cannot tell whether an `u16` needs an extra unit, [INFO] [stdout] 52 | | /// because it's a trailing surrogate itself. [INFO] [stdout] 53 | | InvalidUtf16FirstUnit => "is a trailing surrogate" [INFO] [stdout] 54 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | / single_cause!{ [INFO] [stdout] 57 | | /// Cannot create an `Utf8Char` or `Utf16Char` from the first codepoint of a str, [INFO] [stdout] 58 | | /// because there are none. [INFO] [stdout] 59 | | EmptyStrError => "is empty" [INFO] [stdout] 60 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | / single_cause!{ [INFO] [stdout] 63 | | /// Cannot create an `Utf8Char` from a standalone `u8` [INFO] [stdout] 64 | | /// that is not an ASCII character. [INFO] [stdout] 65 | | NonAsciiError => "is not an ASCII character" [INFO] [stdout] 66 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / single_cause!{ [INFO] [stdout] 69 | | /// Cannot create an `Utf16Char` from a standalone `u16` that is not a [INFO] [stdout] 70 | | /// codepoint in the basic multilingual plane, but part of a suurrogate pair. [INFO] [stdout] 71 | | NonBMPError => "is not a codepoint in the basic multilingual plane" [INFO] [stdout] 72 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | / simple!{/// Reasons why an `u32` is not a valid UTF codepoint. [INFO] [stdout] 89 | | InvalidCodepoint { [INFO] [stdout] 90 | | /// It's reserved for UTF-16 surrogate pairs." [INFO] [stdout] 91 | | ::Utf16Reserved => "is reserved for UTF-16 surrogate pairs", [INFO] [stdout] 92 | | /// It's higher than the highest codepoint (which is 0x10ffff). [INFO] [stdout] 93 | | ::TooHigh => "is higher than the highest codepoint", [INFO] [stdout] 94 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | / simple!{/// Reasons why a `[u16; 2]` doesn't form a valid UTF-16 codepoint. [INFO] [stdout] 106 | | InvalidUtf16Array { [INFO] [stdout] 107 | | /// The first unit is a trailing/low surrogate, which is never valid. [INFO] [stdout] 108 | | ::FirstIsTrailingSurrogate => "the first unit is a trailing surrogate, which is never valid", [INFO] [stdout] 109 | | /// The second unit is needed, but is not a trailing surrogate. [INFO] [stdout] 110 | | ::SecondIsNotTrailingSurrogate => "the second unit is needed but is not a trailing surrogate", [INFO] [stdout] 111 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | / simple!{/// Reasons why one or two `u16`s are not valid UTF-16, in sinking precedence. [INFO] [stdout] 114 | | InvalidUtf16Tuple { [INFO] [stdout] 115 | | /// The first unit is a trailing/low surrogate, which is never valid. [INFO] [stdout] 116 | | /// [INFO] [stdout] ... | [INFO] [stdout] 126 | | ::InvalidSecond => "the required second unit is not a trailing / low surrogate", [INFO] [stdout] 127 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | / simple!{/// Reasons why a slice of `u16`s doesn't start with valid UTF-16. [INFO] [stdout] 131 | | InvalidUtf16Slice { [INFO] [stdout] 132 | | /// The slice is empty. [INFO] [stdout] 133 | | ::EmptySlice => "the slice is empty", [INFO] [stdout] ... | [INFO] [stdout] 139 | | ::SecondNotLowSurrogate => "the required second unit is not a trailing surrogate", [INFO] [stdout] 140 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | / simple!{/// Types of invalid sequences encountered by `Utf16CharParser`. [INFO] [stdout] 143 | | Utf16PairError { [INFO] [stdout] 144 | | /// A trailing surrogate was not preceeded by a leading surrogate. [INFO] [stdout] 145 | | ::UnexpectedTrailingSurrogate => "a trailing surrogate was not preceeded by a leading surrogate", [INFO] [stdout] ... | [INFO] [stdout] 149 | | ::Incomplete => "a trailing surrogate was expected when the end was reached", [INFO] [stdout] 150 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | / simple!{/// Reasons why `Utf8Char::from_str()` or `Utf16Char::from_str()` failed. [INFO] [stdout] 154 | | FromStrError { [INFO] [stdout] 155 | | /// `Utf8Char` or `Utf16Char` cannot store more than a single codepoint. [INFO] [stdout] 156 | | ::MultipleCodepoints => "has more than one codepoint", [INFO] [stdout] 157 | | /// `Utf8Char` or `Utf16Char` cannot be empty. [INFO] [stdout] 158 | | ::Empty => "is empty", [INFO] [stdout] 159 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:34:37 [INFO] [stdout] | [INFO] [stdout] 34 | write!(fmtr, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 162 | / simple!{/// Reasons why a byte is not the start of a UTF-8 codepoint. [INFO] [stdout] 163 | | InvalidUtf8FirstByte { [INFO] [stdout] 164 | | /// Sequences cannot be longer than 4 bytes. Is given for values >= 240. [INFO] [stdout] 165 | | ::TooLongSeqence => "is greater than 247 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] 166 | | /// This byte belongs to a previous sequence. Is given for values between 128 and 192 (exclusive). [INFO] [stdout] 167 | | ::ContinuationByte => "is a continuation of a previous sequence", [INFO] [stdout] 168 | | }} [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match (self.cause(), $use_cause) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | (Some(d),true) => write!(fmtr, "{}: {}", self.description(), d), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:208:59 [INFO] [stdout] | [INFO] [stdout] 208 | _ => write!(fmtr, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | / complex!{InvalidUtf8 { [INFO] [stdout] 232 | | InvalidUtf8FirstByte => FirstByte, [INFO] [stdout] 233 | | } { [INFO] [stdout] 234 | | FirstByte(TooLongSeqence) => "the first byte is greater than 239 (UTF-8 sequences cannot be longer than four bytes)", [INFO] [stdout] ... | [INFO] [stdout] 241 | | }/// Returns `Some` if the error is a `InvalidUtf8FirstByte`. [INFO] [stdout] 242 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match (self.cause(), $use_cause) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | (Some(d),true) => write!(fmtr, "{}: {}", self.description(), d), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:208:59 [INFO] [stdout] | [INFO] [stdout] 208 | _ => write!(fmtr, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | / complex!{InvalidUtf8Array { [INFO] [stdout] 254 | | InvalidUtf8 => InvalidUtf8Array::Utf8, [INFO] [stdout] 255 | | InvalidCodepoint => InvalidUtf8Array::Codepoint, [INFO] [stdout] 256 | | } { [INFO] [stdout] ... | [INFO] [stdout] 262 | | }/// Always returns `Some`. [INFO] [stdout] 263 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/errors.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | match (self.cause(), $use_cause) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:207:63 [INFO] [stdout] | [INFO] [stdout] 207 | (Some(d),true) => write!(fmtr, "{}: {}", self.description(), d), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/errors.rs:208:59 [INFO] [stdout] | [INFO] [stdout] 208 | _ => write!(fmtr, "{}", self.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | / complex!{InvalidUtf8Slice { [INFO] [stdout] 277 | | InvalidUtf8 => InvalidUtf8Slice::Utf8, [INFO] [stdout] 278 | | InvalidCodepoint => InvalidUtf8Slice::Codepoint, [INFO] [stdout] 279 | | } { [INFO] [stdout] ... | [INFO] [stdout] 288 | | } [INFO] [stdout] 289 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/traits.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | (Some(_), _) => unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/traits.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | ( _ , None ) => unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoding_iterators.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | _ => unreachable!("all possible byte values should be covered") [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/traits.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | (Some(_), _) => unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/traits.rs:534:13 [INFO] [stdout] | [INFO] [stdout] 534 | ( _ , None ) => unreachable!() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/decoding_iterators.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | _ => unreachable!("all possible byte values should be covered") [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/multiiterators.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static!{ [INFO] [stdout] 13 | | static ref UTF8CHARS: Vec = ENGLISH.chars().map(|c| c.to_utf8() ).collect(); [INFO] [stdout] 14 | | static ref UTF16CHARS: Vec = ENGLISH.chars().map(|c| c.to_utf16() ).collect(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> benches/multiiterators.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / lazy_static!{ [INFO] [stdout] 13 | | static ref UTF8CHARS: Vec = ENGLISH.chars().map(|c| c.to_utf8() ).collect(); [INFO] [stdout] 14 | | static ref UTF16CHARS: Vec = ENGLISH.chars().map(|c| c.to_utf16() ).collect(); [INFO] [stdout] 15 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | 0b_1000_0000...0b_1011_1111 => Err(ContinuationByte), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:45:25 [INFO] [stdout] | [INFO] [stdout] 45 | 0b_1111_1000...0b_1111_1111 => Err(TooLongSeqence), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | 0b_0000_0000...0b_0111_1111 => Ok(0), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:47:25 [INFO] [stdout] | [INFO] [stdout] 47 | 0b_1100_0000...0b_1101_1111 => Ok(1), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | 0b_1110_0000...0b_1110_1111 => Ok(2), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | 0b_1111_0000...0b_1111_0111 => Ok(3), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:59:35 [INFO] [stdout] | [INFO] [stdout] 59 | 0b_0000_0000_0000_0000...0b_1101_0111_1111_1111 => Ok(false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | 0b_1101_1000_0000_0000...0b_1101_1011_1111_1111 => Ok(true), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | 0b_1101_1100_0000_0000...0b_1101_1111_1111_1111 => Err(InvalidUtf16FirstUnit), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> tests/errs.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | 0b_1110_0000_0000_0000...0b_1111_1111_1111_1111 => Ok(false), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 58 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "9c21ff006eb1066e920252d46a9bdd218db533b16858f94ed7785427c6d3e010", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c21ff006eb1066e920252d46a9bdd218db533b16858f94ed7785427c6d3e010", kill_on_drop: false }` [INFO] [stdout] 9c21ff006eb1066e920252d46a9bdd218db533b16858f94ed7785427c6d3e010