[INFO] cloning repository https://github.com/mfachal/ego [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfachal/ego" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfachal%2Fego", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfachal%2Fego'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4a8a6fefaeaa7ed78d144c14bc9cbafa2b1a4e5 [INFO] checking mfachal/ego against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfachal%2Fego" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mfachal/ego [INFO] finished tweaking git repo https://github.com/mfachal/ego [INFO] tweaked toml for git repo https://github.com/mfachal/ego written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mfachal/ego on toolchain 36b21637e93b038453924d3c66821089e71d8baa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mfachal/ego 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" "+36b21637e93b038453924d3c66821089e71d8baa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbff7e8083a381d5b7775e8bd39cb6815266956a887bc492ccfd2f5fdf30a01a [INFO] running `Command { std: "docker" "start" "-a" "dbff7e8083a381d5b7775e8bd39cb6815266956a887bc492ccfd2f5fdf30a01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbff7e8083a381d5b7775e8bd39cb6815266956a887bc492ccfd2f5fdf30a01a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbff7e8083a381d5b7775e8bd39cb6815266956a887bc492ccfd2f5fdf30a01a", kill_on_drop: false }` [INFO] [stdout] dbff7e8083a381d5b7775e8bd39cb6815266956a887bc492ccfd2f5fdf30a01a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 654b4820ea288b065ce5362cebcf6e7753042487419c07ab7594c1e0252c0ed3 [INFO] running `Command { std: "docker" "start" "-a" "654b4820ea288b065ce5362cebcf6e7753042487419c07ab7594c1e0252c0ed3", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sigma v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `digit1` [INFO] [stdout] --> src/lexer.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::character::complete::{alpha1, alphanumeric1, digit1, multispace0}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/lexer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digit1` [INFO] [stdout] --> src/lexer.rs:3:55 [INFO] [stdout] | [INFO] [stdout] 3 | use nom::character::complete::{alpha1, alphanumeric1, digit1, multispace0}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/lexer.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/parser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let tags: Vec<(&str, &str, &str)> = vec![]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tags` [INFO] [stdout] --> src/parser.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let tags: Vec<(&str, &str, &str)> = vec![]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obj_start` is never used [INFO] [stdout] --> src/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn obj_start (i: &str) -> IResult<&str, &str> {tag("[")(i)} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obj_end` is never used [INFO] [stdout] --> src/parser.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn obj_end (i: &str) -> IResult<&str, &str> {tag("]")(i)} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigma` is never used [INFO] [stdout] --> src/parser.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn sigma (i: &str) -> IResult<&str, &str> {tag("sigma")(i)} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obj_start` is never used [INFO] [stdout] --> src/parser.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn obj_start (i: &str) -> IResult<&str, &str> {tag("[")(i)} [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `obj_end` is never used [INFO] [stdout] --> src/parser.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn obj_end (i: &str) -> IResult<&str, &str> {tag("]")(i)} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `object` is never used [INFO] [stdout] --> src/parser.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn object(input: &str) -> IResult<&str, Vec<(&str, &str, &str)>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bracket_start` is never used [INFO] [stdout] --> src/parser.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn bracket_start (i: &str) -> IResult<&str, &str> {tag("(")(i)} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bracket_end` is never used [INFO] [stdout] --> src/parser.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn bracket_end (i: &str) -> IResult<&str, &str> {tag(")")(i)} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete_byte_slice_str_from_utf8` is never used [INFO] [stdout] --> src/lexer.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn complete_byte_slice_str_from_utf8(c: &[u8]) -> Result<&str, Utf8Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `equals` is never used [INFO] [stdout] --> src/parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn equals (i: &str) -> IResult<&str, &str> {tag("=")(i)} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn identifier(input: &str) -> IResult<&str, &str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nametag` is never used [INFO] [stdout] --> src/parser.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn nametag(input: &str) -> IResult<&str, (&str, &str, &str)> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `object` is never used [INFO] [stdout] --> src/parser.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn object(input: &str) -> IResult<&str, Vec<(&str, &str, &str)>> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expression` is never used [INFO] [stdout] --> src/parser.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn expression(_input: &str) -> IResult<&str, &str>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Token` is never used [INFO] [stdout] --> src/lexer.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Token { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `assign_operator` is never used [INFO] [stdout] --> src/lexer.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 41 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 42 | syntax! {select_operator, ".", Token::Select} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | syntax! {comma, ",", Token::Comma} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 44 | syntax! {lparen, "(", Token::LParen} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_operator` is never used [INFO] [stdout] --> src/lexer.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | syntax! {select_operator, ".", Token::Select} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `comma` is never used [INFO] [stdout] --> src/lexer.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | syntax! {comma, ",", Token::Comma} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lparen` is never used [INFO] [stdout] --> src/lexer.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | syntax! {lparen, "(", Token::LParen} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rparen` is never used [INFO] [stdout] --> src/lexer.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | syntax! {rparen, ")", Token::RParen} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lbracket` is never used [INFO] [stdout] --> src/lexer.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | syntax! {lbracket, "[", Token::LBracket} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rbracket` is never used [INFO] [stdout] --> src/lexer.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | syntax! {rbracket, "]", Token::RBracket} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sigma` is never used [INFO] [stdout] --> src/lexer.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | syntax! {sigma, "sigma", Token::Sigma} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `identifier` is never used [INFO] [stdout] --> src/lexer.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn identifier(input: &[u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `punctuation` is never used [INFO] [stdout] --> src/lexer.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn punctuation(input: &[u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `keywords` is never used [INFO] [stdout] --> src/lexer.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn keywords(input: &[u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `operators` is never used [INFO] [stdout] --> src/lexer.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn operators(input: &[u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_token` is never used [INFO] [stdout] --> src/lexer.rs:77:4 [INFO] [stdout] | [INFO] [stdout] 77 | fn lex_token(input: &[u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | syntax! {rparen, ")", Token::RParen} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `complete_byte_slice_str_from_utf8` is never used [INFO] [stdout] --> src/lexer.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn complete_byte_slice_str_from_utf8(c: &[u8]) -> Result<&str, Utf8Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_illegal` is never used [INFO] [stdout] --> src/lexer.rs:92:4 [INFO] [stdout] | [INFO] [stdout] 92 | fn lex_illegal(input: &[u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `lex_tokens2` is never used [INFO] [stdout] --> src/lexer.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn lex_tokens2(input: &[u8]) -> IResult<&[u8], Vec> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Lexer` is never constructed [INFO] [stdout] --> src/lexer.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | pub struct Lexer; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lex_tokens` is never used [INFO] [stdout] --> src/lexer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 102 | impl Lexer { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 103 | pub fn lex_tokens(bytes: &[u8]) -> IResult<&[u8], Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | syntax! {lbracket, "[", Token::LBracket} [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 47 | syntax! {rbracket, "]", Token::RBracket} [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 48 | syntax! {sigma, "sigma", Token::Sigma} [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 41 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 42 | syntax! {select_operator, ".", Token::Select} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 43 | syntax! {comma, ",", Token::Comma} [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 44 | syntax! {lparen, "(", Token::LParen} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 45 | syntax! {rparen, ")", Token::RParen} [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 46 | syntax! {lbracket, "[", Token::LBracket} [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 47 | syntax! {rbracket, "]", Token::RBracket} [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lexer.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | ^^ ----- the lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 48 | syntax! {sigma, "sigma", Token::Sigma} [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "654b4820ea288b065ce5362cebcf6e7753042487419c07ab7594c1e0252c0ed3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "654b4820ea288b065ce5362cebcf6e7753042487419c07ab7594c1e0252c0ed3", kill_on_drop: false }` [INFO] [stdout] 654b4820ea288b065ce5362cebcf6e7753042487419c07ab7594c1e0252c0ed3