[INFO] fetching crate gmorph 0.1.0... [INFO] testing gmorph-0.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate gmorph 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate gmorph 0.1.0 [INFO] finished tweaking crates.io crate gmorph 0.1.0 [INFO] tweaked toml for crates.io crate gmorph 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate gmorph 0.1.0 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 gmorph 0.1.0 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.48 [INFO] [stderr] Downloaded edit-distance v2.1.0 [INFO] [stderr] Downloaded alga_derive v0.9.2 [INFO] [stderr] Downloaded modinverse v0.1.1 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded serde_cbor v0.10.2 [INFO] [stderr] Downloaded syn v1.0.17 [INFO] [stderr] Downloaded nalgebra v0.20.0 [INFO] [stderr] Downloaded half v1.5.0 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded quote v1.0.3 [INFO] [stderr] Downloaded serde v1.0.105 [INFO] [stderr] Downloaded libc v0.2.68 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded regex-syntax v0.6.17 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded ryu v1.0.3 [INFO] [stderr] Downloaded proc-macro2 v1.0.9 [INFO] [stderr] Downloaded serde_derive v1.0.105 [INFO] [stderr] Downloaded regex v1.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72a11c7448974fab1cd0b632e4daf26e740eb32c457fbc241302c3b24244cb9d [INFO] running `Command { std: "docker" "start" "-a" "72a11c7448974fab1cd0b632e4daf26e740eb32c457fbc241302c3b24244cb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72a11c7448974fab1cd0b632e4daf26e740eb32c457fbc241302c3b24244cb9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a11c7448974fab1cd0b632e4daf26e740eb32c457fbc241302c3b24244cb9d", kill_on_drop: false }` [INFO] [stdout] 72a11c7448974fab1cd0b632e4daf26e740eb32c457fbc241302c3b24244cb9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9787424a4dcae665bc1c70014c3f6fda36a0e16f6894ca5704f02435db80b2b9 [INFO] running `Command { std: "docker" "start" "-a" "9787424a4dcae665bc1c70014c3f6fda36a0e16f6894ca5704f02435db80b2b9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling generic-array v0.13.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling half v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling edit-distance v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling modinverse v0.1.1 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling alga_derive v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling alga v0.9.3 [INFO] [stderr] Compiling nalgebra v0.20.0 [INFO] [stderr] Compiling gmorph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/m231.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/m231.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invert_3x3` [INFO] [stdout] --> src/algebra/q231.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{invert_3x3, m231::try_sqrt, m231::Mod231, quaternion::QuaternionM, Invertible}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/quaternion.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/quaternion.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULUSI32` is never used [INFO] [stdout] --> src/algebra/m231.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const MODULUSI32: i32 = 2147483647i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_product` is never used [INFO] [stdout] --> src/algebra/m231.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn normalize_product(mut v: u64) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_imag` is never used [INFO] [stdout] --> src/algebra/quaternion.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl QuaternionM [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: Ring + fmt::Debug + Copy + Invertible + 'static, [INFO] [stdout] | |_______________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_imag(ijk: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/m231.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/quaternion.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QuaternionM` [INFO] [stdout] 13 | pub(crate) struct QuaternionM [INFO] [stdout] | ----------- `QuaternionM` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/quaternion.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuaternionM` [INFO] [stdout] 13 | pub(crate) struct QuaternionM [INFO] [stdout] | ----------- `QuaternionM` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Enc` [INFO] [stdout] 17 | pub struct Enc { [INFO] [stdout] | --- `Enc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Enc` [INFO] [stdout] 17 | pub struct Enc { [INFO] [stdout] | --- `Enc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_KeyPair` [INFO] [stdout] 83 | pub struct KeyPair { [INFO] [stdout] | ------- `KeyPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_KeyPair` [INFO] [stdout] 83 | pub struct KeyPair { [INFO] [stdout] | ------- `KeyPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.40s [INFO] running `Command { std: "docker" "inspect" "9787424a4dcae665bc1c70014c3f6fda36a0e16f6894ca5704f02435db80b2b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9787424a4dcae665bc1c70014c3f6fda36a0e16f6894ca5704f02435db80b2b9", kill_on_drop: false }` [INFO] [stdout] 9787424a4dcae665bc1c70014c3f6fda36a0e16f6894ca5704f02435db80b2b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f89bcd813be542561b36eeac03a103ed8b4e77c5f96570cbf536be2e176e5ff [INFO] running `Command { std: "docker" "start" "-a" "7f89bcd813be542561b36eeac03a103ed8b4e77c5f96570cbf536be2e176e5ff", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling quickcheck v0.9.2 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stderr] Compiling alga_derive v0.9.2 [INFO] [stderr] Compiling gmorph v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/m231.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/m231.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `invert_3x3` [INFO] [stdout] --> src/algebra/q231.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{invert_3x3, m231::try_sqrt, m231::Mod231, quaternion::QuaternionM, Invertible}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/quaternion.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/quaternion.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/m231.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/m231.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/quaternion.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/algebra/quaternion.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/enc.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULUSI32` is never used [INFO] [stdout] --> src/algebra/m231.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const MODULUSI32: i32 = 2147483647i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `normalize_product` is never used [INFO] [stdout] --> src/algebra/m231.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn normalize_product(mut v: u64) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_imag` is never used [INFO] [stdout] --> src/algebra/quaternion.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl QuaternionM [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: Ring + fmt::Debug + Copy + Invertible + 'static, [INFO] [stdout] | |_______________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_imag(ijk: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/m231.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/quaternion.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QuaternionM` [INFO] [stdout] 13 | pub(crate) struct QuaternionM [INFO] [stdout] | ----------- `QuaternionM` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/quaternion.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuaternionM` [INFO] [stdout] 13 | pub(crate) struct QuaternionM [INFO] [stdout] | ----------- `QuaternionM` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Enc` [INFO] [stdout] 17 | pub struct Enc { [INFO] [stdout] | --- `Enc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Enc` [INFO] [stdout] 17 | pub struct Enc { [INFO] [stdout] | --- `Enc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_KeyPair` [INFO] [stdout] 83 | pub struct KeyPair { [INFO] [stdout] | ------- `KeyPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_KeyPair` [INFO] [stdout] 83 | pub struct KeyPair { [INFO] [stdout] | ------- `KeyPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MODULUSI32` is never used [INFO] [stdout] --> src/algebra/m231.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const MODULUSI32: i32 = 2147483647i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_imag` is never used [INFO] [stdout] --> src/algebra/quaternion.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl QuaternionM [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: Ring + fmt::Debug + Copy + Invertible + 'static, [INFO] [stdout] | |_______________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn from_imag(ijk: Vector3) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` 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] --> src/algebra/m231.rs:16:40 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/m231.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Mod231` [INFO] [stdout] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stdout] 18 | pub struct Mod231(pub u32); [INFO] [stdout] | ------ `Mod231` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/quaternion.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QuaternionM` [INFO] [stdout] 13 | pub(crate) struct QuaternionM [INFO] [stdout] | ----------- `QuaternionM` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/algebra/quaternion.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuaternionM` [INFO] [stdout] 13 | pub(crate) struct QuaternionM [INFO] [stdout] | ----------- `QuaternionM` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:16:41 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Enc` [INFO] [stdout] 17 | pub struct Enc { [INFO] [stdout] | --- `Enc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Enc` [INFO] [stdout] 17 | pub struct Enc { [INFO] [stdout] | --- `Enc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_KeyPair` [INFO] [stdout] 83 | pub struct KeyPair { [INFO] [stdout] | ------- `KeyPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/enc.rs:82:28 [INFO] [stdout] | [INFO] [stdout] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_KeyPair` [INFO] [stdout] 83 | pub struct KeyPair { [INFO] [stdout] | ------- `KeyPair` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.13s [INFO] running `Command { std: "docker" "inspect" "7f89bcd813be542561b36eeac03a103ed8b4e77c5f96570cbf536be2e176e5ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f89bcd813be542561b36eeac03a103ed8b4e77c5f96570cbf536be2e176e5ff", kill_on_drop: false }` [INFO] [stdout] 7f89bcd813be542561b36eeac03a103ed8b4e77c5f96570cbf536be2e176e5ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7077f2ebd74f793678cba4197ffb9a91a3a1af788ab02ff4bf2f1d847ad5092b [INFO] running `Command { std: "docker" "start" "-a" "7077f2ebd74f793678cba4197ffb9a91a3a1af788ab02ff4bf2f1d847ad5092b", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/algebra/m231.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/algebra/m231.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `invert_3x3` [INFO] [stderr] --> src/algebra/q231.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use super::{invert_3x3, m231::try_sqrt, m231::Mod231, quaternion::QuaternionM, Invertible}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/algebra/quaternion.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/algebra/quaternion.rs:12:45 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/enc.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/enc.rs:16:52 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/enc.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/enc.rs:82:28 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `experimental-normalize` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant `MODULUSI32` is never used [INFO] [stderr] --> src/algebra/m231.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | const MODULUSI32: i32 = 2147483647i32; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `normalize_product` is never used [INFO] [stderr] --> src/algebra/m231.rs:91:4 [INFO] [stderr] | [INFO] [stderr] 91 | fn normalize_product(mut v: u64) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_imag` is never used [INFO] [stderr] --> src/algebra/quaternion.rs:40:12 [INFO] [stderr] | [INFO] [stderr] 20 | / impl QuaternionM [INFO] [stderr] 21 | | where [INFO] [stderr] 22 | | T: Ring + fmt::Debug + Copy + Invertible + 'static, [INFO] [stderr] | |_______________________________________________________- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 40 | pub fn from_imag(ijk: Vector3) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractRing` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- -------------- `Multiplicative` is not local [INFO] [stderr] | | [INFO] [stderr] | `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractGroupAbelian` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractGroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractMonoid` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractQuasigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractLoop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractSemigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractMonoid` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractQuasigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractLoop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:34 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractSemigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Alga` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Alga` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:40 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/m231.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Clone, Copy, PartialEq, Alga, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Mod231` [INFO] [stderr] 17 | #[alga_traits(Ring(Additive, Multiplicative))] [INFO] [stderr] 18 | pub struct Mod231(pub u32); [INFO] [stderr] | ------ `Mod231` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/quaternion.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_QuaternionM` [INFO] [stderr] 13 | pub(crate) struct QuaternionM [INFO] [stderr] | ----------- `QuaternionM` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/algebra/quaternion.rs:12:45 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuaternionM` [INFO] [stderr] 13 | pub(crate) struct QuaternionM [INFO] [stderr] | ----------- `QuaternionM` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/enc.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Enc` [INFO] [stderr] 17 | pub struct Enc { [INFO] [stderr] | --- `Enc` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/enc.rs:16:52 [INFO] [stderr] | [INFO] [stderr] 16 | #[derive(Debug, Copy, Clone, PartialEq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Enc` [INFO] [stderr] 17 | pub struct Enc { [INFO] [stderr] | --- `Enc` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/enc.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_KeyPair` [INFO] [stderr] 83 | pub struct KeyPair { [INFO] [stderr] | ------- `KeyPair` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/enc.rs:82:28 [INFO] [stderr] | [INFO] [stderr] 82 | #[derive(Debug, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_KeyPair` [INFO] [stderr] 83 | pub struct KeyPair { [INFO] [stderr] | ------- `KeyPair` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = 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] [stderr] = 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] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `gmorph` (lib) generated 31 warnings (run `cargo fix --lib -p gmorph` to apply 1 suggestion) [INFO] [stderr] warning: `gmorph` (lib test) generated 29 warnings (29 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gmorph-eec329644273608d) [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test algebra::m231::tests::prop_normalize ... ok [INFO] [stdout] test algebra::m231::tests::prop_normalize_product ... ok [INFO] [stdout] test algebra::m231::tests::test_sqrt ... ok [INFO] [stdout] test algebra::m231::tests::double_negate_is_identity ... ok [INFO] [stdout] test algebra::m231::tests::prop_normalize_u64 ... ok [INFO] [stdout] test algebra::q231::tests::prop_conjugate1 ... ok [INFO] [stdout] test algebra::q231::tests::prop_conjugate2 ... ok [INFO] [stdout] test algebra::q231::tests::prop_recip_right ... ok [INFO] [stdout] test enc::tests::identity ... ok [INFO] [stdout] test algebra::m231::tests::x_mul_invert_x ... ok [INFO] [stdout] test algebra::q231::tests::add_commutative ... ok [INFO] [stdout] test algebra::q231::tests::prop_recip_left ... ok [INFO] [stdout] test algebra::q231::tests::prop_into_matrix_and_back ... ok [INFO] [stdout] test enc::tests::idempotence ... ok [INFO] [stdout] test algebra::q231::tests::prop_noninvertible ... ok [INFO] [stdout] test algebra::tests::invert_matrix2 ... ok [INFO] [stdout] test algebra::q231::tests::multiply_matrices ... ok [INFO] [stdout] test algebra::tests::invert_matrix3 ... ok [INFO] [stdout] test enc::tests::prop_enc_add_homomorphic ... ok [INFO] [stdout] test enc::tests::prop_enc_mul_homomorphic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s [INFO] [stdout] [INFO] [stderr] Doc-tests gmorph [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.51s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7077f2ebd74f793678cba4197ffb9a91a3a1af788ab02ff4bf2f1d847ad5092b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7077f2ebd74f793678cba4197ffb9a91a3a1af788ab02ff4bf2f1d847ad5092b", kill_on_drop: false }` [INFO] [stdout] 7077f2ebd74f793678cba4197ffb9a91a3a1af788ab02ff4bf2f1d847ad5092b