[INFO] fetching crate ruby-parser 0.0.0-dev1... [INFO] testing ruby-parser-0.0.0-dev1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ruby-parser 0.0.0-dev1 into /workspace/builds/worker-7-tc1/source [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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruby-parser 0.0.0-dev1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.5) [INFO] [stderr] Adding nom v6.2.2 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a7f8ce3d0895befc56508eb7f866e7b0c4fb04f33268bda392a1fa45cedcb8c [INFO] running `Command { std: "docker" "start" "-a" "8a7f8ce3d0895befc56508eb7f866e7b0c4fb04f33268bda392a1fa45cedcb8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a7f8ce3d0895befc56508eb7f866e7b0c4fb04f33268bda392a1fa45cedcb8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a7f8ce3d0895befc56508eb7f866e7b0c4fb04f33268bda392a1fa45cedcb8c", kill_on_drop: false }` [INFO] [stdout] 8a7f8ce3d0895befc56508eb7f866e7b0c4fb04f33268bda392a1fa45cedcb8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d66a67219560e88041cfbf14d9f5e8c2e76c0846977b53bcbbe085d0552b7442 [INFO] running `Command { std: "docker" "start" "-a" "d66a67219560e88041cfbf14d9f5e8c2e76c0846977b53bcbbe085d0552b7442", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling codemap v0.1.3 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Compiling bitvec v0.19.6 [INFO] [stderr] Compiling 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) -> Option { [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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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: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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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 `Error` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/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] running `Command { std: "docker" "inspect" "d66a67219560e88041cfbf14d9f5e8c2e76c0846977b53bcbbe085d0552b7442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d66a67219560e88041cfbf14d9f5e8c2e76c0846977b53bcbbe085d0552b7442", kill_on_drop: false }` [INFO] [stdout] d66a67219560e88041cfbf14d9f5e8c2e76c0846977b53bcbbe085d0552b7442