[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#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fjassparse" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElusiveMori/jassparse on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-4/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] [stderr] Downloaded codespan v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] 5cd69067d32187c051189c55777dab5586864935d3102406449b4908d4c7032e [INFO] running `Command { std: "docker" "start" "-a" "5cd69067d32187c051189c55777dab5586864935d3102406449b4908d4c7032e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cd69067d32187c051189c55777dab5586864935d3102406449b4908d4c7032e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cd69067d32187c051189c55777dab5586864935d3102406449b4908d4c7032e", kill_on_drop: false }` [INFO] [stdout] 5cd69067d32187c051189c55777dab5586864935d3102406449b4908d4c7032e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 452db715827334aad990344ee972641c9041b9f9a2446dd154dcbd1af12b21ea [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" "452db715827334aad990344ee972641c9041b9f9a2446dd154dcbd1af12b21ea", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Checking unicode-segmentation v1.7.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking codespan v0.6.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [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] 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] 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] [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] [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: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" "452db715827334aad990344ee972641c9041b9f9a2446dd154dcbd1af12b21ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "452db715827334aad990344ee972641c9041b9f9a2446dd154dcbd1af12b21ea", kill_on_drop: false }` [INFO] [stdout] 452db715827334aad990344ee972641c9041b9f9a2446dd154dcbd1af12b21ea