[INFO] cloning repository https://github.com/gledsoul/genpay [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gledsoul/genpay" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgledsoul%2Fgenpay", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgledsoul%2Fgenpay'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97bb19687a93ba9d6041fbe21df6eb7f2fe992dd [INFO] checking gledsoul/genpay against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgledsoul%2Fgenpay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gledsoul/genpay [INFO] finished tweaking git repo https://github.com/gledsoul/genpay [INFO] tweaked toml for git repo https://github.com/gledsoul/genpay written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gledsoul/genpay on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gledsoul/genpay 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking gledsoul/genpay against try#a7b168ac4977e8e93a43448b44847adaa305d5a9 for pr-150557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgledsoul%2Fgenpay" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gledsoul/genpay [INFO] finished tweaking git repo https://github.com/gledsoul/genpay [INFO] tweaked toml for git repo https://github.com/gledsoul/genpay written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gledsoul/genpay on toolchain a7b168ac4977e8e93a43448b44847adaa305d5a9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gledsoul/genpay 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" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_users v0.4.0 [INFO] [stderr] Downloaded getrandom v0.2.2 [INFO] [stderr] Downloaded redox_syscall v0.2.4 [INFO] [stderr] Downloaded wasi v0.10.1+wasi-snapshot-preview1 [INFO] [stderr] Downloaded unicode-segmentation v1.2.0 [INFO] [stderr] Downloaded rustix v0.35.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39c4476e5364fe24b049f857a01a0779ebc86826bb25d87223a5b004a88dad31 [INFO] running `Command { std: "docker" "start" "-a" "39c4476e5364fe24b049f857a01a0779ebc86826bb25d87223a5b004a88dad31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39c4476e5364fe24b049f857a01a0779ebc86826bb25d87223a5b004a88dad31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39c4476e5364fe24b049f857a01a0779ebc86826bb25d87223a5b004a88dad31", kill_on_drop: false }` [INFO] [stdout] 39c4476e5364fe24b049f857a01a0779ebc86826bb25d87223a5b004a88dad31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+a7b168ac4977e8e93a43448b44847adaa305d5a9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 14c87d4f1827d9ee1e5021770be16d79e0a8c03ab87d9154680b103705aff460 [INFO] running `Command { std: "docker" "start" "-a" "14c87d4f1827d9ee1e5021770be16d79e0a8c03ab87d9154680b103705aff460", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling io-lifetimes v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rustix v0.35.6 [INFO] [stderr] Checking smallvec v1.8.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking linux-raw-sys v0.0.46 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking memoffset v0.6.5 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking nom v7.1.1 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking clap v2.31.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v3.0.6 [INFO] [stderr] Compiling rustyline-derive v0.6.0 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Checking genpay v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> lib/evaluator/object.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 17 | Builtin(String, usize, BuiltinFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 25 | syntax! {equal_operator, "==", Token::Equal} [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 26 | syntax! {not_equal_operator, "!=", Token::NotEqual} [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 27 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 28 | syntax! {plus_operator, "+", Token::Plus} [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 29 | syntax! {minus_operator, "-", Token::Minus} [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 30 | syntax! {multiply_operator, "*", Token::Multiply} [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 31 | syntax! {divide_operator, "/", Token::Divide} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 32 | syntax! {not_operator, "!", Token::Not} [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 33 | syntax! {greater_operator_equal, ">=", Token::GreaterThanEqual} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 34 | syntax! {lesser_operator_equal, "<=", Token::LessThanEqual} [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 35 | syntax! {greater_operator, ">", Token::GreaterThan} [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 36 | syntax! {lesser_operator, "<", Token::LessThan} [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 56 | syntax! {comma_punctuation, ",", Token::Comma} [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 57 | syntax! {semicolon_punctuation, ";", Token::SemiColon} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 58 | syntax! {colon_punctuation, ":", Token::Colon} [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 59 | syntax! {lparen_punctuation, "(", Token::LParen} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 60 | syntax! {rparen_punctuation, ")", Token::RParen} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 61 | syntax! {lbrace_punctuation, "{", Token::LBrace} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 62 | syntax! {rbrace_punctuation, "}", Token::RBrace} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 63 | syntax! {lbracket_punctuation, "[", Token::LBracket} [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 64 | syntax! {rbracket_punctuation, "]", Token::RBracket} [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> lib/evaluator/object.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 17 | Builtin(String, usize, BuiltinFunction), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 25 | syntax! {equal_operator, "==", Token::Equal} [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 26 | syntax! {not_equal_operator, "!=", Token::NotEqual} [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 27 | syntax! {assign_operator, "=", Token::Assign} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `monkey_lib` [INFO] [stdout] --> tests/genpay_test.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate monkey_lib; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 28 | syntax! {plus_operator, "+", Token::Plus} [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 29 | syntax! {minus_operator, "-", Token::Minus} [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 30 | syntax! {multiply_operator, "*", Token::Multiply} [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 31 | syntax! {divide_operator, "/", Token::Divide} [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 32 | syntax! {not_operator, "!", Token::Not} [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 33 | syntax! {greater_operator_equal, ">=", Token::GreaterThanEqual} [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 34 | syntax! {lesser_operator_equal, "<=", Token::LessThanEqual} [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 35 | syntax! {greater_operator, ">", Token::GreaterThan} [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 36 | syntax! {lesser_operator, "<", Token::LessThan} [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 56 | syntax! {comma_punctuation, ",", Token::Comma} [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 57 | syntax! {semicolon_punctuation, ";", Token::SemiColon} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 58 | syntax! {colon_punctuation, ":", Token::Colon} [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 59 | syntax! {lparen_punctuation, "(", Token::LParen} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 60 | syntax! {rparen_punctuation, ")", Token::RParen} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 61 | syntax! {lbrace_punctuation, "{", Token::LBrace} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 62 | syntax! {rbrace_punctuation, "}", Token::RBrace} [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 63 | syntax! {lbracket_punctuation, "[", Token::LBracket} [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> lib/lexer/mod.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&[u8], Token> { [INFO] [stdout] | -- ^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] ... [INFO] [stdout] 64 | syntax! {rbracket_punctuation, "]", Token::RBracket} [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: this warning originates in the macro `syntax` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 18 | fn $func_name<'a>(s: &'a [u8]) -> IResult<&'a [u8], Token> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Evaluator` [INFO] [stdout] --> tests/genpay_test.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut evaluator = Evaluator::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Evaluator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::evaluator::Evaluator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> tests/genpay_test.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let (_, lex_tokens) = Lexer::lex_tokens(code_string.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tokens` [INFO] [stdout] --> tests/genpay_test.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let tokens = Tokens::new(&lex_tokens); [INFO] [stdout] | ^^^^^^ use of undeclared type `Tokens` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::lexer::token::Tokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> tests/genpay_test.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | let (_, program) = Parser::parse_tokens(tokens).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::parser::Parser; [INFO] [stdout] | [INFO] [stdout] 3 + use nom::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> tests/genpay_test.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(eval, Object::Null); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::evaluator::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Evaluator` [INFO] [stdout] --> tests/genpay_test.rs:32:25 [INFO] [stdout] | [INFO] [stdout] 32 | let mut evaluator = Evaluator::new(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Evaluator` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::evaluator::Evaluator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Lexer` [INFO] [stdout] --> tests/genpay_test.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let (_, lex_tokens) = Lexer::lex_tokens(code_string.as_bytes()).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Lexer` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::lexer::Lexer; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Tokens` [INFO] [stdout] --> tests/genpay_test.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let tokens = Tokens::new(&lex_tokens); [INFO] [stdout] | ^^^^^^ use of undeclared type `Tokens` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::lexer::token::Tokens; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Parser` [INFO] [stdout] --> tests/genpay_test.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let (_, program) = Parser::parse_tokens(tokens).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Parser` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::parser::Parser; [INFO] [stdout] | [INFO] [stdout] 3 + use nom::Parser; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Object` [INFO] [stdout] --> tests/genpay_test.rs:37:22 [INFO] [stdout] | [INFO] [stdout] 37 | assert_eq!(eval, Object::Null); [INFO] [stdout] | ^^^^^^ use of undeclared type `Object` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use genpay_lib::evaluator::object::Object; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genpay` (test "genpay_test") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "14c87d4f1827d9ee1e5021770be16d79e0a8c03ab87d9154680b103705aff460", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14c87d4f1827d9ee1e5021770be16d79e0a8c03ab87d9154680b103705aff460", kill_on_drop: false }` [INFO] [stdout] 14c87d4f1827d9ee1e5021770be16d79e0a8c03ab87d9154680b103705aff460