[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#cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 for pr-136968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfachal%2Fego" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfachal/ego on toolchain cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6-tc1/source/Cargo.toml [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" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 619bdcada043cfd6b826b90236c110a1dc30d2066980773b62474008695ca4e7 [INFO] running `Command { std: "docker" "start" "-a" "619bdcada043cfd6b826b90236c110a1dc30d2066980773b62474008695ca4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "619bdcada043cfd6b826b90236c110a1dc30d2066980773b62474008695ca4e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "619bdcada043cfd6b826b90236c110a1dc30d2066980773b62474008695ca4e7", kill_on_drop: false }` [INFO] [stdout] 619bdcada043cfd6b826b90236c110a1dc30d2066980773b62474008695ca4e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+cfe9ffcd7c2d63fd3e0fc33a8d23ac4f0d50efe9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a008756fc584b07d0c3d4316384305090bd31a3656f4ed5366465548797657b [INFO] running `Command { std: "docker" "start" "-a" "3a008756fc584b07d0c3d4316384305090bd31a3656f4ed5366465548797657b", 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: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 41 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [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: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 41 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` 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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lexer.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | | [INFO] [stdout] | lifetime `'a` declared here [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] [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 `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 `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 `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 `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 `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: multiple variants are never constructed [INFO] [stdout] --> src/lexer.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 23 | Illegal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | EOF, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | // identifier and literals [INFO] [stdout] 26 | Identifier(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 27 | // operations [INFO] [stdout] 28 | Assign, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 29 | Select, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | // reserved words [INFO] [stdout] 31 | Sigma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | // punctuations [INFO] [stdout] 33 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 34 | LParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | RParen, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | LBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | RBracket, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [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: 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.36s [INFO] running `Command { std: "docker" "inspect" "3a008756fc584b07d0c3d4316384305090bd31a3656f4ed5366465548797657b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a008756fc584b07d0c3d4316384305090bd31a3656f4ed5366465548797657b", kill_on_drop: false }` [INFO] [stdout] 3a008756fc584b07d0c3d4316384305090bd31a3656f4ed5366465548797657b