[INFO] cloning repository https://github.com/sux2mfgj/nslfmt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sux2mfgj/nslfmt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsux2mfgj%2Fnslfmt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsux2mfgj%2Fnslfmt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2c73b9a9a9546697349f642725ed6608710d1f03 [INFO] checking sux2mfgj/nslfmt against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsux2mfgj%2Fnslfmt" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sux2mfgj/nslfmt on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sux2mfgj/nslfmt [INFO] finished tweaking git repo https://github.com/sux2mfgj/nslfmt [INFO] tweaked toml for git repo https://github.com/sux2mfgj/nslfmt written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/sux2mfgj/nslfmt already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace-sys v0.1.26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43f64994337fc78180d1c427b481dbbb993a3dc841c0fbe7df60f0842d288ff0 [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" "43f64994337fc78180d1c427b481dbbb993a3dc841c0fbe7df60f0842d288ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43f64994337fc78180d1c427b481dbbb993a3dc841c0fbe7df60f0842d288ff0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43f64994337fc78180d1c427b481dbbb993a3dc841c0fbe7df60f0842d288ff0", kill_on_drop: false }` [INFO] [stdout] 43f64994337fc78180d1c427b481dbbb993a3dc841c0fbe7df60f0842d288ff0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26d7ee4d3ef2db47267cbe4fc0b1e12b9ffc69439f8e73730aa4a167cf5cb782 [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" "26d7ee4d3ef2db47267cbe4fc0b1e12b9ffc69439f8e73730aa4a167cf5cb782", kill_on_drop: false }` [INFO] [stderr] Compiling nslfmt v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking getopts v0.2.18 [INFO] [stderr] Checking backtrace-sys v0.1.26 [INFO] [stderr] Checking backtrace v0.3.13 [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:46:83 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 46 | TokenClass::EndOfProgram => create_node!(ASTClass::EndOfProgram, token.position), [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 62 | ))); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:78:97 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 78 | create_node!(ASTClass::MacroInclude(self.generate_path_node()), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 82 | create_node!(ASTClass::MacroUndef(id), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:86:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 86 | create_node!(ASTClass::MacroIfdef(id), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:90:73 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 90 | create_node!(ASTClass::MacroIfndef(id), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:92:99 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 92 | TokenClass::Macro(Macro::Endif) => create_node!(ASTClass::MacroEndif, macro_kind_token.token), [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:93:99 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 93 | TokenClass::Symbol(Symbol::Else) => create_node!(ASTClass::MacroElse, macro_kind_token.token), [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:97:80 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 97 | create_node!(ASTClass::MacroDefine(id, value), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 126 | )); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 136 | create_node!(ASTClass::Module(id_node, self.module_block_ast())) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:149:83 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 149 | return create_node!(ASTClass::Struct(id_node, struct_contents)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 169 | return create_node!(ASTClass::Block(contents_in_block)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:189:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 189 | let id_node = create_node!(ASTClass::Identifire(id)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 229 | Some(create_node!(ASTClass::Reg(reg_list))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:233:52 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 233 | Some(create_node!(ASTClass::Wire(l))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:284:57 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 284 | Some(create_node!(ASTClass::Mem(defines))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:288:68 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 288 | let id_node = create_node!(ASTClass::Identifire(id)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:295:74 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 295 | Some(create_node!(ASTClass::Assign(id_node, expr))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:301:77 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 301 | Some(create_node!(ASTClass::RegAssign(id_node, expr))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:307:82 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 307 | Some(create_node!(ASTClass::FuncCall(id_node, args, None))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 315 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 330 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:339:34 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 339 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:348:74 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 348 | Some(create_node!(ASTClass::Submodule(id_node, l))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:360:73 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 360 | Some(create_node!(ASTClass::ProcName(id_node, args_vec,))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 381 | Some(create_node!(ASTClass::StateName(ids))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:386:66 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 386 | Some(create_node!(ASTClass::State(id_node, block))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:403:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 403 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:414:81 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 414 | Some(create_node!(ASTClass::Func(id_node, func_name_node, block))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:419:57 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 419 | Some(create_node!(ASTClass::Return(expr))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:433:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 433 | create_node!(ASTClass::Block(vec![])) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:452:79 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 452 | Some(create_node!(ASTClass::If(expr_ast, if_block, else_block))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:471:85 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 471 | any_components.push((create_node!(ASTClass::Else, next_t.position), block)); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:481:64 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 481 | Some(create_node!(ASTClass::Any(any_components)), t.position) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 489 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:494:53 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 494 | Some(create_node!(ASTClass::Goto(id))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:497:69 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 497 | Some(create_node!(ASTClass::CPPStyleComment(comment))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:500:64 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 500 | Some(create_node!(ASTClass::CStyleComment(list))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:555:78 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 555 | contents_in_block.push(create_node!(ASTClass::Number(num))); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:633:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 633 | create_node!(ASTClass::Input(id_node, width)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:637:62 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 637 | create_node!(ASTClass::Output(id_node, width)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:641:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 641 | create_node!(ASTClass::InOut(id_node, width)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:655:79 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 655 | create_node!(ASTClass::FuncIn(id_node, args_vec, return_port,)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:669:80 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 669 | create_node!(ASTClass::FuncOut(id_node, args_vec, return_port,)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:679:74 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 679 | TokenClass::Number(num) => create_node!(ASTClass::Number(num)), [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:680:80 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 680 | TokenClass::Identifire(id) => create_node!(ASTClass::Identifire(id)), [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:692:60 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 692 | create_node!(ASTClass::BitSlice(msb, Some(lsb))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:708:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 708 | )) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:724:66 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 724 | create_node!(ASTClass::FuncCall(left, args, None)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:730:71 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 730 | create_node!(ASTClass::BitslicedExpr(left, width_expr)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:737:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 737 | )) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:746:79 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 746 | create_node!(ASTClass::FuncCall(left, args, Some(port_id))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:750:69 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 750 | create_node!(ASTClass::ModulePort(left, port_id)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:763:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 763 | )); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:771:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 771 | return create_node!(ASTClass::Identifire(id_str)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:796:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 796 | args.push(create_node!(ASTClass::Number(num), token.position)); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:816:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 816 | Some(create_node!(ASTClass::Identifire(id_str), port_id.position)) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:46:83 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 46 | TokenClass::EndOfProgram => create_node!(ASTClass::EndOfProgram, token.position), [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 62 | ))); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:78:97 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 78 | create_node!(ASTClass::MacroInclude(self.generate_path_node()), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:82:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 82 | create_node!(ASTClass::MacroUndef(id), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:86:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 86 | create_node!(ASTClass::MacroIfdef(id), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:90:73 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 90 | create_node!(ASTClass::MacroIfndef(id), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:92:99 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 92 | TokenClass::Macro(Macro::Endif) => create_node!(ASTClass::MacroEndif, macro_kind_token.token), [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:93:99 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 93 | TokenClass::Symbol(Symbol::Else) => create_node!(ASTClass::MacroElse, macro_kind_token.token), [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:97:80 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 97 | create_node!(ASTClass::MacroDefine(id, value), macro_kind_token.token) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:126:22 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 126 | )); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:136:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 136 | create_node!(ASTClass::Module(id_node, self.module_block_ast())) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:149:83 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 149 | return create_node!(ASTClass::Struct(id_node, struct_contents)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:169:71 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 169 | return create_node!(ASTClass::Block(contents_in_block)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:189:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 189 | let id_node = create_node!(ASTClass::Identifire(id)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:229:58 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 229 | Some(create_node!(ASTClass::Reg(reg_list))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:233:52 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 233 | Some(create_node!(ASTClass::Wire(l))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:284:57 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 284 | Some(create_node!(ASTClass::Mem(defines))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:288:68 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 288 | let id_node = create_node!(ASTClass::Identifire(id)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:295:74 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 295 | Some(create_node!(ASTClass::Assign(id_node, expr))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:301:77 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 301 | Some(create_node!(ASTClass::RegAssign(id_node, expr))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:307:82 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 307 | Some(create_node!(ASTClass::FuncCall(id_node, args, None))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:315:26 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 315 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:330:34 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 330 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:339:34 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 339 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:348:74 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 348 | Some(create_node!(ASTClass::Submodule(id_node, l))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:360:73 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 360 | Some(create_node!(ASTClass::ProcName(id_node, args_vec,))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 381 | Some(create_node!(ASTClass::StateName(ids))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:386:66 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 386 | Some(create_node!(ASTClass::State(id_node, block))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:403:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 403 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:414:81 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 414 | Some(create_node!(ASTClass::Func(id_node, func_name_node, block))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:419:57 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 419 | Some(create_node!(ASTClass::Return(expr))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:433:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 433 | create_node!(ASTClass::Block(vec![])) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:452:79 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 452 | Some(create_node!(ASTClass::If(expr_ast, if_block, else_block))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:471:85 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 471 | any_components.push((create_node!(ASTClass::Else, next_t.position), block)); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:481:64 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 481 | Some(create_node!(ASTClass::Any(any_components)), t.position) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 489 | ))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:494:53 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 494 | Some(create_node!(ASTClass::Goto(id))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:497:69 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 497 | Some(create_node!(ASTClass::CPPStyleComment(comment))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:500:64 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 500 | Some(create_node!(ASTClass::CStyleComment(list))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:555:78 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 555 | contents_in_block.push(create_node!(ASTClass::Number(num))); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:633:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 633 | create_node!(ASTClass::Input(id_node, width)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:637:62 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 637 | create_node!(ASTClass::Output(id_node, width)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:641:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 641 | create_node!(ASTClass::InOut(id_node, width)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:655:79 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 655 | create_node!(ASTClass::FuncIn(id_node, args_vec, return_port,)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:669:80 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 669 | create_node!(ASTClass::FuncOut(id_node, args_vec, return_port,)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:679:74 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 679 | TokenClass::Number(num) => create_node!(ASTClass::Number(num)), [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:680:80 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 680 | TokenClass::Identifire(id) => create_node!(ASTClass::Identifire(id)), [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:692:60 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 692 | create_node!(ASTClass::BitSlice(msb, Some(lsb))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:708:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 708 | )) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:724:66 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 724 | create_node!(ASTClass::FuncCall(left, args, None)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:730:71 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 730 | create_node!(ASTClass::BitslicedExpr(left, width_expr)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:737:18 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 737 | )) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:746:79 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 746 | create_node!(ASTClass::FuncCall(left, args, Some(port_id))) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:750:69 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 750 | create_node!(ASTClass::ModulePort(left, port_id)) [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:763:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 763 | )); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/generator.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | try!(self.writer.write(format!("{}\n", result).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected end of macro invocation [INFO] [stdout] --> src/parser.rs:771:61 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 771 | return create_node!(ASTClass::Identifire(id_str)); [INFO] [stdout] | ^ missing tokens in macro arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:796:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 796 | args.push(create_node!(ASTClass::Number(num), token.position)); [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: no rules expected the token `.` [INFO] [stdout] --> src/parser.rs:816:72 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! create_node { [INFO] [stdout] | ------------------------ when calling this macro [INFO] [stdout] ... [INFO] [stdout] 816 | Some(create_node!(ASTClass::Identifire(id_str), port_id.position)) [INFO] [stdout] | ^ no rules expected this token in macro call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | writer: &'b mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(parser: Parser<'a>, writer: &'b mut Write) -> Generator<'a, 'b> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | reader: &'a mut BufRead, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | 'a'...'z' | 'A'...'Z' | '_' => { [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] --> src/lexer.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | fn expression_ast(&mut self) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/generator.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | try!(self.writer.write(format!("{}\n", result).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | writer: &'b mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator.rs:12:52 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(parser: Parser<'a>, writer: &'b mut Write) -> Generator<'a, 'b> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lexer.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | reader: &'a mut BufRead, [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:107:24 [INFO] [stdout] | [INFO] [stdout] 107 | 'a'...'z' | 'A'...'Z' | '_' => { [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] --> src/lexer.rs:107:36 [INFO] [stdout] | [INFO] [stdout] 107 | 'a'...'z' | 'A'...'Z' | '_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lexer.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/parser.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | fn expression_ast(&mut self) -> (Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/parser.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | Some(create_node!(ASTClass::Any(any_components)), t.position) [INFO] [stdout] | ^^^^ ------------------------------------------- ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/parser.rs:844:52 [INFO] [stdout] | [INFO] [stdout] 844 | ... return Some(result.trim_right().to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/parser.rs:481:17 [INFO] [stdout] | [INFO] [stdout] 481 | Some(create_node!(ASTClass::Any(any_components)), t.position) [INFO] [stdout] | ^^^^ ------------------------------------------- ---------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/parser.rs:844:52 [INFO] [stdout] | [INFO] [stdout] 844 | ... return Some(result.trim_right().to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | Box::new(ASTNode::new($n, $p)) [INFO] [stdout] | ^^ expected `usize`, found struct `token::Token` [INFO] [stdout] ... [INFO] [stdout] 861 | return create_node!(ASTClass::String(id_str), path_token); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [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 60 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | Box::new(ASTNode::new($n, $p)) [INFO] [stdout] | ^^ expected `usize`, found struct `token::Token` [INFO] [stdout] ... [INFO] [stdout] 861 | return create_node!(ASTClass::String(id_str), path_token); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [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 `nslfmt` [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: aborting due to 60 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "26d7ee4d3ef2db47267cbe4fc0b1e12b9ffc69439f8e73730aa4a167cf5cb782", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26d7ee4d3ef2db47267cbe4fc0b1e12b9ffc69439f8e73730aa4a167cf5cb782", kill_on_drop: false }` [INFO] [stdout] 26d7ee4d3ef2db47267cbe4fc0b1e12b9ffc69439f8e73730aa4a167cf5cb782