[INFO] cloning repository https://github.com/gridgentoo/wirefilter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gridgentoo/wirefilter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgridgentoo%2Fwirefilter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgridgentoo%2Fwirefilter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fea9c94fac4b1d880b6628316dcd0191de61278 [INFO] checking gridgentoo/wirefilter against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgridgentoo%2Fwirefilter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain [INFO] started tweaking git repo https://github.com/gridgentoo/wirefilter [INFO] finished tweaking git repo https://github.com/gridgentoo/wirefilter [INFO] tweaked toml for git repo https://github.com/gridgentoo/wirefilter written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gridgentoo/wirefilter on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gridgentoo/wirefilter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.15 [INFO] [stderr] Downloaded generic-array v0.12.3 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded rayon v1.0.3 [INFO] [stderr] Downloaded indoc v0.3.5 [INFO] [stderr] Downloaded indoc-impl v0.3.5 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded indexmap v1.0.1 [INFO] [stderr] Downloaded ucd-trie v0.1.3 [INFO] [stderr] Downloaded rdrand v0.4.0 [INFO] [stderr] Downloaded textwrap v0.10.0 [INFO] [stderr] Downloaded unicode-width v0.1.5 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded redox_syscall v0.1.40 [INFO] [stderr] Downloaded fuchsia-cprng v0.1.1 [INFO] [stderr] Downloaded rand_core v0.4.0 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded itertools v0.8.0 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded backtrace-sys v0.1.23 [INFO] [stderr] Downloaded clap v2.32.0 [INFO] [stderr] Downloaded winapi v0.3.5 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded rayon-core v1.4.1 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded syn v0.15.22 [INFO] [stderr] Downloaded serde v1.0.78 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded redox_termios v0.1.1 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded cast v0.2.2 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded cloudabi v0.0.3 [INFO] [stderr] Downloaded rand_os v0.1.3 [INFO] [stderr] Downloaded rand_core v0.3.1 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded same-file v1.0.3 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded ryu v0.2.3 [INFO] [stderr] Downloaded csv-core v0.1.4 [INFO] [stderr] Downloaded num-traits v0.2.5 [INFO] [stderr] Downloaded nodrop v0.1.13 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded cfg-if v0.1.6 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded quote v0.6.10 [INFO] [stderr] Downloaded unicode-xid v0.1.0 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded memmem v0.1.1 [INFO] [stderr] Downloaded proc-macro2 v0.4.24 [INFO] [stderr] Downloaded arrayvec v0.4.10 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded backtrace v0.3.9 [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded serde_json v1.0.27 [INFO] [stderr] Downloaded syn v1.0.18 [INFO] [stderr] Downloaded pest v2.1.3 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded byteorder v1.2.4 [INFO] [stderr] Downloaded quote v1.0.4 [INFO] [stderr] Downloaded unicode-xid v0.2.0 [INFO] [stderr] Downloaded libc v0.2.42 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.28 [INFO] [stderr] Downloaded termion v1.5.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.28 [INFO] [stderr] Downloaded js-sys v0.3.5 [INFO] [stderr] Downloaded serde_derive v1.0.78 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.28 [INFO] [stderr] Downloaded tinytemplate v1.0.1 [INFO] [stderr] Downloaded pest_consume_macros v1.0.4 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.28 [INFO] [stderr] Downloaded bitstring v0.1.1 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded regex v1.3.7 [INFO] [stderr] Downloaded syn v0.14.5 [INFO] [stderr] Downloaded proc-macro2 v1.0.10 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded pest_consume v1.0.4 [INFO] [stderr] Downloaded csv v1.0.0 [INFO] [stderr] Downloaded cidr v0.1.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ec0b871fb6ad1ecde1654bcef9e92c232b8361bfdcdc4a8064212b562d18784 [INFO] running `Command { std: "docker" "start" "-a" "9ec0b871fb6ad1ecde1654bcef9e92c232b8361bfdcdc4a8064212b562d18784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ec0b871fb6ad1ecde1654bcef9e92c232b8361bfdcdc4a8064212b562d18784", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ec0b871fb6ad1ecde1654bcef9e92c232b8361bfdcdc4a8064212b562d18784", kill_on_drop: false }` [INFO] [stdout] 9ec0b871fb6ad1ecde1654bcef9e92c232b8361bfdcdc4a8064212b562d18784 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e6e36658b469eb8fc26324c6523e368c591bdb32ee6c6f7ff04904177d6fe33 [INFO] running `Command { std: "docker" "start" "-a" "2e6e36658b469eb8fc26324c6523e368c591bdb32ee6c6f7ff04904177d6fe33", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking libc v0.2.42 [INFO] [stderr] Compiling serde v1.0.78 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Checking bitstring v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking memmem v0.1.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.28 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking same-file v1.0.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bitflags v1.0.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.28 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Checking walkdir v2.2.7 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling syn v0.14.5 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.23 [INFO] [stderr] Compiling wirefilter-ffi-ctests v0.1.0 (/opt/rustwide/workdir/ffi/tests/ctests) [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.28 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling serde_derive v1.0.78 [INFO] [stderr] Compiling indoc-impl v0.3.5 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pest_consume_macros v1.0.4 [INFO] [stderr] Checking indoc v0.3.5 [INFO] [stderr] Checking pest_consume v1.0.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.28 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.28 [INFO] [stderr] Checking serde_json v1.0.27 [INFO] [stderr] Checking cidr v0.1.0 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking csv v1.0.0 [INFO] [stderr] Checking wirefilter-parser v0.1.0 (/opt/rustwide/workdir/wirefilter-parser) [INFO] [stderr] Checking wirefilter-engine v0.7.0 (/opt/rustwide/workdir/engine) [INFO] [stdout] error: expected `;` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | $node.children(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | parse_range!(node, int_lit) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `parse_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | $node.children(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | parse_range!(node, ipv4_lit) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `parse_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | $node.children(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | parse_range!(node, ipv6_lit) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `parse_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | $node.children(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 125 | parse_range!(node, int_lit) [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `parse_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | $node.children(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 150 | parse_range!(node, ipv4_lit) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `parse_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:55:18 [INFO] [stdout] | [INFO] [stdout] 55 | $node.children(); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 155 | parse_range!(node, ipv6_lit) [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `proc_macro_call` which comes from the expansion of the macro `parse_range` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semantics::ValidateSemantics` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use semantics::ValidateSemantics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `semantics::ValidateSemantics` [INFO] [stdout] --> wirefilter-parser/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use semantics::ValidateSemantics; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wirefilter-parser` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/scheme.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Default, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/combined_expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lex_enum!(#[derive(PartialOrd, Ord)] CombiningOp { [INFO] [stdout] 10 | | "or" | "||" => Or, [INFO] [stdout] 11 | | "xor" | "^^" => Xor, [INFO] [stdout] 12 | | "and" | "&&" => And, [INFO] [stdout] 13 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/combined_expr.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lex_enum!(#[repr(u8)] OrderingOp { [INFO] [stdout] 24 | | "eq" | "==" => Equal = EQUAL, [INFO] [stdout] 25 | | "ne" | "!=" => NotEqual = LESS | GREATER, [INFO] [stdout] 26 | | "ge" | ">=" => GreaterThanEqual = GREATER | EQUAL, [INFO] [stdout] ... | [INFO] [stdout] 29 | | "lt" | "<" => LessThan = LESS, [INFO] [stdout] 30 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / lex_enum!(IntOp { [INFO] [stdout] 53 | | "&" | "bitwise_and" => BitwiseAnd, [INFO] [stdout] 54 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / lex_enum!(BytesOp { [INFO] [stdout] 57 | | "contains" => Contains, [INFO] [stdout] 58 | | "~" | "matches" => Matches, [INFO] [stdout] 59 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / lex_enum!(ComparisonOp { [INFO] [stdout] 62 | | "in" => In, [INFO] [stdout] 63 | | OrderingOp => Ordering, [INFO] [stdout] 64 | | IntOp => Int, [INFO] [stdout] 65 | | BytesOp => Bytes, [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/field_expr.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/field_expr.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/field_expr.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/function_expr.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/function_expr.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/simple_expr.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lex_enum!(UnaryOp { [INFO] [stdout] 9 | | "not" | "!" => Not, [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/simple_expr.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/ast/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(PartialEq, Eq, Serialize, Clone)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/rhs_types/bool.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, Eq, Clone, Hash, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/rhs_types/bytes.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: engine/src/rhs_types/bytes.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / lex_enum!(ByteSeparator { [INFO] [stdout] 104 | | ":" => Colon, [INFO] [stdout] 105 | | "-" => Dash, [INFO] [stdout] 106 | | "." => Dot, [INFO] [stdout] 107 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `lex_enum` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/rhs_types/ip.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(PartialEq, Eq, Clone, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/rhs_types/ip.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(PartialEq, Eq, Clone, Serialize, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/types.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `declare_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/types.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 97 | #[derive(PartialEq, Eq, Clone, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` which comes from the expansion of the macro `declare_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/types.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `declare_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> engine/src/types.rs:168:44 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default` and `regex` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` which comes from the expansion of the macro `declare_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wirefilter-parser` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> engine/src/lex.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 11 | 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] --> engine/src/lex.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | #[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] 11 | 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] --> engine/src/scheme.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | #[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] 85 | #[fail(display = "unknown field")] [INFO] [stdout] 86 | 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] --> engine/src/scheme.rs:84:28 [INFO] [stdout] | [INFO] [stdout] 84 | #[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] 85 | #[fail(display = "unknown field")] [INFO] [stdout] 86 | 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] --> engine/src/scheme.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | #[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_UnknownFunctionError` [INFO] [stdout] 91 | #[fail(display = "unknown function")] [INFO] [stdout] 92 | pub struct UnknownFunctionError; [INFO] [stdout] | -------------------- `UnknownFunctionError` 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] --> engine/src/scheme.rs:90:28 [INFO] [stdout] | [INFO] [stdout] 90 | #[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_UnknownFunctionError` [INFO] [stdout] 91 | #[fail(display = "unknown function")] [INFO] [stdout] 92 | pub struct UnknownFunctionError; [INFO] [stdout] | -------------------- `UnknownFunctionError` 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] --> engine/src/scheme.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[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] 96 | #[fail(display = "attempt to redefine field {}", _0)] [INFO] [stdout] 97 | 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] --> engine/src/scheme.rs:95:28 [INFO] [stdout] | [INFO] [stdout] 95 | #[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] 96 | #[fail(display = "attempt to redefine field {}", _0)] [INFO] [stdout] 97 | 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] --> engine/src/scheme.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | #[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_FunctionRedefinitionError` [INFO] [stdout] 101 | #[fail(display = "attempt to redefine function {}", _0)] [INFO] [stdout] 102 | pub struct FunctionRedefinitionError(String); [INFO] [stdout] | ------------------------- `FunctionRedefinitionError` 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] --> engine/src/scheme.rs:100:28 [INFO] [stdout] | [INFO] [stdout] 100 | #[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_FunctionRedefinitionError` [INFO] [stdout] 101 | #[fail(display = "attempt to redefine function {}", _0)] [INFO] [stdout] 102 | pub struct FunctionRedefinitionError(String); [INFO] [stdout] | ------------------------- `FunctionRedefinitionError` 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] --> engine/src/scheme.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | #[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_ItemRedefinitionError` [INFO] [stdout] 105 | pub enum ItemRedefinitionError { [INFO] [stdout] | --------------------- `ItemRedefinitionError` 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] --> engine/src/scheme.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | #[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_ItemRedefinitionError` [INFO] [stdout] 105 | pub enum ItemRedefinitionError { [INFO] [stdout] | --------------------- `ItemRedefinitionError` 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] --> engine/src/scheme.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Default, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Scheme` [INFO] [stdout] 192 | #[serde(transparent)] [INFO] [stdout] 193 | pub struct Scheme { [INFO] [stdout] | ------ `Scheme` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` (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] --> engine/src/ast/mod.rs:25:25 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(PartialEq, Eq, Serialize, Clone)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FilterAst` [INFO] [stdout] 26 | #[serde(transparent)] [INFO] [stdout] 27 | pub struct FilterAst<'s> { [INFO] [stdout] | --------- `FilterAst` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CombiningOp` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/combined_expr.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | lex_enum!(#[derive(PartialOrd, Ord)] CombiningOp { [INFO] [stdout] | - ----------- `CombiningOp` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 10 | | "or" | "||" => Or, [INFO] [stdout] 11 | | "xor" | "^^" => Xor, [INFO] [stdout] 12 | | "and" | "&&" => And, [INFO] [stdout] 13 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/ast/combined_expr.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lex_enum!(#[derive(PartialOrd, Ord)] CombiningOp { [INFO] [stdout] 10 | | "or" | "||" => Or, [INFO] [stdout] 11 | | "xor" | "^^" => Xor, [INFO] [stdout] 12 | | "and" | "&&" => And, [INFO] [stdout] 13 | | }); [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/ast/combined_expr.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CombinedExpr` [INFO] [stdout] 16 | #[serde(untagged)] [INFO] [stdout] 17 | pub enum CombinedExpr<'s> { [INFO] [stdout] | ------------ `CombinedExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_OrderingOp` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:23:23 [INFO] [stdout] | [INFO] [stdout] 23 | lex_enum!(#[repr(u8)] OrderingOp { [INFO] [stdout] | - ---------- `OrderingOp` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 24 | | "eq" | "==" => Equal = EQUAL, [INFO] [stdout] 25 | | "ne" | "!=" => NotEqual = LESS | GREATER, [INFO] [stdout] 26 | | "ge" | ">=" => GreaterThanEqual = GREATER | EQUAL, [INFO] [stdout] ... | [INFO] [stdout] 29 | | "lt" | "<" => LessThan = LESS, [INFO] [stdout] 30 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/ast/field_expr.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | / lex_enum!(#[repr(u8)] OrderingOp { [INFO] [stdout] 24 | | "eq" | "==" => Equal = EQUAL, [INFO] [stdout] 25 | | "ne" | "!=" => NotEqual = LESS | GREATER, [INFO] [stdout] 26 | | "ge" | ">=" => GreaterThanEqual = GREATER | EQUAL, [INFO] [stdout] ... | [INFO] [stdout] 29 | | "lt" | "<" => LessThan = LESS, [INFO] [stdout] 30 | | }); [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IntOp` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | lex_enum!(IntOp { [INFO] [stdout] | - ----- `IntOp` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 53 | | "&" | "bitwise_and" => BitwiseAnd, [INFO] [stdout] 54 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/ast/field_expr.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / lex_enum!(IntOp { [INFO] [stdout] 53 | | "&" | "bitwise_and" => BitwiseAnd, [INFO] [stdout] 54 | | }); [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BytesOp` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:56:11 [INFO] [stdout] | [INFO] [stdout] 56 | lex_enum!(BytesOp { [INFO] [stdout] | - ------- `BytesOp` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 57 | | "contains" => Contains, [INFO] [stdout] 58 | | "~" | "matches" => Matches, [INFO] [stdout] 59 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/ast/field_expr.rs:56:1 [INFO] [stdout] | [INFO] [stdout] 56 | / lex_enum!(BytesOp { [INFO] [stdout] 57 | | "contains" => Contains, [INFO] [stdout] 58 | | "~" | "matches" => Matches, [INFO] [stdout] 59 | | }); [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ComparisonOp` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/field_expr.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | lex_enum!(ComparisonOp { [INFO] [stdout] | - ------------ `ComparisonOp` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 62 | | "in" => In, [INFO] [stdout] 63 | | OrderingOp => Ordering, [INFO] [stdout] 64 | | IntOp => Int, [INFO] [stdout] 65 | | BytesOp => Bytes, [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/ast/field_expr.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / lex_enum!(ComparisonOp { [INFO] [stdout] 62 | | "in" => In, [INFO] [stdout] 63 | | OrderingOp => Ordering, [INFO] [stdout] 64 | | IntOp => Int, [INFO] [stdout] 65 | | BytesOp => Bytes, [INFO] [stdout] 66 | | }); [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/ast/field_expr.rs:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FieldOp` [INFO] [stdout] 69 | #[serde(untagged)] [INFO] [stdout] 70 | enum FieldOp { [INFO] [stdout] | ------- `FieldOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/ast/field_expr.rs:127:39 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LhsFieldExpr` [INFO] [stdout] 128 | #[serde(untagged)] [INFO] [stdout] 129 | pub(crate) enum LhsFieldExpr<'s> { [INFO] [stdout] | ------------ `LhsFieldExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/ast/field_expr.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FieldExpr` [INFO] [stdout] 180 | pub struct FieldExpr<'s> { [INFO] [stdout] | --------- `FieldExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/ast/function_expr.rs:11:39 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FunctionCallArgExpr` [INFO] [stdout] 12 | #[serde(tag = "kind", content = "value")] [INFO] [stdout] 13 | pub(crate) enum FunctionCallArgExpr<'s> { [INFO] [stdout] | ------------------- `FunctionCallArgExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/ast/function_expr.rs:73:39 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FunctionCallExpr` [INFO] [stdout] 74 | pub(crate) struct FunctionCallExpr<'s> { [INFO] [stdout] | ---------------- `FunctionCallExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UnaryOp` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/ast/simple_expr.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | lex_enum!(UnaryOp { [INFO] [stdout] | - ------- `UnaryOp` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 9 | | "not" | "!" => Not, [INFO] [stdout] 10 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/ast/simple_expr.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | / lex_enum!(UnaryOp { [INFO] [stdout] 9 | | "not" | "!" => Not, [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/ast/simple_expr.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SimpleExpr` [INFO] [stdout] 13 | #[serde(untagged)] [INFO] [stdout] 14 | pub enum SimpleExpr<'s> { [INFO] [stdout] | ---------- `SimpleExpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/filter.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] 7 | #[fail(display = "execution context doesn't match the scheme with which filter was parsed")] [INFO] [stdout] 8 | 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] --> engine/src/filter.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[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] 7 | #[fail(display = "execution context doesn't match the scheme with which filter was parsed")] [INFO] [stdout] 8 | 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] --> engine/src/rhs_types/bool.rs:10:45 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, PartialEq, Eq, Clone, Hash, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_UninhabitedBool` [INFO] [stdout] 11 | pub enum UninhabitedBool {} [INFO] [stdout] | --------------- `UninhabitedBool` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/rhs_types/bytes.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Bytes` [INFO] [stdout] 15 | #[serde(untagged)] [INFO] [stdout] 16 | pub enum Bytes { [INFO] [stdout] | ----- `Bytes` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/lex.rs:164:53 [INFO] [stdout] | [INFO] [stdout] 164 | #[derive(Debug, PartialEq, Eq, Clone, Copy, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ByteSeparator` [INFO] [stdout] | [INFO] [stdout] ::: engine/src/rhs_types/bytes.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | lex_enum!(ByteSeparator { [INFO] [stdout] | - ------------- `ByteSeparator` is not local [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 104 | | ":" => Colon, [INFO] [stdout] 105 | | "-" => Dash, [INFO] [stdout] 106 | | "." => Dot, [INFO] [stdout] 107 | | }); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `lex_enum` (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] --> engine/src/lex.rs:169:29 [INFO] [stdout] | [INFO] [stdout] 169 | 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] ::: engine/src/rhs_types/bytes.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | / lex_enum!(ByteSeparator { [INFO] [stdout] 104 | | ":" => Colon, [INFO] [stdout] 105 | | "-" => Dash, [INFO] [stdout] 106 | | "." => Dot, [INFO] [stdout] 107 | | }); [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] 169 - fn lex($input: &'i str) -> $crate::lex::LexResult<'_, Self> { [INFO] [stdout] 169 + 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] --> engine/src/rhs_types/int.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 12 - fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] 12 + 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] --> engine/src/rhs_types/ip.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(PartialEq, Eq, Clone, Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_ExplicitIpRange` [INFO] [stdout] 38 | #[serde(untagged)] [INFO] [stdout] 39 | pub enum ExplicitIpRange { [INFO] [stdout] | --------------- `ExplicitIpRange` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/rhs_types/ip.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(PartialEq, Eq, Clone, Serialize, Debug)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_IpRange` [INFO] [stdout] 45 | #[serde(untagged)] [INFO] [stdout] 46 | pub enum IpRange { [INFO] [stdout] | ------- `IpRange` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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] --> engine/src/types.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[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_TypeMismatchError` [INFO] [stdout] ... [INFO] [stdout] 39 | pub struct TypeMismatchError { [INFO] [stdout] | ----------------- `TypeMismatchError` 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] --> engine/src/types.rs:34:28 [INFO] [stdout] | [INFO] [stdout] 34 | #[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_TypeMismatchError` [INFO] [stdout] ... [INFO] [stdout] 39 | pub struct TypeMismatchError { [INFO] [stdout] | ----------------- `TypeMismatchError` 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] --> engine/src/types.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | #[derive(Debug, Clone, Copy, PartialEq, Eq, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Type` [INFO] [stdout] 74 | #[repr(C)] [INFO] [stdout] 75 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` which comes from the expansion of the macro `declare_types` (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] --> engine/src/types.rs:97:44 [INFO] [stdout] | [INFO] [stdout] 50 | pub enum $name $(<$lt>)* { [INFO] [stdout] | -------- `LhsValue` is not local [INFO] [stdout] ... [INFO] [stdout] 97 | #[derive(PartialEq, Eq, Clone, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LhsValue` [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Deserialize` which comes from the expansion of the macro `declare_types` (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] --> engine/src/types.rs:126:44 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RhsValue` [INFO] [stdout] 127 | #[serde(untagged)] [INFO] [stdout] 128 | enum RhsValue { [INFO] [stdout] | -------- `RhsValue` is not local [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `declare_types` (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] --> engine/src/types.rs:168:44 [INFO] [stdout] | [INFO] [stdout] 168 | #[derive(PartialEq, Eq, Clone, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_RhsValues` [INFO] [stdout] 169 | #[serde(untagged)] [INFO] [stdout] 170 | enum RhsValues { [INFO] [stdout] | --------- `RhsValues` is not local [INFO] [stdout] ... [INFO] [stdout] 242 | / declare_types!( [INFO] [stdout] 243 | | /// An IPv4 or IPv6 field. [INFO] [stdout] 244 | | /// [INFO] [stdout] 245 | | /// These are represented as a single type to allow interop comparisons. [INFO] [stdout] ... | [INFO] [stdout] 258 | | Bool(bool | UninhabitedBool | UninhabitedBool), [INFO] [stdout] 259 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` which comes from the expansion of the macro `declare_types` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e6e36658b469eb8fc26324c6523e368c591bdb32ee6c6f7ff04904177d6fe33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6e36658b469eb8fc26324c6523e368c591bdb32ee6c6f7ff04904177d6fe33", kill_on_drop: false }` [INFO] [stdout] 2e6e36658b469eb8fc26324c6523e368c591bdb32ee6c6f7ff04904177d6fe33