[INFO] fetching crate tin-lang 0.2.2... [INFO] testing tin-lang-0.2.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate tin-lang 0.2.2 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tin-lang 0.2.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 194 packages to latest compatible versions [INFO] [stderr] Adding cranelift v0.26.0 (available: v0.124.1) [INFO] [stderr] Adding cranelift-module v0.26.0 (available: v0.124.1) [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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 shred-derive v0.5.1 [INFO] [stderr] Downloaded specs-visitor-derive v0.1.1 [INFO] [stderr] Downloaded specs-visitor v0.1.1 [INFO] [stderr] Downloaded nonzero_signed v1.0.4 [INFO] [stderr] Downloaded shrev v1.1.3 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded shred v0.7.2 [INFO] [stderr] Downloaded cranelift-module v0.26.0 [INFO] [stderr] Downloaded cranelift-entity v0.26.0 [INFO] [stderr] Downloaded cranelift v0.26.0 [INFO] [stderr] Downloaded lalrpop-util v0.16.3 [INFO] [stderr] Downloaded raw-cpuid v6.1.0 [INFO] [stderr] Downloaded tuple_utils v0.2.0 [INFO] [stderr] Downloaded specs v0.14.3 [INFO] [stderr] Downloaded cranelift-native v0.26.0 [INFO] [stderr] Downloaded cranelift-bforest v0.26.0 [INFO] [stderr] Downloaded ascii-canvas v1.0.0 [INFO] [stderr] Downloaded ena v0.11.0 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded cranelift-frontend v0.26.0 [INFO] [stderr] Downloaded petgraph v0.4.13 [INFO] [stderr] Downloaded atom v0.3.6 [INFO] [stderr] Downloaded crossbeam-channel v0.2.6 [INFO] [stderr] Downloaded hibitset v0.5.4 [INFO] [stderr] Downloaded cranelift-codegen v0.26.0 [INFO] [stderr] Downloaded lalrpop v0.16.3 [INFO] [stderr] Downloaded region v1.0.0 [INFO] [stderr] Downloaded string_cache v0.7.5 [INFO] [stderr] Downloaded lock_api v0.1.5 [INFO] [stderr] Downloaded ordermap v0.3.5 [INFO] [stderr] Downloaded term v0.4.6 [INFO] [stderr] Downloaded specs-derive v0.3.0 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded crossbeam-deque v0.5.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.5.2 [INFO] [stderr] Downloaded crossbeam v0.4.1 [INFO] [stderr] Downloaded derivative v1.0.4 [INFO] [stderr] Downloaded mach v0.2.3 [INFO] [stderr] Downloaded target-lexicon v0.2.0 [INFO] [stderr] Downloaded cranelift-simplejit v0.26.0 [INFO] [stderr] Downloaded string_cache_codegen v0.4.4 [INFO] [stderr] Downloaded string_cache_shared v0.3.0 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded scopeguard v0.3.3 [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.26.0 [INFO] [stderr] Downloaded dot v0.1.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.6.1 [INFO] [stderr] Downloaded fixedbitset v0.1.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf17d8aae7e7a8c9bf2ad9fd3b1d9acc12acb18e61aab2aff7956cab57152735 [INFO] running `Command { std: "docker" "start" "-a" "cf17d8aae7e7a8c9bf2ad9fd3b1d9acc12acb18e61aab2aff7956cab57152735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf17d8aae7e7a8c9bf2ad9fd3b1d9acc12acb18e61aab2aff7956cab57152735", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf17d8aae7e7a8c9bf2ad9fd3b1d9acc12acb18e61aab2aff7956cab57152735", kill_on_drop: false }` [INFO] [stdout] cf17d8aae7e7a8c9bf2ad9fd3b1d9acc12acb18e61aab2aff7956cab57152735 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56263c5c638308dd094da3bcb14bddb1d9d2afb10dfca9da40d66730e4e09f9e [INFO] running `Command { std: "docker" "start" "-a" "56263c5c638308dd094da3bcb14bddb1d9d2afb10dfca9da40d66730e4e09f9e", 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.176 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling cranelift-entity v0.26.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling crossbeam-utils v0.5.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling raw-cpuid v6.1.0 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling cranelift-codegen-meta v0.26.0 [INFO] [stderr] Compiling cranelift-bforest v0.26.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling ena v0.11.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling crossbeam-epoch v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling lalrpop-util v0.16.3 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling atom v0.3.6 [INFO] [stderr] Compiling crossbeam-deque v0.5.2 [INFO] [stderr] Compiling shred v0.7.2 [INFO] [stderr] Compiling ascii-canvas v1.0.0 [INFO] [stderr] Compiling hibitset v0.5.4 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling tuple_utils v0.2.0 [INFO] [stderr] Compiling dot v0.1.4 [INFO] [stderr] Compiling nonzero_signed v1.0.4 [INFO] [stderr] Compiling cranelift-codegen v0.26.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling region v1.0.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling specs-derive v0.3.0 [INFO] [stderr] Compiling specs-visitor-derive v0.1.1 [INFO] [stderr] Compiling parking_lot v0.6.4 [INFO] [stderr] Compiling crossbeam-channel v0.2.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling crossbeam v0.4.1 [INFO] [stderr] Compiling string_cache v0.7.5 [INFO] [stderr] Compiling target-lexicon v0.2.0 [INFO] [stderr] Compiling specs v0.14.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling specs-visitor v0.1.1 [INFO] [stderr] Compiling docopt v1.1.1 [INFO] [stderr] Compiling lalrpop v0.16.3 [INFO] [stderr] Compiling cranelift-frontend v0.26.0 [INFO] [stderr] Compiling cranelift-native v0.26.0 [INFO] [stderr] Compiling cranelift-module v0.26.0 [INFO] [stderr] Compiling cranelift v0.26.0 [INFO] [stderr] Compiling cranelift-simplejit 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: 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: 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/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: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/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/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) due to 48 previous errors [INFO] running `Command { std: "docker" "inspect" "56263c5c638308dd094da3bcb14bddb1d9d2afb10dfca9da40d66730e4e09f9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56263c5c638308dd094da3bcb14bddb1d9d2afb10dfca9da40d66730e4e09f9e", kill_on_drop: false }` [INFO] [stdout] 56263c5c638308dd094da3bcb14bddb1d9d2afb10dfca9da40d66730e4e09f9e