[INFO] cloning repository https://github.com/jbaber/edhex_core [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jbaber/edhex_core" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbaber%2Fedhex_core", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbaber%2Fedhex_core'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee687f1c3d2b03cd4c43dbd95edcb817bd87cb47 [INFO] testing jbaber/edhex_core against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbaber%2Fedhex_core" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jbaber/edhex_core on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jbaber/edhex_core [INFO] finished tweaking git repo https://github.com/jbaber/edhex_core [INFO] tweaked toml for git repo https://github.com/jbaber/edhex_core written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/jbaber/edhex_core already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f2193e6903f84a7444031e10f05127c2e6e4ff91b927e36b10c4e7dcde9b1d08 [INFO] running `Command { std: "docker" "start" "-a" "f2193e6903f84a7444031e10f05127c2e6e4ff91b927e36b10c4e7dcde9b1d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2193e6903f84a7444031e10f05127c2e6e4ff91b927e36b10c4e7dcde9b1d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2193e6903f84a7444031e10f05127c2e6e4ff91b927e36b10c4e7dcde9b1d08", kill_on_drop: false }` [INFO] [stdout] f2193e6903f84a7444031e10f05127c2e6e4ff91b927e36b10c4e7dcde9b1d08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56f6bb580d09949db069d8fcb1e41adc03703715d545d0db8782d0798a6a161a [INFO] running `Command { std: "docker" "start" "-a" "56f6bb580d09949db069d8fcb1e41adc03703715d545d0db8782d0798a6a161a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling edhex_core v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_byte_collected` is never read [INFO] [stdout] --> src/lib.rs:798:21 [INFO] [stdout] | [INFO] [stdout] 798 | let mut last_byte_collected = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.29s [INFO] running `Command { std: "docker" "inspect" "56f6bb580d09949db069d8fcb1e41adc03703715d545d0db8782d0798a6a161a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f6bb580d09949db069d8fcb1e41adc03703715d545d0db8782d0798a6a161a", kill_on_drop: false }` [INFO] [stdout] 56f6bb580d09949db069d8fcb1e41adc03703715d545d0db8782d0798a6a161a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 761b7656c26c118e422d140932a9dd8464e06cabcab29b964ba6ce16059a61e7 [INFO] running `Command { std: "docker" "start" "-a" "761b7656c26c118e422d140932a9dd8464e06cabcab29b964ba6ce16059a61e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling edhex_core v0.7.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `last_byte_collected` is never read [INFO] [stdout] --> src/lib.rs:798:21 [INFO] [stdout] | [INFO] [stdout] 798 | let mut last_byte_collected = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `underline_main_line` in initializer of `Preferences` [INFO] [stdout] --> src/lib.rs:1183:20 [INFO] [stdout] | [INFO] [stdout] 1183 | prefs: Preferences { [INFO] [stdout] | ^^^^^^^^^^^ missing `underline_main_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `underline_main_line` in initializer of `Preferences` [INFO] [stdout] --> src/lib.rs:1228:20 [INFO] [stdout] | [INFO] [stdout] 1228 | prefs: Preferences { [INFO] [stdout] | ^^^^^^^^^^^ missing `underline_main_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1251:9 [INFO] [stdout] | [INFO] [stdout] 1251 | ... assert_eq!(states[0].line_with_break(0x00, 0x00, false), Ok((" 0 |00 | •".to_owned(), 0x00)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1252:9 [INFO] [stdout] | [INFO] [stdout] 1252 | ... assert_eq!(states[0].line_with_break(0x00, 0x01, false), Ok((" 0 |00 01 | ••".to_owned(), 0x01)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1253:9 [INFO] [stdout] | [INFO] [stdout] 1253 | ... assert_eq!(states[0].line_with_break(0x00, 0x02, false), Ok((" 0 |00 01 02 | •••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1254:9 [INFO] [stdout] | [INFO] [stdout] 1254 | ... assert_eq!(states[0].line_with_break(0x00, 0x03, false), Ok((" 0 |00 01 02 03 | ••••".to_owned(), 0x03)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1255:9 [INFO] [stdout] | [INFO] [stdout] 1255 | ... assert_eq!(states[0].line_with_break(0x00, 0x04, false), Ok((" 0 |00 01 02 03 04 | •••••".to_owned(), 0x04)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1256:9 [INFO] [stdout] | [INFO] [stdout] 1256 | ... assert_eq!(states[0].line_with_break(0x00, 0x05, false), Ok((" 0 |00 01 02 03 04 05 | ••••••".to_owned(), 0x05)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1257:9 [INFO] [stdout] | [INFO] [stdout] 1257 | ... assert_eq!(states[0].line_with_break(0x00, 0x06, false), Ok((" 0 |00 01 02 03 04 05 06 | •••••••".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1258:9 [INFO] [stdout] | [INFO] [stdout] 1258 | ... assert_eq!(states[0].line_with_break(0x00, 0x07, false), Ok((" 0 |00 01 02 03 04 05 06 07 | ••••••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1259:9 [INFO] [stdout] | [INFO] [stdout] 1259 | ... assert_eq!(states[0].line_with_break(0x00, 0x08, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 | •••••••••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1260:9 [INFO] [stdout] | [INFO] [stdout] 1260 | ... assert_eq!(states[0].line_with_break(0x00, 0x09, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 | •••••••••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1261 | ... assert_eq!(states[0].line_with_break(0x00, 0x0a, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a | •••••••••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1262:9 [INFO] [stdout] | [INFO] [stdout] 1262 | ... assert_eq!(states[0].line_with_break(0x00, 0x0b, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b | •••••••••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1263:9 [INFO] [stdout] | [INFO] [stdout] 1263 | ... assert_eq!(states[0].line_with_break(0x00, 0x0c, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c | •••••••••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1264:9 [INFO] [stdout] | [INFO] [stdout] 1264 | ... assert_eq!(states[0].line_with_break(0x00, 0x0d, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d | •••••••••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1265:9 [INFO] [stdout] | [INFO] [stdout] 1265 | ... assert_eq!(states[0].line_with_break(0x00, 0x0e, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e | •••••••••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1266:9 [INFO] [stdout] | [INFO] [stdout] 1266 | ... assert_eq!(states[0].line_with_break(0x00, 0x0f, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| •••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1267:9 [INFO] [stdout] | [INFO] [stdout] 1267 | ... assert_eq!(states[0].line_with_break(0x00, 0x10, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| •••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | ... assert_eq!(states[0].line_with_break(0x00, 0x11, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| •••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1269:9 [INFO] [stdout] | [INFO] [stdout] 1269 | ... assert_eq!(states[0].line_with_break(0x00, 0x12, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| •••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1272:9 [INFO] [stdout] | [INFO] [stdout] 1272 | ... assert_eq!(states[0].line_with_break(0x00, 0x13, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| •••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1273:9 [INFO] [stdout] | [INFO] [stdout] 1273 | ... assert_eq!(states[0].line_with_break(0x00, 0x14, false), Ok((" 0 |00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f| •••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1275:9 [INFO] [stdout] | [INFO] [stdout] 1275 | ... assert_eq!(states[0].line_with_break(0x01, 0x14, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10| ••••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | ... assert_eq!(states[0].line_with_break(0x01, 0x13, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10| ••••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1277:9 [INFO] [stdout] | [INFO] [stdout] 1277 | ... assert_eq!(states[0].line_with_break(0x01, 0x12, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10| ••••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | ... assert_eq!(states[0].line_with_break(0x01, 0x11, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10| ••••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1279:9 [INFO] [stdout] | [INFO] [stdout] 1279 | ... assert_eq!(states[0].line_with_break(0x01, 0x10, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10| ••••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1280:9 [INFO] [stdout] | [INFO] [stdout] 1280 | ... assert_eq!(states[0].line_with_break(0x01, 0x0f, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | ••••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1281:9 [INFO] [stdout] | [INFO] [stdout] 1281 | ... assert_eq!(states[0].line_with_break(0x01, 0x0e, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e | ••••••••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1282:9 [INFO] [stdout] | [INFO] [stdout] 1282 | ... assert_eq!(states[0].line_with_break(0x01, 0x0d, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c 0d | ••••••••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1283:9 [INFO] [stdout] | [INFO] [stdout] 1283 | ... assert_eq!(states[0].line_with_break(0x01, 0x0c, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b 0c | ••••••••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | ... assert_eq!(states[0].line_with_break(0x01, 0x0b, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a 0b | ••••••••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1285:9 [INFO] [stdout] | [INFO] [stdout] 1285 | ... assert_eq!(states[0].line_with_break(0x01, 0x0a, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 0a | ••••••••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | ... assert_eq!(states[0].line_with_break(0x01, 0x09, false), Ok((" 1 |01 02 03 04 05 06 07 08 09 | ••••••••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1287:9 [INFO] [stdout] | [INFO] [stdout] 1287 | ... assert_eq!(states[0].line_with_break(0x01, 0x08, false), Ok((" 1 |01 02 03 04 05 06 07 08 | ••••••••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1288:9 [INFO] [stdout] | [INFO] [stdout] 1288 | ... assert_eq!(states[0].line_with_break(0x01, 0x07, false), Ok((" 1 |01 02 03 04 05 06 07 | •••••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1289:9 [INFO] [stdout] | [INFO] [stdout] 1289 | ... assert_eq!(states[0].line_with_break(0x01, 0x06, false), Ok((" 1 |01 02 03 04 05 06 | ••••••".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | ... assert_eq!(states[0].line_with_break(0x01, 0x05, false), Ok((" 1 |01 02 03 04 05 | •••••".to_owned(), 0x05)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | ... assert_eq!(states[0].line_with_break(0x01, 0x04, false), Ok((" 1 |01 02 03 04 | ••••".to_owned(), 0x04)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1292:9 [INFO] [stdout] | [INFO] [stdout] 1292 | ... assert_eq!(states[0].line_with_break(0x01, 0x03, false), Ok((" 1 |01 02 03 | •••".to_owned(), 0x03)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1293:9 [INFO] [stdout] | [INFO] [stdout] 1293 | ... assert_eq!(states[0].line_with_break(0x01, 0x02, false), Ok((" 1 |01 02 | ••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | ... assert_eq!(states[0].line_with_break(0x01, 0x01, false), Ok((" 1 |01 | •".to_owned(), 0x01)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1295:9 [INFO] [stdout] | [INFO] [stdout] 1295 | assert_eq!(states[0].line_with_break(0x01, 0x00, false), Err("No bytes in empty interval [1,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | ... assert_eq!(states[0].line_with_break(0x02, 0x14, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11| •••••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | ... assert_eq!(states[0].line_with_break(0x02, 0x13, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11| •••••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | ... assert_eq!(states[0].line_with_break(0x02, 0x12, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11| •••••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1300:9 [INFO] [stdout] | [INFO] [stdout] 1300 | ... assert_eq!(states[0].line_with_break(0x02, 0x11, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11| •••••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1301:9 [INFO] [stdout] | [INFO] [stdout] 1301 | ... assert_eq!(states[0].line_with_break(0x02, 0x10, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 | •••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1302:9 [INFO] [stdout] | [INFO] [stdout] 1302 | ... assert_eq!(states[0].line_with_break(0x02, 0x0f, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | •••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1303:9 [INFO] [stdout] | [INFO] [stdout] 1303 | ... assert_eq!(states[0].line_with_break(0x02, 0x0e, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e | •••••••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1304:9 [INFO] [stdout] | [INFO] [stdout] 1304 | ... assert_eq!(states[0].line_with_break(0x02, 0x0d, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c 0d | •••••••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1305:9 [INFO] [stdout] | [INFO] [stdout] 1305 | ... assert_eq!(states[0].line_with_break(0x02, 0x0c, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b 0c | •••••••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1306:9 [INFO] [stdout] | [INFO] [stdout] 1306 | ... assert_eq!(states[0].line_with_break(0x02, 0x0b, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a 0b | •••••••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1307:9 [INFO] [stdout] | [INFO] [stdout] 1307 | ... assert_eq!(states[0].line_with_break(0x02, 0x0a, false), Ok((" 2 |02 03 04 05 06 07 08 09 0a | •••••••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1308:9 [INFO] [stdout] | [INFO] [stdout] 1308 | ... assert_eq!(states[0].line_with_break(0x02, 0x09, false), Ok((" 2 |02 03 04 05 06 07 08 09 | •••••••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1309:9 [INFO] [stdout] | [INFO] [stdout] 1309 | ... assert_eq!(states[0].line_with_break(0x02, 0x08, false), Ok((" 2 |02 03 04 05 06 07 08 | •••••••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1310:9 [INFO] [stdout] | [INFO] [stdout] 1310 | ... assert_eq!(states[0].line_with_break(0x02, 0x07, false), Ok((" 2 |02 03 04 05 06 07 | ••••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1311:9 [INFO] [stdout] | [INFO] [stdout] 1311 | ... assert_eq!(states[0].line_with_break(0x02, 0x06, false), Ok((" 2 |02 03 04 05 06 | •••••".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1312:9 [INFO] [stdout] | [INFO] [stdout] 1312 | ... assert_eq!(states[0].line_with_break(0x02, 0x05, false), Ok((" 2 |02 03 04 05 | ••••".to_owned(), 0x05)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1313:9 [INFO] [stdout] | [INFO] [stdout] 1313 | ... assert_eq!(states[0].line_with_break(0x02, 0x04, false), Ok((" 2 |02 03 04 | •••".to_owned(), 0x04)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1314:9 [INFO] [stdout] | [INFO] [stdout] 1314 | ... assert_eq!(states[0].line_with_break(0x02, 0x03, false), Ok((" 2 |02 03 | ••".to_owned(), 0x03)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1315:9 [INFO] [stdout] | [INFO] [stdout] 1315 | ... assert_eq!(states[0].line_with_break(0x02, 0x02, false), Ok((" 2 |02 | •".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1316:9 [INFO] [stdout] | [INFO] [stdout] 1316 | assert_eq!(states[0].line_with_break(0x02, 0x01, false), Err("No bytes in empty interval [2,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1317:9 [INFO] [stdout] | [INFO] [stdout] 1317 | assert_eq!(states[0].line_with_break(0x02, 0x00, false), Err("No bytes in empty interval [2,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1319:9 [INFO] [stdout] | [INFO] [stdout] 1319 | ... assert_eq!(states[0].line_with_break(0x03, 0x14, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12| ••••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1320:9 [INFO] [stdout] | [INFO] [stdout] 1320 | ... assert_eq!(states[0].line_with_break(0x03, 0x13, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12| ••••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1321:9 [INFO] [stdout] | [INFO] [stdout] 1321 | ... assert_eq!(states[0].line_with_break(0x03, 0x12, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12| ••••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1322:9 [INFO] [stdout] | [INFO] [stdout] 1322 | ... assert_eq!(states[0].line_with_break(0x03, 0x11, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 | ••••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1323:9 [INFO] [stdout] | [INFO] [stdout] 1323 | ... assert_eq!(states[0].line_with_break(0x03, 0x10, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 | ••••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1324:9 [INFO] [stdout] | [INFO] [stdout] 1324 | ... assert_eq!(states[0].line_with_break(0x03, 0x0f, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | ••••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1325:9 [INFO] [stdout] | [INFO] [stdout] 1325 | ... assert_eq!(states[0].line_with_break(0x03, 0x0e, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d 0e | ••••••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1326:9 [INFO] [stdout] | [INFO] [stdout] 1326 | ... assert_eq!(states[0].line_with_break(0x03, 0x0d, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c 0d | ••••••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1327:9 [INFO] [stdout] | [INFO] [stdout] 1327 | ... assert_eq!(states[0].line_with_break(0x03, 0x0c, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b 0c | ••••••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1328:9 [INFO] [stdout] | [INFO] [stdout] 1328 | ... assert_eq!(states[0].line_with_break(0x03, 0x0b, false), Ok((" 3 |03 04 05 06 07 08 09 0a 0b | ••••••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1329:9 [INFO] [stdout] | [INFO] [stdout] 1329 | ... assert_eq!(states[0].line_with_break(0x03, 0x0a, false), Ok((" 3 |03 04 05 06 07 08 09 0a | ••••••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1330:9 [INFO] [stdout] | [INFO] [stdout] 1330 | ... assert_eq!(states[0].line_with_break(0x03, 0x09, false), Ok((" 3 |03 04 05 06 07 08 09 | ••••••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1331:9 [INFO] [stdout] | [INFO] [stdout] 1331 | ... assert_eq!(states[0].line_with_break(0x03, 0x08, false), Ok((" 3 |03 04 05 06 07 08 | ••••••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1332:9 [INFO] [stdout] | [INFO] [stdout] 1332 | ... assert_eq!(states[0].line_with_break(0x03, 0x07, false), Ok((" 3 |03 04 05 06 07 | •••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1333:9 [INFO] [stdout] | [INFO] [stdout] 1333 | ... assert_eq!(states[0].line_with_break(0x03, 0x06, false), Ok((" 3 |03 04 05 06 | ••••".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1334:9 [INFO] [stdout] | [INFO] [stdout] 1334 | ... assert_eq!(states[0].line_with_break(0x03, 0x05, false), Ok((" 3 |03 04 05 | •••".to_owned(), 0x05)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1335:9 [INFO] [stdout] | [INFO] [stdout] 1335 | ... assert_eq!(states[0].line_with_break(0x03, 0x04, false), Ok((" 3 |03 04 | ••".to_owned(), 0x04)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1336:9 [INFO] [stdout] | [INFO] [stdout] 1336 | ... assert_eq!(states[0].line_with_break(0x03, 0x03, false), Ok((" 3 |03 | •".to_owned(), 0x03)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1337:9 [INFO] [stdout] | [INFO] [stdout] 1337 | assert_eq!(states[0].line_with_break(0x03, 0x02, false), Err("No bytes in empty interval [3,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1338:9 [INFO] [stdout] | [INFO] [stdout] 1338 | assert_eq!(states[0].line_with_break(0x03, 0x01, false), Err("No bytes in empty interval [3,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1339:9 [INFO] [stdout] | [INFO] [stdout] 1339 | assert_eq!(states[0].line_with_break(0x03, 0x00, false), Err("No bytes in empty interval [3,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1341:9 [INFO] [stdout] | [INFO] [stdout] 1341 | ... assert_eq!(states[0].line_with_break(0x04, 0x14, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1342:9 [INFO] [stdout] | [INFO] [stdout] 1342 | ... assert_eq!(states[0].line_with_break(0x04, 0x13, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1343:9 [INFO] [stdout] | [INFO] [stdout] 1343 | ... assert_eq!(states[0].line_with_break(0x04, 0x12, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1344:9 [INFO] [stdout] | [INFO] [stdout] 1344 | ... assert_eq!(states[0].line_with_break(0x04, 0x11, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 | •••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1345:9 [INFO] [stdout] | [INFO] [stdout] 1345 | ... assert_eq!(states[0].line_with_break(0x04, 0x10, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 | •••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1346:9 [INFO] [stdout] | [INFO] [stdout] 1346 | ... assert_eq!(states[0].line_with_break(0x04, 0x0f, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e 0f | •••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1347:9 [INFO] [stdout] | [INFO] [stdout] 1347 | ... assert_eq!(states[0].line_with_break(0x04, 0x0e, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d 0e | •••••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1348:9 [INFO] [stdout] | [INFO] [stdout] 1348 | ... assert_eq!(states[0].line_with_break(0x04, 0x0d, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c 0d | •••••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1349:9 [INFO] [stdout] | [INFO] [stdout] 1349 | ... assert_eq!(states[0].line_with_break(0x04, 0x0c, false), Ok((" 4 |04 05 06 07 08 09 0a 0b 0c | •••••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1350:9 [INFO] [stdout] | [INFO] [stdout] 1350 | ... assert_eq!(states[0].line_with_break(0x04, 0x0b, false), Ok((" 4 |04 05 06 07 08 09 0a 0b | •••••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1351:9 [INFO] [stdout] | [INFO] [stdout] 1351 | ... assert_eq!(states[0].line_with_break(0x04, 0x0a, false), Ok((" 4 |04 05 06 07 08 09 0a | •••••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1352:9 [INFO] [stdout] | [INFO] [stdout] 1352 | ... assert_eq!(states[0].line_with_break(0x04, 0x09, false), Ok((" 4 |04 05 06 07 08 09 | •••••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1353:9 [INFO] [stdout] | [INFO] [stdout] 1353 | ... assert_eq!(states[0].line_with_break(0x04, 0x08, false), Ok((" 4 |04 05 06 07 08 | •••••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1354:9 [INFO] [stdout] | [INFO] [stdout] 1354 | ... assert_eq!(states[0].line_with_break(0x04, 0x07, false), Ok((" 4 |04 05 06 07 | ••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1355:9 [INFO] [stdout] | [INFO] [stdout] 1355 | ... assert_eq!(states[0].line_with_break(0x04, 0x06, false), Ok((" 4 |04 05 06 | •••".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1356:9 [INFO] [stdout] | [INFO] [stdout] 1356 | ... assert_eq!(states[0].line_with_break(0x04, 0x05, false), Ok((" 4 |04 05 | ••".to_owned(), 0x05)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1357:9 [INFO] [stdout] | [INFO] [stdout] 1357 | ... assert_eq!(states[0].line_with_break(0x04, 0x04, false), Ok((" 4 |04 | •".to_owned(), 0x04)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1358:9 [INFO] [stdout] | [INFO] [stdout] 1358 | assert_eq!(states[0].line_with_break(0x04, 0x03, false), Err("No bytes in empty interval [4,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1359:9 [INFO] [stdout] | [INFO] [stdout] 1359 | assert_eq!(states[0].line_with_break(0x04, 0x02, false), Err("No bytes in empty interval [4,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1360:9 [INFO] [stdout] | [INFO] [stdout] 1360 | assert_eq!(states[0].line_with_break(0x04, 0x01, false), Err("No bytes in empty interval [4,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1361:9 [INFO] [stdout] | [INFO] [stdout] 1361 | assert_eq!(states[0].line_with_break(0x04, 0x00, false), Err("No bytes in empty interval [4,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1363:9 [INFO] [stdout] | [INFO] [stdout] 1363 | ... assert_eq!(states[0].line_with_break(0x05, 0x14, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | ••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1364:9 [INFO] [stdout] | [INFO] [stdout] 1364 | ... assert_eq!(states[0].line_with_break(0x05, 0x13, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | ••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1365:9 [INFO] [stdout] | [INFO] [stdout] 1365 | ... assert_eq!(states[0].line_with_break(0x05, 0x12, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | ••••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1366:9 [INFO] [stdout] | [INFO] [stdout] 1366 | ... assert_eq!(states[0].line_with_break(0x05, 0x11, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 | ••••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1367:9 [INFO] [stdout] | [INFO] [stdout] 1367 | ... assert_eq!(states[0].line_with_break(0x05, 0x10, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e 0f 10 | ••••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1368:9 [INFO] [stdout] | [INFO] [stdout] 1368 | ... assert_eq!(states[0].line_with_break(0x05, 0x0f, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e 0f | ••••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | ... assert_eq!(states[0].line_with_break(0x05, 0x0e, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d 0e | ••••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1370:9 [INFO] [stdout] | [INFO] [stdout] 1370 | ... assert_eq!(states[0].line_with_break(0x05, 0x0d, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c 0d | ••••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1371:9 [INFO] [stdout] | [INFO] [stdout] 1371 | ... assert_eq!(states[0].line_with_break(0x05, 0x0c, false), Ok((" 5 |05 06 07 08 09 0a 0b 0c | ••••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1372:9 [INFO] [stdout] | [INFO] [stdout] 1372 | ... assert_eq!(states[0].line_with_break(0x05, 0x0b, false), Ok((" 5 |05 06 07 08 09 0a 0b | ••••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1373:9 [INFO] [stdout] | [INFO] [stdout] 1373 | ... assert_eq!(states[0].line_with_break(0x05, 0x0a, false), Ok((" 5 |05 06 07 08 09 0a | ••••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1374:9 [INFO] [stdout] | [INFO] [stdout] 1374 | ... assert_eq!(states[0].line_with_break(0x05, 0x09, false), Ok((" 5 |05 06 07 08 09 | ••••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1375:9 [INFO] [stdout] | [INFO] [stdout] 1375 | ... assert_eq!(states[0].line_with_break(0x05, 0x08, false), Ok((" 5 |05 06 07 08 | ••••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1376:9 [INFO] [stdout] | [INFO] [stdout] 1376 | ... assert_eq!(states[0].line_with_break(0x05, 0x07, false), Ok((" 5 |05 06 07 | •••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1377:9 [INFO] [stdout] | [INFO] [stdout] 1377 | ... assert_eq!(states[0].line_with_break(0x05, 0x06, false), Ok((" 5 |05 06 | ••".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1378:9 [INFO] [stdout] | [INFO] [stdout] 1378 | ... assert_eq!(states[0].line_with_break(0x05, 0x05, false), Ok((" 5 |05 | •".to_owned(), 0x05)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1379:9 [INFO] [stdout] | [INFO] [stdout] 1379 | assert_eq!(states[0].line_with_break(0x05, 0x04, false), Err("No bytes in empty interval [5,4]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1380:9 [INFO] [stdout] | [INFO] [stdout] 1380 | assert_eq!(states[0].line_with_break(0x05, 0x03, false), Err("No bytes in empty interval [5,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | assert_eq!(states[0].line_with_break(0x05, 0x02, false), Err("No bytes in empty interval [5,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1382:9 [INFO] [stdout] | [INFO] [stdout] 1382 | assert_eq!(states[0].line_with_break(0x05, 0x01, false), Err("No bytes in empty interval [5,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1383:9 [INFO] [stdout] | [INFO] [stdout] 1383 | assert_eq!(states[0].line_with_break(0x05, 0x00, false), Err("No bytes in empty interval [5,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1385:9 [INFO] [stdout] | [INFO] [stdout] 1385 | ... assert_eq!(states[0].line_with_break(0x06, 0x14, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1386:9 [INFO] [stdout] | [INFO] [stdout] 1386 | ... assert_eq!(states[0].line_with_break(0x06, 0x13, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1387:9 [INFO] [stdout] | [INFO] [stdout] 1387 | ... assert_eq!(states[0].line_with_break(0x06, 0x12, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •••__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1388:9 [INFO] [stdout] | [INFO] [stdout] 1388 | ... assert_eq!(states[0].line_with_break(0x06, 0x11, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e 0f 10 11 | •••__•__••••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1389:9 [INFO] [stdout] | [INFO] [stdout] 1389 | ... assert_eq!(states[0].line_with_break(0x06, 0x10, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e 0f 10 | •••__•__•••".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1390:9 [INFO] [stdout] | [INFO] [stdout] 1390 | ... assert_eq!(states[0].line_with_break(0x06, 0x0f, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e 0f | •••__•__••".to_owned(), 0x0f)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | ... assert_eq!(states[0].line_with_break(0x06, 0x0e, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d 0e | •••__•__•".to_owned(), 0x0e)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1392:9 [INFO] [stdout] | [INFO] [stdout] 1392 | ... assert_eq!(states[0].line_with_break(0x06, 0x0d, false), Ok((" 6 |06 07 08 09 0a 0b 0c 0d | •••__•__".to_owned(), 0x0d)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1393:9 [INFO] [stdout] | [INFO] [stdout] 1393 | ... assert_eq!(states[0].line_with_break(0x06, 0x0c, false), Ok((" 6 |06 07 08 09 0a 0b 0c | •••__•_".to_owned(), 0x0c)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1394:9 [INFO] [stdout] | [INFO] [stdout] 1394 | ... assert_eq!(states[0].line_with_break(0x06, 0x0b, false), Ok((" 6 |06 07 08 09 0a 0b | •••__•".to_owned(), 0x0b)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1395:9 [INFO] [stdout] | [INFO] [stdout] 1395 | ... assert_eq!(states[0].line_with_break(0x06, 0x0a, false), Ok((" 6 |06 07 08 09 0a | •••__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1396:9 [INFO] [stdout] | [INFO] [stdout] 1396 | ... assert_eq!(states[0].line_with_break(0x06, 0x09, false), Ok((" 6 |06 07 08 09 | •••_".to_owned(), 0x09)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1397:9 [INFO] [stdout] | [INFO] [stdout] 1397 | ... assert_eq!(states[0].line_with_break(0x06, 0x08, false), Ok((" 6 |06 07 08 | •••".to_owned(), 0x08)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1398:9 [INFO] [stdout] | [INFO] [stdout] 1398 | ... assert_eq!(states[0].line_with_break(0x06, 0x07, false), Ok((" 6 |06 07 | ••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1399:9 [INFO] [stdout] | [INFO] [stdout] 1399 | ... assert_eq!(states[0].line_with_break(0x06, 0x06, false), Ok((" 6 |06 | •".to_owned(), 0x06)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1400:9 [INFO] [stdout] | [INFO] [stdout] 1400 | assert_eq!(states[0].line_with_break(0x06, 0x05, false), Err("No bytes in empty interval [6,5]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1401:9 [INFO] [stdout] | [INFO] [stdout] 1401 | assert_eq!(states[0].line_with_break(0x06, 0x04, false), Err("No bytes in empty interval [6,4]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1402:9 [INFO] [stdout] | [INFO] [stdout] 1402 | assert_eq!(states[0].line_with_break(0x06, 0x03, false), Err("No bytes in empty interval [6,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1403:9 [INFO] [stdout] | [INFO] [stdout] 1403 | assert_eq!(states[0].line_with_break(0x06, 0x02, false), Err("No bytes in empty interval [6,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1404:9 [INFO] [stdout] | [INFO] [stdout] 1404 | assert_eq!(states[0].line_with_break(0x06, 0x01, false), Err("No bytes in empty interval [6,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1405:9 [INFO] [stdout] | [INFO] [stdout] 1405 | assert_eq!(states[0].line_with_break(0x06, 0x00, false), Err("No bytes in empty interval [6,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1407:9 [INFO] [stdout] | [INFO] [stdout] 1407 | ... assert_eq!(states[0].line_with_break(0x10, 0x14, false), Ok((" 10 |10 11 12 | •••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1408:9 [INFO] [stdout] | [INFO] [stdout] 1408 | ... assert_eq!(states[0].line_with_break(0x10, 0x13, false), Ok((" 10 |10 11 12 | •••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1409:9 [INFO] [stdout] | [INFO] [stdout] 1409 | ... assert_eq!(states[0].line_with_break(0x10, 0x12, false), Ok((" 10 |10 11 12 | •••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1410:9 [INFO] [stdout] | [INFO] [stdout] 1410 | ... assert_eq!(states[0].line_with_break(0x10, 0x11, false), Ok((" 10 |10 11 | ••".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1411:9 [INFO] [stdout] | [INFO] [stdout] 1411 | ... assert_eq!(states[0].line_with_break(0x10, 0x10, false), Ok((" 10 |10 | •".to_owned(), 0x10)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1412:9 [INFO] [stdout] | [INFO] [stdout] 1412 | assert_eq!(states[0].line_with_break(0x10, 0x0f, false), Err("No bytes in empty interval [16,15]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1413:9 [INFO] [stdout] | [INFO] [stdout] 1413 | assert_eq!(states[0].line_with_break(0x10, 0x0e, false), Err("No bytes in empty interval [16,14]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1414:9 [INFO] [stdout] | [INFO] [stdout] 1414 | assert_eq!(states[0].line_with_break(0x10, 0x0d, false), Err("No bytes in empty interval [16,13]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1415:9 [INFO] [stdout] | [INFO] [stdout] 1415 | assert_eq!(states[0].line_with_break(0x10, 0x0c, false), Err("No bytes in empty interval [16,12]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1416:9 [INFO] [stdout] | [INFO] [stdout] 1416 | assert_eq!(states[0].line_with_break(0x10, 0x0b, false), Err("No bytes in empty interval [16,11]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1417:9 [INFO] [stdout] | [INFO] [stdout] 1417 | assert_eq!(states[0].line_with_break(0x10, 0x0a, false), Err("No bytes in empty interval [16,10]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1418:9 [INFO] [stdout] | [INFO] [stdout] 1418 | assert_eq!(states[0].line_with_break(0x10, 0x09, false), Err("No bytes in empty interval [16,9]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1419:9 [INFO] [stdout] | [INFO] [stdout] 1419 | assert_eq!(states[0].line_with_break(0x10, 0x08, false), Err("No bytes in empty interval [16,8]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1420:9 [INFO] [stdout] | [INFO] [stdout] 1420 | assert_eq!(states[0].line_with_break(0x10, 0x07, false), Err("No bytes in empty interval [16,7]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1421:9 [INFO] [stdout] | [INFO] [stdout] 1421 | assert_eq!(states[0].line_with_break(0x10, 0x06, false), Err("No bytes in empty interval [16,6]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1422:9 [INFO] [stdout] | [INFO] [stdout] 1422 | assert_eq!(states[0].line_with_break(0x10, 0x05, false), Err("No bytes in empty interval [16,5]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1423:9 [INFO] [stdout] | [INFO] [stdout] 1423 | assert_eq!(states[0].line_with_break(0x10, 0x04, false), Err("No bytes in empty interval [16,4]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1424:9 [INFO] [stdout] | [INFO] [stdout] 1424 | assert_eq!(states[0].line_with_break(0x10, 0x03, false), Err("No bytes in empty interval [16,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1425:9 [INFO] [stdout] | [INFO] [stdout] 1425 | assert_eq!(states[0].line_with_break(0x10, 0x02, false), Err("No bytes in empty interval [16,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1426:9 [INFO] [stdout] | [INFO] [stdout] 1426 | assert_eq!(states[0].line_with_break(0x10, 0x01, false), Err("No bytes in empty interval [16,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1427:9 [INFO] [stdout] | [INFO] [stdout] 1427 | assert_eq!(states[0].line_with_break(0x10, 0x00, false), Err("No bytes in empty interval [16,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1429:9 [INFO] [stdout] | [INFO] [stdout] 1429 | ... assert_eq!(states[0].line_with_break(0x11, 0x14, false), Ok((" 11 |11 12 | ••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1430:9 [INFO] [stdout] | [INFO] [stdout] 1430 | ... assert_eq!(states[0].line_with_break(0x11, 0x13, false), Ok((" 11 |11 12 | ••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1431:9 [INFO] [stdout] | [INFO] [stdout] 1431 | ... assert_eq!(states[0].line_with_break(0x11, 0x12, false), Ok((" 11 |11 12 | ••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1432:9 [INFO] [stdout] | [INFO] [stdout] 1432 | ... assert_eq!(states[0].line_with_break(0x11, 0x11, false), Ok((" 11 |11 | •".to_owned(), 0x11)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1433:9 [INFO] [stdout] | [INFO] [stdout] 1433 | assert_eq!(states[0].line_with_break(0x11, 0x10, false), Err("No bytes in empty interval [17,16]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1434:9 [INFO] [stdout] | [INFO] [stdout] 1434 | assert_eq!(states[0].line_with_break(0x11, 0x0f, false), Err("No bytes in empty interval [17,15]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1435:9 [INFO] [stdout] | [INFO] [stdout] 1435 | assert_eq!(states[0].line_with_break(0x11, 0x0e, false), Err("No bytes in empty interval [17,14]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1436:9 [INFO] [stdout] | [INFO] [stdout] 1436 | assert_eq!(states[0].line_with_break(0x11, 0x0d, false), Err("No bytes in empty interval [17,13]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1437:9 [INFO] [stdout] | [INFO] [stdout] 1437 | assert_eq!(states[0].line_with_break(0x11, 0x0c, false), Err("No bytes in empty interval [17,12]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1438:9 [INFO] [stdout] | [INFO] [stdout] 1438 | assert_eq!(states[0].line_with_break(0x11, 0x0b, false), Err("No bytes in empty interval [17,11]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1439:9 [INFO] [stdout] | [INFO] [stdout] 1439 | assert_eq!(states[0].line_with_break(0x11, 0x0a, false), Err("No bytes in empty interval [17,10]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1440:9 [INFO] [stdout] | [INFO] [stdout] 1440 | assert_eq!(states[0].line_with_break(0x11, 0x09, false), Err("No bytes in empty interval [17,9]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1441:9 [INFO] [stdout] | [INFO] [stdout] 1441 | assert_eq!(states[0].line_with_break(0x11, 0x08, false), Err("No bytes in empty interval [17,8]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1442:9 [INFO] [stdout] | [INFO] [stdout] 1442 | assert_eq!(states[0].line_with_break(0x11, 0x07, false), Err("No bytes in empty interval [17,7]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1443:9 [INFO] [stdout] | [INFO] [stdout] 1443 | assert_eq!(states[0].line_with_break(0x11, 0x06, false), Err("No bytes in empty interval [17,6]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1444:9 [INFO] [stdout] | [INFO] [stdout] 1444 | assert_eq!(states[0].line_with_break(0x11, 0x05, false), Err("No bytes in empty interval [17,5]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1445:9 [INFO] [stdout] | [INFO] [stdout] 1445 | assert_eq!(states[0].line_with_break(0x11, 0x04, false), Err("No bytes in empty interval [17,4]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1446:9 [INFO] [stdout] | [INFO] [stdout] 1446 | assert_eq!(states[0].line_with_break(0x11, 0x03, false), Err("No bytes in empty interval [17,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1447:9 [INFO] [stdout] | [INFO] [stdout] 1447 | assert_eq!(states[0].line_with_break(0x11, 0x02, false), Err("No bytes in empty interval [17,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1448:9 [INFO] [stdout] | [INFO] [stdout] 1448 | assert_eq!(states[0].line_with_break(0x11, 0x01, false), Err("No bytes in empty interval [17,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1449:9 [INFO] [stdout] | [INFO] [stdout] 1449 | assert_eq!(states[0].line_with_break(0x11, 0x00, false), Err("No bytes in empty interval [17,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1451:9 [INFO] [stdout] | [INFO] [stdout] 1451 | ... assert_eq!(states[0].line_with_break(0x12, 0x14, false), Ok((" 12 |12 | •".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1452:9 [INFO] [stdout] | [INFO] [stdout] 1452 | ... assert_eq!(states[0].line_with_break(0x12, 0x13, false), Ok((" 12 |12 | •".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1453:9 [INFO] [stdout] | [INFO] [stdout] 1453 | ... assert_eq!(states[0].line_with_break(0x12, 0x12, false), Ok((" 12 |12 | •".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1454:9 [INFO] [stdout] | [INFO] [stdout] 1454 | assert_eq!(states[0].line_with_break(0x12, 0x11, false), Err("No bytes in empty interval [18,17]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1455:9 [INFO] [stdout] | [INFO] [stdout] 1455 | assert_eq!(states[0].line_with_break(0x12, 0x10, false), Err("No bytes in empty interval [18,16]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1456:9 [INFO] [stdout] | [INFO] [stdout] 1456 | assert_eq!(states[0].line_with_break(0x12, 0x0f, false), Err("No bytes in empty interval [18,15]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1457:9 [INFO] [stdout] | [INFO] [stdout] 1457 | assert_eq!(states[0].line_with_break(0x12, 0x0e, false), Err("No bytes in empty interval [18,14]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1458:9 [INFO] [stdout] | [INFO] [stdout] 1458 | assert_eq!(states[0].line_with_break(0x12, 0x0d, false), Err("No bytes in empty interval [18,13]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1459:9 [INFO] [stdout] | [INFO] [stdout] 1459 | assert_eq!(states[0].line_with_break(0x12, 0x0c, false), Err("No bytes in empty interval [18,12]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1460:9 [INFO] [stdout] | [INFO] [stdout] 1460 | assert_eq!(states[0].line_with_break(0x12, 0x0b, false), Err("No bytes in empty interval [18,11]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1461:9 [INFO] [stdout] | [INFO] [stdout] 1461 | assert_eq!(states[0].line_with_break(0x12, 0x0a, false), Err("No bytes in empty interval [18,10]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1462:9 [INFO] [stdout] | [INFO] [stdout] 1462 | assert_eq!(states[0].line_with_break(0x12, 0x09, false), Err("No bytes in empty interval [18,9]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1463:9 [INFO] [stdout] | [INFO] [stdout] 1463 | assert_eq!(states[0].line_with_break(0x12, 0x08, false), Err("No bytes in empty interval [18,8]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1464:9 [INFO] [stdout] | [INFO] [stdout] 1464 | assert_eq!(states[0].line_with_break(0x12, 0x07, false), Err("No bytes in empty interval [18,7]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1465:9 [INFO] [stdout] | [INFO] [stdout] 1465 | assert_eq!(states[0].line_with_break(0x12, 0x06, false), Err("No bytes in empty interval [18,6]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1466:9 [INFO] [stdout] | [INFO] [stdout] 1466 | assert_eq!(states[0].line_with_break(0x12, 0x05, false), Err("No bytes in empty interval [18,5]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1467:9 [INFO] [stdout] | [INFO] [stdout] 1467 | assert_eq!(states[0].line_with_break(0x12, 0x04, false), Err("No bytes in empty interval [18,4]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1468:9 [INFO] [stdout] | [INFO] [stdout] 1468 | assert_eq!(states[0].line_with_break(0x12, 0x03, false), Err("No bytes in empty interval [18,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1469:9 [INFO] [stdout] | [INFO] [stdout] 1469 | assert_eq!(states[0].line_with_break(0x12, 0x02, false), Err("No bytes in empty interval [18,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1470:9 [INFO] [stdout] | [INFO] [stdout] 1470 | assert_eq!(states[0].line_with_break(0x12, 0x01, false), Err("No bytes in empty interval [18,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1471:9 [INFO] [stdout] | [INFO] [stdout] 1471 | assert_eq!(states[0].line_with_break(0x12, 0x00, false), Err("No bytes in empty interval [18,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1473:9 [INFO] [stdout] | [INFO] [stdout] 1473 | assert_eq!(states[0].line_with_break(0x13, 0x14, false), Err("19 is past the last byte (18)".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1474:9 [INFO] [stdout] | [INFO] [stdout] 1474 | assert_eq!(states[0].line_with_break(0x13, 0x13, false), Err("19 is past the last byte (18)".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1475:9 [INFO] [stdout] | [INFO] [stdout] 1475 | assert_eq!(states[0].line_with_break(0x13, 0x12, false), Err("No bytes in empty interval [19,18]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1476:9 [INFO] [stdout] | [INFO] [stdout] 1476 | assert_eq!(states[0].line_with_break(0x13, 0x11, false), Err("No bytes in empty interval [19,17]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1477:9 [INFO] [stdout] | [INFO] [stdout] 1477 | assert_eq!(states[0].line_with_break(0x13, 0x10, false), Err("No bytes in empty interval [19,16]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1478:9 [INFO] [stdout] | [INFO] [stdout] 1478 | assert_eq!(states[0].line_with_break(0x13, 0x0f, false), Err("No bytes in empty interval [19,15]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1479:9 [INFO] [stdout] | [INFO] [stdout] 1479 | assert_eq!(states[0].line_with_break(0x13, 0x0e, false), Err("No bytes in empty interval [19,14]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1480:9 [INFO] [stdout] | [INFO] [stdout] 1480 | assert_eq!(states[0].line_with_break(0x13, 0x0d, false), Err("No bytes in empty interval [19,13]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1481:9 [INFO] [stdout] | [INFO] [stdout] 1481 | assert_eq!(states[0].line_with_break(0x13, 0x0c, false), Err("No bytes in empty interval [19,12]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1482:9 [INFO] [stdout] | [INFO] [stdout] 1482 | assert_eq!(states[0].line_with_break(0x13, 0x0b, false), Err("No bytes in empty interval [19,11]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1483:9 [INFO] [stdout] | [INFO] [stdout] 1483 | assert_eq!(states[0].line_with_break(0x13, 0x0a, false), Err("No bytes in empty interval [19,10]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1484:9 [INFO] [stdout] | [INFO] [stdout] 1484 | assert_eq!(states[0].line_with_break(0x13, 0x09, false), Err("No bytes in empty interval [19,9]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1485:9 [INFO] [stdout] | [INFO] [stdout] 1485 | assert_eq!(states[0].line_with_break(0x13, 0x08, false), Err("No bytes in empty interval [19,8]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1486:9 [INFO] [stdout] | [INFO] [stdout] 1486 | assert_eq!(states[0].line_with_break(0x13, 0x07, false), Err("No bytes in empty interval [19,7]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1487:9 [INFO] [stdout] | [INFO] [stdout] 1487 | assert_eq!(states[0].line_with_break(0x13, 0x06, false), Err("No bytes in empty interval [19,6]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1488:9 [INFO] [stdout] | [INFO] [stdout] 1488 | assert_eq!(states[0].line_with_break(0x13, 0x05, false), Err("No bytes in empty interval [19,5]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1489:9 [INFO] [stdout] | [INFO] [stdout] 1489 | assert_eq!(states[0].line_with_break(0x13, 0x04, false), Err("No bytes in empty interval [19,4]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1490:9 [INFO] [stdout] | [INFO] [stdout] 1490 | assert_eq!(states[0].line_with_break(0x13, 0x03, false), Err("No bytes in empty interval [19,3]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1491:9 [INFO] [stdout] | [INFO] [stdout] 1491 | assert_eq!(states[0].line_with_break(0x13, 0x02, false), Err("No bytes in empty interval [19,2]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1492:9 [INFO] [stdout] | [INFO] [stdout] 1492 | assert_eq!(states[0].line_with_break(0x13, 0x01, false), Err("No bytes in empty interval [19,1]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1493:9 [INFO] [stdout] | [INFO] [stdout] 1493 | assert_eq!(states[0].line_with_break(0x13, 0x00, false), Err("No bytes in empty interval [19,0]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1495:9 [INFO] [stdout] | [INFO] [stdout] 1495 | assert_eq!(states[0].line_with_break(0x14, 0x14, false), Err("20 is past the last byte (18)".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1496:9 [INFO] [stdout] | [INFO] [stdout] 1496 | assert_eq!(states[0].line_with_break(0x14, 0x13, false), Err("No bytes in empty interval [20,19]".to_owned())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<_, std::string::String>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `Preferences` has no field named `underline_main_bytes` [INFO] [stdout] --> src/lib.rs:1502:17 [INFO] [stdout] | [INFO] [stdout] 1502 | underline_main_bytes: true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: a field with a similar name exists: `underline_main_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1516:21 [INFO] [stdout] | [INFO] [stdout] 1516 | breaks: vec![3, 8], [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::collections::HashSet`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::collections::HashSet` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1523:9 [INFO] [stdout] | [INFO] [stdout] 1523 | ... assert_eq!(states[1].line_with_break(0x00, 0x00, false), Ok((" 0 |00 | •".to_owned(), 0x00)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1524:9 [INFO] [stdout] | [INFO] [stdout] 1524 | ... assert_eq!(states[1].line_with_break(0x00, 0x01, false), Ok((" 0 |00 01 | ••".to_owned(), 0x01)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1525:9 [INFO] [stdout] | [INFO] [stdout] 1525 | ... assert_eq!(states[1].line_with_break(0x00, 0x02, false), Ok((" 0 |00 01 02 | •••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1526:9 [INFO] [stdout] | [INFO] [stdout] 1526 | ... assert_eq!(states[1].line_with_break(0x00, 0x03, false), Ok((" 0 |00 01 02 | •••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1527:9 [INFO] [stdout] | [INFO] [stdout] 1527 | ... assert_eq!(states[1].line_with_break(0x00, 0x04, false), Ok((" 0 |00 01 02 | •••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1528:9 [INFO] [stdout] | [INFO] [stdout] 1528 | ... assert_eq!(states[1].line_with_break(0x00, 0x100, false), Ok((" 0 |00 01 02 | •••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1530:9 [INFO] [stdout] | [INFO] [stdout] 1530 | ... assert_eq!(states[1].line_with_break(0x01, 0x0a, false), Ok((" 1 |01 02 | ••".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1531:9 [INFO] [stdout] | [INFO] [stdout] 1531 | ... assert_eq!(states[1].line_with_break(0x02, 0x0a, false), Ok((" 2 |02 | •".to_owned(), 0x02)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1532:9 [INFO] [stdout] | [INFO] [stdout] 1532 | ... assert_eq!(states[1].line_with_break(0x03, 0x0a, false), Ok((" 3 |03 04 05 06 07 | •••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1533:9 [INFO] [stdout] | [INFO] [stdout] 1533 | ... assert_eq!(states[1].line_with_break(0x04, 0x0a, false), Ok((" 4 |04 05 06 07 | ••••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1534:9 [INFO] [stdout] | [INFO] [stdout] 1534 | ... assert_eq!(states[1].line_with_break(0x05, 0x0a, false), Ok((" 5 |05 06 07 | •••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1535:9 [INFO] [stdout] | [INFO] [stdout] 1535 | ... assert_eq!(states[1].line_with_break(0x06, 0x0a, false), Ok((" 6 |06 07 | ••".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1536:9 [INFO] [stdout] | [INFO] [stdout] 1536 | ... assert_eq!(states[1].line_with_break(0x07, 0x0a, false), Ok((" 7 |07 | •".to_owned(), 0x07)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1537:9 [INFO] [stdout] | [INFO] [stdout] 1537 | ... assert_eq!(states[1].line_with_break(0x08, 0x0a, false), Ok((" 8 |08 09 0a | •__".to_owned(), 0x0a)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1538:9 [INFO] [stdout] | [INFO] [stdout] 1538 | ... assert_eq!(states[1].line_with_break(0x08, 0x100, false), Ok((" 8 |08 09 0a 0b 0c 0d 0e 0f 10 11 12 | •__•__•••••".to_owned(), 0x12)... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found enum `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option<(std::string::String, usize)>` [INFO] [stdout] found enum `Result<(std::string::String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `underline_main_line` in initializer of `Preferences` [INFO] [stdout] --> src/lib.rs:1545:20 [INFO] [stdout] | [INFO] [stdout] 1545 | prefs: Preferences { [INFO] [stdout] | ^^^^^^^^^^^ missing `underline_main_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:1561:21 [INFO] [stdout] | [INFO] [stdout] 1561 | breaks: Vec::new(), [INFO] [stdout] | ^^^^^^^^^^ expected struct `std::collections::HashSet`, found struct `Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `std::collections::HashSet` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 254 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `edhex_core` due to 255 previous errors [INFO] running `Command { std: "docker" "inspect" "761b7656c26c118e422d140932a9dd8464e06cabcab29b964ba6ce16059a61e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "761b7656c26c118e422d140932a9dd8464e06cabcab29b964ba6ce16059a61e7", kill_on_drop: false }` [INFO] [stdout] 761b7656c26c118e422d140932a9dd8464e06cabcab29b964ba6ce16059a61e7