[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/c6748a15f014195a147123407ffbd40b98ea223f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FElusiveMori%2Fjassparse" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ElusiveMori/jassparse on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding arrayref v0.3.9 [INFO] [stderr] Adding arrayvec v0.5.2 (available: v0.7.6) [INFO] [stderr] Updating ascii-canvas v1.0.0 -> v2.0.0 (available: v3.0.0) [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding blake2b_simd v0.5.11 (available: v1.0.2) [INFO] [stderr] Adding cfg-if v1.0.0 [INFO] [stderr] Updating codespan v0.2.0 -> v0.6.0 (available: v0.11.1) [INFO] [stderr] Adding constant_time_eq v0.1.5 (available: v0.3.1) [INFO] [stderr] Adding crossbeam-utils v0.8.20 [INFO] [stderr] Adding dirs v1.0.5 (available: v5.0.1) [INFO] [stderr] Updating ena v0.10.1 -> v0.13.1 (available: v0.14.3) [INFO] [stderr] Adding getrandom v0.1.16 (available: v0.2.15) [INFO] [stderr] Updating itertools v0.7.11 -> v0.8.2 (available: v0.13.0) [INFO] [stderr] Updating lalrpop v0.16.2 -> v0.17.2 (available: v0.21.0) [INFO] [stderr] Updating lalrpop-util v0.16.2 -> v0.17.2 (available: v0.21.0) [INFO] [stderr] Updating libc v0.2.44 -> v0.2.159 [INFO] [stderr] Adding redox_users v0.3.5 (available: v0.4.6) [INFO] [stderr] Adding rust-argon2 v0.8.3 (available: v2.1.0) [INFO] [stderr] Updating term v0.4.6 -> v0.5.2 (available: v1.0.0) [INFO] [stderr] Adding unicode-segmentation v1.12.0 [INFO] [stderr] Adding wasi v0.9.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.17.2 [INFO] [stderr] Downloaded string_cache_codegen v0.4.2 [INFO] [stderr] Downloaded string_cache v0.7.3 [INFO] [stderr] Downloaded new_debug_unreachable v1.0.1 [INFO] [stderr] Downloaded opaque-debug v0.2.1 [INFO] [stderr] Downloaded lalrpop v0.17.2 [INFO] [stderr] Downloaded ascii-canvas v2.0.0 [INFO] [stderr] Downloaded block-padding v0.1.2 [INFO] [stderr] Downloaded byte-tools v0.3.0 [INFO] [stderr] Downloaded bit-vec v0.5.0 [INFO] [stderr] Downloaded bit-set v0.5.0 [INFO] [stderr] Downloaded diff v0.1.11 [INFO] [stderr] Downloaded docopt v1.0.2 [INFO] [stderr] Downloaded ena v0.13.1 [INFO] [stderr] Downloaded serde_derive v1.0.81 [INFO] [stderr] Downloaded serde v1.0.81 [INFO] [stderr] Downloaded codespan v0.6.0 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc3a396b4be3a893bdac821424cdd4f644eccaf46b6fc1c430b825520d636ae6 [INFO] running `Command { std: "docker" "start" "-a" "bc3a396b4be3a893bdac821424cdd4f644eccaf46b6fc1c430b825520d636ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc3a396b4be3a893bdac821424cdd4f644eccaf46b6fc1c430b825520d636ae6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc3a396b4be3a893bdac821424cdd4f644eccaf46b6fc1c430b825520d636ae6", kill_on_drop: false }` [INFO] [stdout] bc3a396b4be3a893bdac821424cdd4f644eccaf46b6fc1c430b825520d636ae6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b39fef0ade9022c350548a91a266aa88fb8537120fa811f5492f4dc873a1d2f3 [INFO] running `Command { std: "docker" "start" "-a" "b39fef0ade9022c350548a91a266aa88fb8537120fa811f5492f4dc873a1d2f3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling rand_core v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling serde v1.0.81 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling new_debug_unreachable v1.0.1 [INFO] [stderr] Compiling bit-vec v0.5.0 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling ena v0.13.1 [INFO] [stderr] Compiling lalrpop-util v0.17.2 [INFO] [stderr] Compiling diff v0.1.11 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling bit-set v0.5.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Checking codespan v0.6.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling string_cache_codegen v0.4.2 [INFO] [stderr] Compiling string_cache v0.7.3 [INFO] [stderr] Compiling serde_derive v1.0.81 [INFO] [stderr] Compiling docopt v1.0.2 [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = lalrpop::Configuration::new() [INFO] [stdout] | +++++++ [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" or "jass_parser/src/syntax/mod.rs" [INFO] [stdout] = note: if there is a `mod syntax` elsewhere in the crate already, import it with `use crate::...` instead [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" or "jass_parser/src/syntax/mod.rs" [INFO] [stdout] = note: if there is a `mod syntax` elsewhere in the crate already, import it with `use crate::...` instead [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:622:43 [INFO] [stdout] | [INFO] [stdout] 622 | assert_eq!(lexer.next().unwrap(), Lexeme::Function); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:623:43 [INFO] [stdout] | [INFO] [stdout] 623 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("test_name")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:624:43 [INFO] [stdout] | [INFO] [stdout] 624 | assert_eq!(lexer.next().unwrap(), Lexeme::Takes); [INFO] [stdout] | ^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:625:43 [INFO] [stdout] | [INFO] [stdout] 625 | assert_eq!(lexer.next().unwrap(), Lexeme::Int); [INFO] [stdout] | ^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:626:43 [INFO] [stdout] | [INFO] [stdout] 626 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("a")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:627:43 [INFO] [stdout] | [INFO] [stdout] 627 | assert_eq!(lexer.next().unwrap(), Lexeme::Returns); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:628:43 [INFO] [stdout] | [INFO] [stdout] 628 | assert_eq!(lexer.next().unwrap(), Lexeme::Nothing); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:629:43 [INFO] [stdout] | [INFO] [stdout] 629 | assert_eq!(lexer.next().unwrap(), Lexeme::Call); [INFO] [stdout] | ^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:630:43 [INFO] [stdout] | [INFO] [stdout] 630 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("some_func")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:631:43 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(lexer.next().unwrap(), Lexeme::LParen); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:632:43 [INFO] [stdout] | [INFO] [stdout] 632 | assert_eq!(lexer.next().unwrap(), Lexeme::Identifier("a")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:633:43 [INFO] [stdout] | [INFO] [stdout] 633 | assert_eq!(lexer.next().unwrap(), Lexeme::RParen); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:634:43 [INFO] [stdout] | [INFO] [stdout] 634 | assert_eq!(lexer.next().unwrap(), Lexeme::Return); [INFO] [stdout] | ^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> jass_parser/src/lexer.rs:635:43 [INFO] [stdout] | [INFO] [stdout] 635 | assert_eq!(lexer.next().unwrap(), Lexeme::EndFunction); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `(Location, Lexeme<'_>, Location)`, found `Lexeme<'_>` [INFO] [stdout] | [INFO] [stdout] = note: expected tuple `(lexer::Location, Lexeme<'_>, lexer::Location)` [INFO] [stdout] found enum `Lexeme<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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` (lib) due to 2 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: could not compile `jass_parser` (lib test) due to 16 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b39fef0ade9022c350548a91a266aa88fb8537120fa811f5492f4dc873a1d2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b39fef0ade9022c350548a91a266aa88fb8537120fa811f5492f4dc873a1d2f3", kill_on_drop: false }` [INFO] [stdout] b39fef0ade9022c350548a91a266aa88fb8537120fa811f5492f4dc873a1d2f3