[INFO] fetching crate wirefilter-engine 0.6.1... [INFO] checking wirefilter-engine-0.6.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate wirefilter-engine 0.6.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wirefilter-engine 0.6.1 [INFO] finished tweaking crates.io crate wirefilter-engine 0.6.1 [INFO] tweaked toml for crates.io crate wirefilter-engine 0.6.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wirefilter-engine 0.6.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.3) [INFO] [stderr] Adding cidr v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding criterion v0.2.11 (available: v0.7.0) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.11.0) [INFO] [stderr] Adding indoc v0.3.6 (available: v2.0.6) [INFO] [stderr] Adding indoc-impl v0.3.6 (available: v0.3.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 348db41d9d60410e5d61026755e93f9e911d1d6fa4cf1f230c059c1aef6f1bd1 [INFO] running `Command { std: "docker" "start" "-a" "348db41d9d60410e5d61026755e93f9e911d1d6fa4cf1f230c059c1aef6f1bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "348db41d9d60410e5d61026755e93f9e911d1d6fa4cf1f230c059c1aef6f1bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "348db41d9d60410e5d61026755e93f9e911d1d6fa4cf1f230c059c1aef6f1bd1", kill_on_drop: false }` [INFO] [stdout] 348db41d9d60410e5d61026755e93f9e911d1d6fa4cf1f230c059c1aef6f1bd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe1724bfe708ecfb021f8095f8bc702ffd7e027de7d82c3ddeb43240c8c816ee [INFO] running `Command { std: "docker" "start" "-a" "fe1724bfe708ecfb021f8095f8bc702ffd7e027de7d82c3ddeb43240c8c816ee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.26 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitstring v0.1.2 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking memmem v0.1.1 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking cidr v0.1.1 [INFO] [stderr] Checking wirefilter-engine v0.6.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lex.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexErrorKind` [INFO] [stdout] 9 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lex.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_LexErrorKind` [INFO] [stdout] 9 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_UnknownFieldError` [INFO] [stdout] 82 | #[fail(display = "unknown field")] [INFO] [stdout] 83 | pub struct UnknownFieldError; [INFO] [stdout] | ----------------- `UnknownFieldError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_UnknownFieldError` [INFO] [stdout] 82 | #[fail(display = "unknown field")] [INFO] [stdout] 83 | pub struct UnknownFieldError; [INFO] [stdout] | ----------------- `UnknownFieldError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FieldRedefinitionError` [INFO] [stdout] 87 | #[fail(display = "attempt to redefine field {}", _0)] [INFO] [stdout] 88 | pub struct FieldRedefinitionError(String); [INFO] [stdout] | ---------------------- `FieldRedefinitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FieldRedefinitionError` [INFO] [stdout] 87 | #[fail(display = "attempt to redefine field {}", _0)] [INFO] [stdout] 88 | pub struct FieldRedefinitionError(String); [INFO] [stdout] | ---------------------- `FieldRedefinitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/combined_expr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lex_enum!(#[derive(PartialOrd, Ord)] CombiningOp { [INFO] [stdout] 7 | | "or" | "||" => Or, [INFO] [stdout] 8 | | "xor" | "^^" => Xor, [INFO] [stdout] 9 | | "and" | "&&" => And, [INFO] [stdout] 10 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lex_enum!(#[repr(u8)] OrderingOp { [INFO] [stdout] 20 | | "eq" | "==" => Equal = EQUAL, [INFO] [stdout] 21 | | "ne" | "!=" => NotEqual = LESS | GREATER, [INFO] [stdout] 22 | | "ge" | ">=" => GreaterThanEqual = GREATER | EQUAL, [INFO] [stdout] ... | [INFO] [stdout] 25 | | "lt" | "<" => LessThan = LESS, [INFO] [stdout] 26 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / lex_enum!(IntOp { [INFO] [stdout] 49 | | "&" | "bitwise_and" => BitwiseAnd, [INFO] [stdout] 50 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / lex_enum!(BytesOp { [INFO] [stdout] 53 | | "contains" => Contains, [INFO] [stdout] 54 | | "~" | "matches" => Matches, [INFO] [stdout] 55 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lex_enum!(ComparisonOp { [INFO] [stdout] 58 | | "in" => In, [INFO] [stdout] 59 | | OrderingOp => Ordering, [INFO] [stdout] 60 | | IntOp => Int, [INFO] [stdout] 61 | | BytesOp => Bytes, [INFO] [stdout] 62 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/simple_expr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lex_enum!(UnaryOp { [INFO] [stdout] 7 | | "not" | "!" => Not, [INFO] [stdout] 8 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/execution_context.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FieldValueTypeMismatchError` [INFO] [stdout] ... [INFO] [stdout] 12 | pub struct FieldValueTypeMismatchError { [INFO] [stdout] | --------------------------- `FieldValueTypeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/execution_context.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FieldValueTypeMismatchError` [INFO] [stdout] ... [INFO] [stdout] 12 | pub struct FieldValueTypeMismatchError { [INFO] [stdout] | --------------------------- `FieldValueTypeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filter.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SchemeMismatchError` [INFO] [stdout] 8 | #[fail(display = "execution context doesn't match the scheme with which filter was parsed")] [INFO] [stdout] 9 | pub struct SchemeMismatchError; [INFO] [stdout] | ------------------- `SchemeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filter.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SchemeMismatchError` [INFO] [stdout] 8 | #[fail(display = "execution context doesn't match the scheme with which filter was parsed")] [INFO] [stdout] 9 | pub struct SchemeMismatchError; [INFO] [stdout] | ------------------- `SchemeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/rhs_types/bytes.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / lex_enum!(ByteSeparator { [INFO] [stdout] 102 | | ":" => Colon, [INFO] [stdout] 103 | | "-" => Dash, [INFO] [stdout] 104 | | "." => Dot, [INFO] [stdout] 105 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rhs_types/int.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] | ^^ ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 10 - fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] 10 + fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'i, i32> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lex.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexErrorKind` [INFO] [stdout] 9 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lex.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_LexErrorKind` [INFO] [stdout] 9 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_UnknownFieldError` [INFO] [stdout] 82 | #[fail(display = "unknown field")] [INFO] [stdout] 83 | pub struct UnknownFieldError; [INFO] [stdout] | ----------------- `UnknownFieldError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:81:28 [INFO] [stdout] | [INFO] [stdout] 81 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_UnknownFieldError` [INFO] [stdout] 82 | #[fail(display = "unknown field")] [INFO] [stdout] 83 | pub struct UnknownFieldError; [INFO] [stdout] | ----------------- `UnknownFieldError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FieldRedefinitionError` [INFO] [stdout] 87 | #[fail(display = "attempt to redefine field {}", _0)] [INFO] [stdout] 88 | pub struct FieldRedefinitionError(String); [INFO] [stdout] | ---------------------- `FieldRedefinitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/scheme.rs:86:28 [INFO] [stdout] | [INFO] [stdout] 86 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FieldRedefinitionError` [INFO] [stdout] 87 | #[fail(display = "attempt to redefine field {}", _0)] [INFO] [stdout] 88 | pub struct FieldRedefinitionError(String); [INFO] [stdout] | ---------------------- `FieldRedefinitionError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/combined_expr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lex_enum!(#[derive(PartialOrd, Ord)] CombiningOp { [INFO] [stdout] 7 | | "or" | "||" => Or, [INFO] [stdout] 8 | | "xor" | "^^" => Xor, [INFO] [stdout] 9 | | "and" | "&&" => And, [INFO] [stdout] 10 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lex_enum!(#[repr(u8)] OrderingOp { [INFO] [stdout] 20 | | "eq" | "==" => Equal = EQUAL, [INFO] [stdout] 21 | | "ne" | "!=" => NotEqual = LESS | GREATER, [INFO] [stdout] 22 | | "ge" | ">=" => GreaterThanEqual = GREATER | EQUAL, [INFO] [stdout] ... | [INFO] [stdout] 25 | | "lt" | "<" => LessThan = LESS, [INFO] [stdout] 26 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / lex_enum!(IntOp { [INFO] [stdout] 49 | | "&" | "bitwise_and" => BitwiseAnd, [INFO] [stdout] 50 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / lex_enum!(BytesOp { [INFO] [stdout] 53 | | "contains" => Contains, [INFO] [stdout] 54 | | "~" | "matches" => Matches, [INFO] [stdout] 55 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/field_expr.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / lex_enum!(ComparisonOp { [INFO] [stdout] 58 | | "in" => In, [INFO] [stdout] 59 | | OrderingOp => Ordering, [INFO] [stdout] 60 | | IntOp => Int, [INFO] [stdout] 61 | | BytesOp => Bytes, [INFO] [stdout] 62 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/ast/simple_expr.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / lex_enum!(UnaryOp { [INFO] [stdout] 7 | | "not" | "!" => Not, [INFO] [stdout] 8 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/execution_context.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_FieldValueTypeMismatchError` [INFO] [stdout] ... [INFO] [stdout] 12 | pub struct FieldValueTypeMismatchError { [INFO] [stdout] | --------------------------- `FieldValueTypeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/execution_context.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_FieldValueTypeMismatchError` [INFO] [stdout] ... [INFO] [stdout] 12 | pub struct FieldValueTypeMismatchError { [INFO] [stdout] | --------------------------- `FieldValueTypeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filter.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SchemeMismatchError` [INFO] [stdout] 8 | #[fail(display = "execution context doesn't match the scheme with which filter was parsed")] [INFO] [stdout] 9 | pub struct SchemeMismatchError; [INFO] [stdout] | ------------------- `SchemeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/filter.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SchemeMismatchError` [INFO] [stdout] 8 | #[fail(display = "execution context doesn't match the scheme with which filter was parsed")] [INFO] [stdout] 9 | pub struct SchemeMismatchError; [INFO] [stdout] | ------------------- `SchemeMismatchError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] | ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] ::: src/rhs_types/bytes.rs:101:1 [INFO] [stdout] | [INFO] [stdout] 101 | / lex_enum!(ByteSeparator { [INFO] [stdout] 102 | | ":" => Colon, [INFO] [stdout] 103 | | "-" => Dash, [INFO] [stdout] 104 | | "." => Dot, [INFO] [stdout] 105 | | }); [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 `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 151 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 151 + fn lex($input: &'i str) -> $crate::lex::LexResult<'i, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rhs_types/int.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] | ^^ ^^ the lifetime is named here -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'i` [INFO] [stdout] | [INFO] [stdout] 10 - fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] 10 + fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'i, i32> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "fe1724bfe708ecfb021f8095f8bc702ffd7e027de7d82c3ddeb43240c8c816ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe1724bfe708ecfb021f8095f8bc702ffd7e027de7d82c3ddeb43240c8c816ee", kill_on_drop: false }` [INFO] [stdout] fe1724bfe708ecfb021f8095f8bc702ffd7e027de7d82c3ddeb43240c8c816ee