[INFO] fetching crate wirefilter-engine 0.6.1... [INFO] building wirefilter-engine-0.6.1 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate wirefilter-engine 0.6.1 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wirefilter-engine 0.6.1 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 80 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.4) [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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a0ef1a8ac623642ac9f8c612a8d29f7f51c37c296313acee93605519e248f61 [INFO] running `Command { std: "docker" "start" "-a" "5a0ef1a8ac623642ac9f8c612a8d29f7f51c37c296313acee93605519e248f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a0ef1a8ac623642ac9f8c612a8d29f7f51c37c296313acee93605519e248f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a0ef1a8ac623642ac9f8c612a8d29f7f51c37c296313acee93605519e248f61", kill_on_drop: false }` [INFO] [stdout] 5a0ef1a8ac623642ac9f8c612a8d29f7f51c37c296313acee93605519e248f61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18366568fc9acc9fb2e60ec041e7506f8eecf8decee0e66143c801453ed5a103 [INFO] running `Command { std: "docker" "start" "-a" "18366568fc9acc9fb2e60ec041e7506f8eecf8decee0e66143c801453ed5a103", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling bitstring v0.1.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling memmem v0.1.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling cidr v0.1.1 [INFO] [stderr] Compiling wirefilter-engine v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rhs_types/int.rs:10:81 [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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/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: `#[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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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/lex.rs:151:63 [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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: 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/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: 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/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/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/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/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/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: 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:63 [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:63 [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:63 [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:63 [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.95s [INFO] running `Command { std: "docker" "inspect" "18366568fc9acc9fb2e60ec041e7506f8eecf8decee0e66143c801453ed5a103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18366568fc9acc9fb2e60ec041e7506f8eecf8decee0e66143c801453ed5a103", kill_on_drop: false }` [INFO] [stdout] 18366568fc9acc9fb2e60ec041e7506f8eecf8decee0e66143c801453ed5a103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ccd17039f21553a3c93e5c4f3dd74b1c976e6c494636d42bd709fa7ce7b7419 [INFO] running `Command { std: "docker" "start" "-a" "5ccd17039f21553a3c93e5c4f3dd74b1c976e6c494636d42bd709fa7ce7b7419", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rhs_types/int.rs:10:81 [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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/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: `#[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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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/lex.rs:151:63 [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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: 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/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: 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/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/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/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/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/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: 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:63 [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:63 [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:63 [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:63 [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] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling rand_xoshiro v0.1.0 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion-plot v0.3.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling criterion v0.2.11 [INFO] [stderr] Compiling wirefilter-engine v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rhs_types/int.rs:10:81 [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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:63 [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:63 [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:63 [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:63 [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: 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/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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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: 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/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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lex.rs:151:63 [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/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: 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/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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.91s [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 3` [INFO] running `Command { std: "docker" "inspect" "5ccd17039f21553a3c93e5c4f3dd74b1c976e6c494636d42bd709fa7ce7b7419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ccd17039f21553a3c93e5c4f3dd74b1c976e6c494636d42bd709fa7ce7b7419", kill_on_drop: false }` [INFO] [stdout] 5ccd17039f21553a3c93e5c4f3dd74b1c976e6c494636d42bd709fa7ce7b7419