[INFO] cloning repository https://github.com/ElusiveMori/jassparse [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ElusiveMori/jassparse" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fjassparse", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fjassparse'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c6748a15f014195a147123407ffbd40b98ea223f [INFO] checking ElusiveMori/jassparse against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fjassparse" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElusiveMori/jassparse on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ElusiveMori/jassparse [INFO] finished tweaking git repo https://github.com/ElusiveMori/jassparse [INFO] tweaked toml for git repo https://github.com/ElusiveMori/jassparse written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/ElusiveMori/jassparse already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded string_cache v0.7.5 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded docopt v1.1.1 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded string_cache_codegen v0.4.4 [INFO] [stderr] Downloaded codespan v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 10b8dd8d8d313e06602e345a405a92883b4a1d15559dadfeecbecd8a427f05be [INFO] running `Command { std: "docker" "start" "-a" "10b8dd8d8d313e06602e345a405a92883b4a1d15559dadfeecbecd8a427f05be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10b8dd8d8d313e06602e345a405a92883b4a1d15559dadfeecbecd8a427f05be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10b8dd8d8d313e06602e345a405a92883b4a1d15559dadfeecbecd8a427f05be", kill_on_drop: false }` [INFO] [stdout] 10b8dd8d8d313e06602e345a405a92883b4a1d15559dadfeecbecd8a427f05be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d987f2af8421b3020ac8e74543e5b62771b5d06c05dc39ca9fcd4c003d1cdada [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d987f2af8421b3020ac8e74543e5b62771b5d06c05dc39ca9fcd4c003d1cdada", kill_on_drop: false }` [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Checking codespan v0.6.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.17.2 [INFO] [stderr] Compiling jass_parser v0.1.0 (/opt/rustwide/workdir/jass_parser) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> jass_parser/build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / lalrpop::Configuration::new() [INFO] [stdout] 5 | | .generate_in_source_tree() [INFO] [stdout] 6 | | .process(); [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `syntax` [INFO] [stdout] --> jass_parser/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `syntax`, create file "jass_parser/src/syntax.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::spanned` [INFO] [stdout] --> jass_parser/src/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Spanned` [INFO] [stdout] --> jass_parser/src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> jass_parser/src/lexer.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | '_' | 'a'...'z' | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `syntax` [INFO] [stdout] --> jass_parser/src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub mod syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `syntax`, create file "jass_parser/src/syntax.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> jass_parser/src/lexer.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | '_' | 'a'...'z' | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> jass_parser/src/lexer.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::spanned` [INFO] [stdout] --> jass_parser/src/ast.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lexer::spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::lexer::Spanned` [INFO] [stdout] --> jass_parser/src/ast.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::lexer::Spanned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> jass_parser/src/lexer.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 153 | '_' | 'a'...'z' | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> jass_parser/src/lexer.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | '_' | 'a'...'z' | 'A'...'Z' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> jass_parser/src/lexer.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | '0'...'9' => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0583`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jass_parser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:622:9 [INFO] [stdout] | [INFO] [stdout] 622 | assert_eq!(lexer.next().unwrap(), Lexeme::Function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:623:9 [INFO] [stdout] | [INFO] [stdout] 623 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("test_name")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:624:9 [INFO] [stdout] | [INFO] [stdout] 624 | assert_eq!(lexer.next().unwrap(), Lexeme::Takes); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:625:9 [INFO] [stdout] | [INFO] [stdout] 625 | assert_eq!(lexer.next().unwrap(), Lexeme::Int); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:626:9 [INFO] [stdout] | [INFO] [stdout] 626 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("a")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:627:9 [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(lexer.next().unwrap(), Lexeme::Returns); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:628:9 [INFO] [stdout] | [INFO] [stdout] 628 | assert_eq!(lexer.next().unwrap(), Lexeme::Nothing); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:629:9 [INFO] [stdout] | [INFO] [stdout] 629 | assert_eq!(lexer.next().unwrap(), Lexeme::Call); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:630:9 [INFO] [stdout] | [INFO] [stdout] 630 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("some_func")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(lexer.next().unwrap(), Lexeme::LParen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("a")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | assert_eq!(lexer.next().unwrap(), Lexeme::RParen); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:634:9 [INFO] [stdout] | [INFO] [stdout] 634 | assert_eq!(lexer.next().unwrap(), Lexeme::Return); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:635:9 [INFO] [stdout] | [INFO] [stdout] 635 | assert_eq!(lexer.next().unwrap(), Lexeme::EndFunction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found enum `Lexeme` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d987f2af8421b3020ac8e74543e5b62771b5d06c05dc39ca9fcd4c003d1cdada", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d987f2af8421b3020ac8e74543e5b62771b5d06c05dc39ca9fcd4c003d1cdada", kill_on_drop: false }` [INFO] [stdout] d987f2af8421b3020ac8e74543e5b62771b5d06c05dc39ca9fcd4c003d1cdada