[INFO] fetching crate tin-lang 0.2.2... [INFO] checking tin-lang-0.2.2 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tin-lang 0.2.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate tin-lang 0.2.2 [INFO] finished tweaking crates.io crate tin-lang 0.2.2 [INFO] tweaked toml for crates.io crate tin-lang 0.2.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tin-lang 0.2.2 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 212 packages to latest compatible versions [INFO] [stderr] Adding cranelift v0.26.0 (available: v0.123.2) [INFO] [stderr] Adding cranelift-module v0.26.0 (available: v0.123.2) [INFO] [stderr] Adding cranelift-simplejit v0.26.0 (available: v0.68.0) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding lalrpop v0.16.3 (available: v0.22.2) [INFO] [stderr] Adding lalrpop-util v0.16.3 (available: v0.22.2) [INFO] [stderr] Adding pretty_env_logger v0.3.1 (available: v0.5.0) [INFO] [stderr] Adding specs v0.14.3 (available: v0.20.0) [INFO] [stderr] Adding specs-derive v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding specs-visitor v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding specs-visitor-derive v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [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] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple_utils v0.2.0 [INFO] [stderr] Downloaded nonzero_signed v1.0.4 [INFO] [stderr] Downloaded shred-derive v0.5.1 [INFO] [stderr] Downloaded hibitset v0.5.4 [INFO] [stderr] Downloaded ascii-canvas v1.0.0 [INFO] [stderr] Downloaded lalrpop-util v0.16.3 [INFO] [stderr] Downloaded cranelift-bforest v0.26.0 [INFO] [stderr] Downloaded shred v0.7.2 [INFO] [stderr] Downloaded specs v0.14.3 [INFO] [stderr] Downloaded cranelift v0.26.0 [INFO] [stderr] Downloaded cranelift-frontend v0.26.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.26.0 [INFO] [stderr] Downloaded lalrpop v0.16.3 [INFO] [stderr] Downloaded atom v0.3.6 [INFO] [stderr] Downloaded raw-cpuid v6.1.0 [INFO] [stderr] Downloaded target-lexicon v0.2.0 [INFO] [stderr] Downloaded cranelift-simplejit v0.26.0 [INFO] [stderr] Downloaded ena v0.11.0 [INFO] [stderr] Downloaded cranelift-module v0.26.0 [INFO] [stderr] Downloaded cranelift-entity v0.26.0 [INFO] [stderr] Downloaded cranelift-native v0.26.0 [INFO] [stderr] Downloaded region v1.0.0 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded specs-visitor-derive v0.1.1 [INFO] [stderr] Downloaded specs-visitor v0.1.1 [INFO] [stderr] Downloaded specs-derive v0.3.0 [INFO] [stderr] Downloaded cranelift-codegen v0.26.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 8b8129f9c632dc77edd55b0f979d7e3935b919c2b5464cc0ede0cfee509d22b2 [INFO] running `Command { std: "docker" "start" "-a" "8b8129f9c632dc77edd55b0f979d7e3935b919c2b5464cc0ede0cfee509d22b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b8129f9c632dc77edd55b0f979d7e3935b919c2b5464cc0ede0cfee509d22b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b8129f9c632dc77edd55b0f979d7e3935b919c2b5464cc0ede0cfee509d22b2", kill_on_drop: false }` [INFO] [stdout] 8b8129f9c632dc77edd55b0f979d7e3935b919c2b5464cc0ede0cfee509d22b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 77ae6ed70dea1bb63c5a597e753a46136f09946d6ba1b5a498b795c437139a83 [INFO] running `Command { std: "docker" "start" "-a" "77ae6ed70dea1bb63c5a597e753a46136f09946d6ba1b5a498b795c437139a83", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling cranelift-entity v0.26.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.26.0 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking cranelift-bforest v0.26.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling cranelift-codegen v0.26.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking backtrace v0.3.75 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking hibitset v0.5.4 [INFO] [stderr] Checking shred v0.7.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking nonzero_signed v1.0.4 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking region v1.0.0 [INFO] [stderr] Checking errno v0.2.8 [INFO] [stderr] Compiling specs-derive v0.3.0 [INFO] [stderr] Checking dot v0.1.4 [INFO] [stderr] Compiling specs-visitor-derive v0.1.1 [INFO] [stderr] Checking specs v0.14.3 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking specs-visitor v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling target-lexicon v0.2.0 [INFO] [stderr] Checking cranelift-native v0.26.0 [INFO] [stderr] Checking cranelift-frontend v0.26.0 [INFO] [stderr] Checking cranelift-module v0.26.0 [INFO] [stderr] Checking cranelift-simplejit v0.26.0 [INFO] [stderr] Checking cranelift v0.26.0 [INFO] [stderr] Compiling tin-lang v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::all, clippy::pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `test-render-graphs` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | #![deny(nonstandard_style, warnings, unused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self::map_context::MapContext` [INFO] [stdout] --> src/ast/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::map_context::MapContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | #![deny(nonstandard_style, warnings, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/codegen/translation.rs:384:66 [INFO] [stdout] | [INFO] [stdout] 384 | fn declare_builtin(&mut self, builtin: &builtin::Builtin) -> cranelift::codegen::ir::FuncRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 384 - fn declare_builtin(&mut self, builtin: &builtin::Builtin) -> cranelift::codegen::ir::FuncRef { [INFO] [stdout] 384 + fn declare_builtin(&mut self, builtin: &builtin::Builtin) -> codegen::ir::FuncRef { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/util.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/util.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | 'a'...'f' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/util.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | 'A'...'F' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/util.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | #![cfg_attr(feature = "cargo-clippy", deny(clippy::all, clippy::pedantic))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `test-render-graphs` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | #![deny(nonstandard_style, warnings, unused)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unexpected_cfgs)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `self::map_context::MapContext` [INFO] [stdout] --> src/ast/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use self::map_context::MapContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | #![deny(nonstandard_style, warnings, unused)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary qualification [INFO] [stdout] --> src/codegen/translation.rs:384:66 [INFO] [stdout] | [INFO] [stdout] 384 | fn declare_builtin(&mut self, builtin: &builtin::Builtin) -> cranelift::codegen::ir::FuncRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | unused_qualifications [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the unnecessary path segments [INFO] [stdout] | [INFO] [stdout] 384 - fn declare_builtin(&mut self, builtin: &builtin::Builtin) -> cranelift::codegen::ir::FuncRef { [INFO] [stdout] 384 + fn declare_builtin(&mut self, builtin: &builtin::Builtin) -> codegen::ir::FuncRef { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/util.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/util.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | 'a'...'f' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/util.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | 'A'...'F' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parser/util.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | '0'...'9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait `AstNode` is never used [INFO] [stdout] --> src/ast/ast_node.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AstNode: fmt::Debug + Sized { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait `MapContext` is never used [INFO] [stdout] --> src/ast/map_context.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait MapContext: ast_node::AstNode { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: associated function `parse` is never used [INFO] [stdout] --> src/parser/mod.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait Parse: Sized { [INFO] [stdout] | ----- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 71 | fn parse(source: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn graph(&self) -> graph::Graph { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn graph(&self) -> graph::Graph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: methods `context` and `context_mut` are never used [INFO] [stdout] --> src/ast/ast_node.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait AstNode: fmt::Debug + Sized { [INFO] [stdout] | ------- methods in this trait [INFO] [stdout] 8 | /// Returns a reference to the context of this node. [INFO] [stdout] 9 | fn context(&self) -> &C; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 12 | fn context_mut(&mut self) -> &mut C; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(unused)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn graph(&self) -> graph::Graph { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[deny(mismatched_lifetime_syntaxes)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn graph(&self) -> graph::Graph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- `Error` 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: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Fail, PartialEq)] [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_Error` [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/constexpr.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component, Clone, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Constexpr` [INFO] [stdout] 5 | #[storage(VecStorage)] [INFO] [stdout] 6 | pub struct Constexpr; [INFO] [stdout] | --------- `Constexpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Component, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Element` [INFO] [stdout] 10 | #[storage(VecStorage)] [INFO] [stdout] 11 | pub enum Element { [INFO] [stdout] | ------- `Element` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Copy, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_NumberValue` [INFO] [stdout] 28 | pub enum NumberValue { [INFO] [stdout] | ----------- `NumberValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_StringValue` [INFO] [stdout] 42 | pub struct StringValue(pub String); [INFO] [stdout] | ----------- `StringValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- `Error` 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: `#[deny(non_local_definitions)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Tuple` [INFO] [stdout] 45 | pub struct Tuple { [INFO] [stdout] | ----- `Tuple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Record` [INFO] [stdout] 50 | pub struct Record { [INFO] [stdout] | ------ `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/mod.rs:21:24 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone, Debug, Fail, PartialEq)] [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_Error` [INFO] [stdout] 22 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_UnOperator` [INFO] [stdout] 56 | pub enum UnOperator { [INFO] [stdout] | ---------- `UnOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/constexpr.rs:4:35 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Component, Clone, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Constexpr` [INFO] [stdout] 5 | #[storage(VecStorage)] [INFO] [stdout] 6 | pub struct Constexpr; [INFO] [stdout] | --------- `Constexpr` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Component, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Element` [INFO] [stdout] 10 | #[storage(VecStorage)] [INFO] [stdout] 11 | pub enum Element { [INFO] [stdout] | ------- `Element` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | #[derive(Clone, Copy, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_NumberValue` [INFO] [stdout] 28 | pub enum NumberValue { [INFO] [stdout] | ----------- `NumberValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_StringValue` [INFO] [stdout] 42 | pub struct StringValue(pub String); [INFO] [stdout] | ----------- `StringValue` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Tuple` [INFO] [stdout] 45 | pub struct Tuple { [INFO] [stdout] | ----- `Tuple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Record` [INFO] [stdout] 50 | pub struct Record { [INFO] [stdout] | ------ `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:55:62 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_UnOperator` [INFO] [stdout] 56 | pub enum UnOperator { [INFO] [stdout] | ---------- `UnOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Clone, Copy, Debug, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_UnOp` [INFO] [stdout] 85 | pub struct UnOp { [INFO] [stdout] | ---- `UnOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:93:62 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_BiOperator` [INFO] [stdout] 94 | pub enum BiOperator { [INFO] [stdout] | ---------- `BiOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Clone, Copy, Debug, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_BiOp` [INFO] [stdout] 158 | pub struct BiOp { [INFO] [stdout] | ---- `BiOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Clone, Copy, Debug, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_UnOp` [INFO] [stdout] 85 | pub struct UnOp { [INFO] [stdout] | ---- `UnOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:93:62 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_BiOperator` [INFO] [stdout] 94 | pub enum BiOperator { [INFO] [stdout] | ---------- `BiOperator` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:157:41 [INFO] [stdout] | [INFO] [stdout] 157 | #[derive(Clone, Copy, Debug, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_BiOp` [INFO] [stdout] 158 | pub struct BiOp { [INFO] [stdout] | ---- `BiOp` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Variable` [INFO] [stdout] 168 | pub struct Variable { [INFO] [stdout] | -------- `Variable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Select` [INFO] [stdout] 174 | pub struct Select { [INFO] [stdout] | ------ `Select` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Apply` [INFO] [stdout] 180 | pub struct Apply { [INFO] [stdout] | ----- `Apply` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Parameter` [INFO] [stdout] 186 | pub struct Parameter { [INFO] [stdout] | --------- `Parameter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Capture` [INFO] [stdout] 192 | pub struct Capture { [INFO] [stdout] | ------- `Capture` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Closure` [INFO] [stdout] 198 | pub struct Closure { [INFO] [stdout] | ------- `Closure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Module` [INFO] [stdout] 207 | pub struct Module { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/layout.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Component, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Layout` [INFO] [stdout] 8 | #[storage(VecStorage)] [INFO] [stdout] 9 | pub struct Layout { [INFO] [stdout] | ------ `Layout` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/replacement.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Replacement` [INFO] [stdout] 7 | #[storage(HashMapStorage)] [INFO] [stdout] 8 | pub struct Replacement { [INFO] [stdout] | ----------- `Replacement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/symbol.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Symbol` [INFO] [stdout] 7 | #[storage(VecStorage)] [INFO] [stdout] 8 | pub struct Symbol { [INFO] [stdout] | ------ `Symbol` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/symbol.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Part` [INFO] [stdout] 13 | pub enum Part { [INFO] [stdout] | ---- `Part` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Variable` [INFO] [stdout] 168 | pub struct Variable { [INFO] [stdout] | -------- `Variable` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Select` [INFO] [stdout] 174 | pub struct Select { [INFO] [stdout] | ------ `Select` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Apply` [INFO] [stdout] 180 | pub struct Apply { [INFO] [stdout] | ----- `Apply` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Parameter` [INFO] [stdout] 186 | pub struct Parameter { [INFO] [stdout] | --------- `Parameter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Capture` [INFO] [stdout] 192 | pub struct Capture { [INFO] [stdout] | ------- `Capture` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Type` [INFO] [stdout] 7 | #[storage(VecStorage)] [INFO] [stdout] 8 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Copy, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_ScalarClass` [INFO] [stdout] 20 | pub enum ScalarClass { [INFO] [stdout] | ----------- `ScalarClass` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Copy, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_IntegralScalarClass` [INFO] [stdout] 29 | pub enum IntegralScalarClass { [INFO] [stdout] | ------------------- `IntegralScalarClass` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Number` [INFO] [stdout] 36 | pub enum Number { [INFO] [stdout] | ------ `Number` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Tuple` [INFO] [stdout] 50 | pub struct Tuple { [INFO] [stdout] | ----- `Tuple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Closure` [INFO] [stdout] 198 | pub struct Closure { [INFO] [stdout] | ------- `Closure` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/element.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | #[derive(Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Module` [INFO] [stdout] 207 | pub struct Module { [INFO] [stdout] | ------ `Module` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/layout.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Clone, Component, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Layout` [INFO] [stdout] 8 | #[storage(VecStorage)] [INFO] [stdout] 9 | pub struct Layout { [INFO] [stdout] | ------ `Layout` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/replacement.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Replacement` [INFO] [stdout] 7 | #[storage(HashMapStorage)] [INFO] [stdout] 8 | pub struct Replacement { [INFO] [stdout] | ----------- `Replacement` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/symbol.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Symbol` [INFO] [stdout] 7 | #[storage(VecStorage)] [INFO] [stdout] 8 | pub struct Symbol { [INFO] [stdout] | ------ `Symbol` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/symbol.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Clone, Debug, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Part` [INFO] [stdout] 13 | pub enum Part { [INFO] [stdout] | ---- `Part` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:6:50 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Component, Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Type` [INFO] [stdout] 7 | #[storage(VecStorage)] [INFO] [stdout] 8 | pub enum Type { [INFO] [stdout] | ---- `Type` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Clone, Copy, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_ScalarClass` [INFO] [stdout] 20 | pub enum ScalarClass { [INFO] [stdout] | ----------- `ScalarClass` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | #[derive(Clone, Copy, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_IntegralScalarClass` [INFO] [stdout] 29 | pub enum IntegralScalarClass { [INFO] [stdout] | ------------------- `IntegralScalarClass` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Clone, Copy, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Number` [INFO] [stdout] 36 | pub enum Number { [INFO] [stdout] | ------ `Number` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Tuple` [INFO] [stdout] 50 | pub struct Tuple { [INFO] [stdout] | ----- `Tuple` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Record` [INFO] [stdout] 55 | pub struct Record { [INFO] [stdout] | ------ `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Function` [INFO] [stdout] 60 | pub struct Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Conflict` [INFO] [stdout] 66 | pub struct Conflict { [INFO] [stdout] | -------- `Conflict` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_ExpectedType` [INFO] [stdout] 72 | pub enum ExpectedType { [INFO] [stdout] | ------------ `ExpectedType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 39 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Fail, PartialEq)] [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_Error` [INFO] [stdout] 39 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_escaped_string(input: &str) -> borrow::Cow { [INFO] [stdout] | ^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_escaped_string(input: &str) -> borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Record` [INFO] [stdout] 55 | pub struct Record { [INFO] [stdout] | ------ `Record` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Function` [INFO] [stdout] 60 | pub struct Function { [INFO] [stdout] | -------- `Function` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:65:39 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_Conflict` [INFO] [stdout] 66 | pub struct Conflict { [INFO] [stdout] | -------- `Conflict` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/ir/component/ty.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(Clone, Debug, Eq, PartialEq, VisitEntities)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `VisitEntities` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_specs_visitor_VisitEntities_FOR_ExpectedType` [INFO] [stdout] 72 | pub enum ExpectedType { [INFO] [stdout] | ------------ `ExpectedType` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `VisitEntities` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `VisitEntities` may come from an old version of the `specs_visitor_derive` crate, try updating your dependency with `cargo update -p specs_visitor_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 error originates in the derive macro `VisitEntities` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 39 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/parser/mod.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(Debug, Fail, PartialEq)] [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_Error` [INFO] [stdout] 39 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/util.rs:4:36 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_escaped_string(input: &str) -> borrow::Cow { [INFO] [stdout] | ^^^^ ---------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse_escaped_string(input: &str) -> borrow::Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Fail, PartialEq)] [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_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Fail, PartialEq)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Fail, PartialEq)] [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_Error` [INFO] [stdout] 9 | pub enum Error { [INFO] [stdout] | ----- `Error` 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 error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tin-lang` (lib test) due to 46 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tin-lang` (lib) due to 48 previous errors [INFO] running `Command { std: "docker" "inspect" "77ae6ed70dea1bb63c5a597e753a46136f09946d6ba1b5a498b795c437139a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77ae6ed70dea1bb63c5a597e753a46136f09946d6ba1b5a498b795c437139a83", kill_on_drop: false }` [INFO] [stdout] 77ae6ed70dea1bb63c5a597e753a46136f09946d6ba1b5a498b795c437139a83