[INFO] fetching crate ruby-parser 0.0.0-dev1... [INFO] testing ruby-parser-0.0.0-dev1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ruby-parser 0.0.0-dev1 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ruby-parser 0.0.0-dev1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom v6.2.2 [INFO] [stderr] Downloaded bitvec v0.19.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2894d3280dbeb077175d64570506438c9b1efd112baa5055d7f0821e54ba1fc [INFO] running `Command { std: "docker" "start" "-a" "c2894d3280dbeb077175d64570506438c9b1efd112baa5055d7f0821e54ba1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2894d3280dbeb077175d64570506438c9b1efd112baa5055d7f0821e54ba1fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2894d3280dbeb077175d64570506438c9b1efd112baa5055d7f0821e54ba1fc", kill_on_drop: false }` [INFO] [stdout] c2894d3280dbeb077175d64570506438c9b1efd112baa5055d7f0821e54ba1fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 93982b67bb4e56c59f0d9bf7a835b28cf33dfd505bb41b2e876c9946fa066fad [INFO] running `Command { std: "docker" "start" "-a" "93982b67bb4e56c59f0d9bf7a835b28cf33dfd505bb41b2e876c9946fa066fad", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling nom v6.2.2 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling codemap v0.1.3 [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" "93982b67bb4e56c59f0d9bf7a835b28cf33dfd505bb41b2e876c9946fa066fad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "93982b67bb4e56c59f0d9bf7a835b28cf33dfd505bb41b2e876c9946fa066fad", kill_on_drop: false }` [INFO] [stdout] 93982b67bb4e56c59f0d9bf7a835b28cf33dfd505bb41b2e876c9946fa066fad