[INFO] fetching crate alga 0.9.3... [INFO] checking alga-0.9.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate alga 0.9.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate alga 0.9.3 [INFO] finished tweaking crates.io crate alga 0.9.3 [INFO] tweaked toml for crates.io crate alga 0.9.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate alga 0.9.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate alga 0.9.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alga_derive v0.9.1 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded aho-corasick v0.7.9 [INFO] [stderr] Downloaded regex-syntax v0.6.15 [INFO] [stderr] Downloaded decimal v2.0.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aadd5e942a9f3ec87b593ad5a9fb57c409cd6f30e14c819b966dd4e74b543ca8 [INFO] running `Command { std: "docker" "start" "-a" "aadd5e942a9f3ec87b593ad5a9fb57c409cd6f30e14c819b966dd4e74b543ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aadd5e942a9f3ec87b593ad5a9fb57c409cd6f30e14c819b966dd4e74b543ca8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aadd5e942a9f3ec87b593ad5a9fb57c409cd6f30e14c819b966dd4e74b543ca8", kill_on_drop: false }` [INFO] [stdout] aadd5e942a9f3ec87b593ad5a9fb57c409cd6f30e14c819b966dd4e74b543ca8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f518b55649e26128260b328143440ec0d2d312930cca00b2cfa14fb79072d1a [INFO] running `Command { std: "docker" "start" "-a" "4f518b55649e26128260b328143440ec0d2d312930cca00b2cfa14fb79072d1a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.67 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.15 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking alga v0.9.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.3.4 [INFO] [stdout] warning: unused macro definition: `impl_approx_eq` [INFO] [stdout] --> src/macros.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | macro_rules! impl_approx_eq { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_quasigroup` [INFO] [stdout] --> src/general/one_operator.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | macro_rules! impl_quasigroup( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_loop` [INFO] [stdout] --> src/general/one_operator.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | macro_rules! impl_loop( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rem` [INFO] [stdout] --> src/general/operator.rs:4:73 [INFO] [stdout] | [INFO] [stdout] 4 | pub use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `general::Real`: This has been renamed `RealField`. [INFO] [stdout] --> src/general/mod.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | impl Real for T {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/linear/matrix.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/linear/transformation.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbstractOperator` is never constructed [INFO] [stdout] --> src/general/operator.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AbstractOperator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Compiling alga_derive v0.9.1 [INFO] [stdout] warning: unused macro definition: `impl_approx_eq` [INFO] [stdout] --> src/macros.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | macro_rules! impl_approx_eq { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_quasigroup` [INFO] [stdout] --> src/general/one_operator.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | macro_rules! impl_quasigroup( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_loop` [INFO] [stdout] --> src/general/one_operator.rs:222:14 [INFO] [stdout] | [INFO] [stdout] 222 | macro_rules! impl_loop( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rem` [INFO] [stdout] --> src/general/operator.rs:4:73 [INFO] [stdout] | [INFO] [stdout] 4 | pub use std::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Neg, Rem, Sub, SubAssign}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractField` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRingCommutative` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/../examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `general::Real`: This has been renamed `RealField`. [INFO] [stdout] --> src/general/mod.rs:200:20 [INFO] [stdout] | [INFO] [stdout] 200 | impl Real for T {} [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/linear/matrix.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/linear/transformation.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Alga, PartialEq, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Vec2` [INFO] [stdout] 18 | #[alga_traits(GroupAbelian(Additive), Where = "Scalar: AbstractField")] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 19 | #[alga_quickcheck(check(Rational))] [INFO] [stdout] 20 | struct Vec2 { [INFO] [stdout] | ---- `Vec2` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractField` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRingCommutative` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> examples/vectors.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 191 | #[derive(Alga, Clone, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Rational` [INFO] [stdout] 192 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 193 | #[alga_quickcheck] [INFO] [stdout] 194 | struct Rational { [INFO] [stdout] | -------- `Rational` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_trait_impl` is never used [INFO] [stdout] --> tests/derive.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn test_trait_impl() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractField` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRingCommutative` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/derive.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Alga, Clone, PartialEq, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_W` [INFO] [stdout] 16 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 17 | #[alga_quickcheck] [INFO] [stdout] 18 | struct W(f64); [INFO] [stdout] | - `W` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Alga` may come from an old version of the `alga_derive` crate, try updating your dependency with `cargo update -p alga_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AbstractOperator` is never constructed [INFO] [stdout] --> src/general/operator.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct AbstractOperator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.59s [INFO] running `Command { std: "docker" "inspect" "4f518b55649e26128260b328143440ec0d2d312930cca00b2cfa14fb79072d1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f518b55649e26128260b328143440ec0d2d312930cca00b2cfa14fb79072d1a", kill_on_drop: false }` [INFO] [stdout] 4f518b55649e26128260b328143440ec0d2d312930cca00b2cfa14fb79072d1a