[INFO] fetching crate ruby-parser 0.0.0-dev1... [INFO] checking ruby-parser-0.0.0-dev1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate ruby-parser 0.0.0-dev1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate ruby-parser 0.0.0-dev1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ruby-parser 0.0.0-dev1 [INFO] finished tweaking crates.io crate ruby-parser 0.0.0-dev1 [INFO] tweaked toml for crates.io crate ruby-parser 0.0.0-dev1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding memchr v2.3.4 (available: v2.7.4) [INFO] [stderr] Adding nom v6.2.2 (available: v7.1.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded codemap v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d5c50cb4866a2eafede03dd97136849946897e1803927ddfc4ff1bf4d282f3 [INFO] running `Command { std: "docker" "start" "-a" "62d5c50cb4866a2eafede03dd97136849946897e1803927ddfc4ff1bf4d282f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d5c50cb4866a2eafede03dd97136849946897e1803927ddfc4ff1bf4d282f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d5c50cb4866a2eafede03dd97136849946897e1803927ddfc4ff1bf4d282f3", kill_on_drop: false }` [INFO] [stdout] 62d5c50cb4866a2eafede03dd97136849946897e1803927ddfc4ff1bf4d282f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e16f1eb103496be5d4b35e2c08a7eb7e7f834c2101967a014f622558135b95c3 [INFO] running `Command { std: "docker" "start" "-a" "e16f1eb103496be5d4b35e2c08a7eb7e7f834c2101967a014f622558135b95c3", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Checking codemap v0.1.3 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Checking bitvec v0.19.6 [INFO] [stderr] Checking ruby-parser v0.0.0-dev1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0053]: method `slice_index` has an incompatible type for trait [INFO] [stdout] --> src/structs/tracked_location.rs:235:44 [INFO] [stdout] | [INFO] [stdout] 235 | fn slice_index(&self, count: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Result`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&TrackedLocation<_, _>, _) -> Result` [INFO] [stdout] found signature `fn(&TrackedLocation<_, _>, _) -> Option` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 235 | fn slice_index(&self, count: usize) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/comment.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/comment.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/comment.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/comment.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/argument.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/argument.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/assignment.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/assignment.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/binary.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/binary.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/block.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/block.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/logical.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/logical.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/method.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/method.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/super_.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/super_.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/unary.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/unary.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/yield_.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/yield_.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/program.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | return Err(nom::Err::Error((i, nom::error::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/program.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | return Err(nom::Err::Error((i, nom::error::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/statement.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/statement.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/array.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/array.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/array.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/array.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `slice_index` has an incompatible type for trait [INFO] [stdout] --> src/structs/tracked_location.rs:235:44 [INFO] [stdout] | [INFO] [stdout] 235 | fn slice_index(&self, count: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ expected `Result`, found `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&tracked_location::TrackedLocation<_, _>, _) -> Result` [INFO] [stdout] found signature `fn(&tracked_location::TrackedLocation<_, _>, _) -> Option` [INFO] [stdout] help: change the output type to match the trait [INFO] [stdout] | [INFO] [stdout] 235 | fn slice_index(&self, count: usize) -> Result { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/regex.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/regex.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/regex.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/regex.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/comment.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/comment.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/comment.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/comment.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/argument.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/argument.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/assignment.rs:71:25 [INFO] [stdout] | [INFO] [stdout] 71 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/assignment.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/binary.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/binary.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/block.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/block.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/logical.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/logical.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/method.rs:54:25 [INFO] [stdout] | [INFO] [stdout] 54 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/method.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/super_.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/super_.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/unary.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/unary.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:178:36 [INFO] [stdout] | [INFO] [stdout] 178 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression/yield_.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression/yield_.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | Err(nom::Err::Error((i.clone(), crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Err(nom::Err::Error((i.clone(), crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/expression.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/expression.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/program.rs:87:36 [INFO] [stdout] | [INFO] [stdout] 87 | return Err(nom::Err::Error((i, nom::error::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/program.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | return Err(nom::Err::Error((i, nom::error::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/statement.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/statement.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/structs/tracked_location.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | fn slice_index(&self, count: usize) -> Option { [INFO] [stdout] | ------------- expected `Option` because of return type [INFO] [stdout] 236 | self.input.slice_index(count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/array.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/array.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/array.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/array.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | nom::Err::Error(($remaining.into(), $result)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Err>`, found `Err<(_, ErrorKind)>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexers/token/literal/numeric.rs:269:9 [INFO] [stdout] | [INFO] [stdout] 269 | / assert_err!( [INFO] [stdout] 270 | | "0_1__0", [INFO] [stdout] 271 | | Input::new_with_pos("__0", 3, 1, 4), [INFO] [stdout] 272 | | crate::ErrorKind::Eof [INFO] [stdout] 273 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `nom::Err>>>` [INFO] [stdout] found enum `nom::Err<(_, nom::error::ErrorKind)>` [INFO] [stdout] = note: this error originates in the macro `assert_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/macros.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | nom::Err::Error(($remaining.into(), $result)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Err>`, found `Err<(_, ErrorKind)>` [INFO] [stdout] | [INFO] [stdout] ::: src/lexers/token/literal/numeric.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | / assert_err!( [INFO] [stdout] 275 | | "0755 foobar", [INFO] [stdout] 276 | | Input::new_with_pos(" foobar", 4, 1, 5), [INFO] [stdout] 277 | | crate::ErrorKind::Eof [INFO] [stdout] 278 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected enum `nom::Err>>>` [INFO] [stdout] found enum `nom::Err<(_, nom::error::ErrorKind)>` [INFO] [stdout] = note: this error originates in the macro `assert_err` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/regex.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/regex.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/regex.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/regex.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | Err(nom::Err::Error((i, crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^---------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:178:36 [INFO] [stdout] | [INFO] [stdout] 178 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:178:20 [INFO] [stdout] | [INFO] [stdout] 178 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:195:36 [INFO] [stdout] | [INFO] [stdout] 195 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | return Err(nom::Err::Error((i, crate::ErrorKind::Space))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | Err(nom::Err::Error((i.clone(), crate::ErrorKind::Char))) [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Error>`, found `(TrackedLocation<&str, ...>, ...)` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `nom::error::Error>>` [INFO] [stdout] found tuple `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` [INFO] [stdout] help: the type constructed contains `(tracked_location::TrackedLocation<&str, metadata::Metadata<'_>>, nom::error::ErrorKind)` due to the type of the argument passed [INFO] [stdout] --> src/lexers/token/literal/string/heredoc.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | Err(nom::Err::Error((i.clone(), crate::ErrorKind::Char))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | this argument influences the type of `nom` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-6.2.2/src/internal.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | Error(E), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/structs/tracked_location.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 235 | fn slice_index(&self, count: usize) -> Option { [INFO] [stdout] | ------------- expected `Option` because of return type [INFO] [stdout] 236 | self.input.slice_index(count) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruby-parser` (lib) due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0053, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ruby-parser` (lib test) due to 25 previous errors [INFO] running `Command { std: "docker" "inspect" "e16f1eb103496be5d4b35e2c08a7eb7e7f834c2101967a014f622558135b95c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16f1eb103496be5d4b35e2c08a7eb7e7f834c2101967a014f622558135b95c3", kill_on_drop: false }` [INFO] [stdout] e16f1eb103496be5d4b35e2c08a7eb7e7f834c2101967a014f622558135b95c3