[INFO] cloning repository https://github.com/ettolrach/maths-fun [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ettolrach/maths-fun" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fettolrach%2Fmaths-fun", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fettolrach%2Fmaths-fun'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ef4afd69a7f465cebead795c44be40fccdadcad [INFO] checking ettolrach/maths-fun against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fettolrach%2Fmaths-fun" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ettolrach/maths-fun on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ettolrach/maths-fun [INFO] finished tweaking git repo https://github.com/ettolrach/maths-fun [INFO] tweaked toml for git repo https://github.com/ettolrach/maths-fun written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ettolrach/maths-fun 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" "+9f48dedc9763334a587c66558974635807a113ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded edit-distance v2.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cab07243d66b9605240ba454938a7f80391c4a6c8e262bae99e457dd3043ee6 [INFO] running `Command { std: "docker" "start" "-a" "5cab07243d66b9605240ba454938a7f80391c4a6c8e262bae99e457dd3043ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cab07243d66b9605240ba454938a7f80391c4a6c8e262bae99e457dd3043ee6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cab07243d66b9605240ba454938a7f80391c4a6c8e262bae99e457dd3043ee6", kill_on_drop: false }` [INFO] [stdout] 5cab07243d66b9605240ba454938a7f80391c4a6c8e262bae99e457dd3043ee6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 43adbe084446288678329b60219787e83d71f09999d5d59e248d9a9733372b1d [INFO] running `Command { std: "docker" "start" "-a" "43adbe084446288678329b60219787e83d71f09999d5d59e248d9a9733372b1d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling edit-distance v2.1.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking alga v0.9.3 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling regex v1.10.5 [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] Checking maths_fun v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `gcd` is never used [INFO] [stdout] --> src/halg_skills_lab2.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn gcd(mut n: usize, mut m: usize) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `exp_with_mod` is never used [INFO] [stdout] --> src/halg_skills_lab2.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn exp_with_mod(x: usize, n: usize, p: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_order_of` is never used [INFO] [stdout] --> src/halg_skills_lab2.rs:87:4 [INFO] [stdout] | [INFO] [stdout] 87 | fn find_order_of(g: usize, p: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `euler_phi` is never used [INFO] [stdout] --> src/halg_skills_lab2.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn euler_phi(m: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generators_of_int_mod` is never used [INFO] [stdout] --> src/halg_skills_lab2.rs:102:4 [INFO] [stdout] | [INFO] [stdout] 102 | fn generators_of_int_mod(p: usize) -> Vec { [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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractField` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRingCommutative` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractField` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRingCommutative` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractRing` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- -------------- `Multiplicative` is not local [INFO] [stdout] | | [INFO] [stdout] | `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------- `Additive` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroupAbelian` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractGroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractMonoid` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractQuasigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractLoop` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `AbstractSemigroup` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stdout] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stdout] | -------------- `Multiplicative` is not local [INFO] [stdout] 20 | pub struct GF2 { [INFO] [stdout] | --- `GF2` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.61s [INFO] running `Command { std: "docker" "inspect" "43adbe084446288678329b60219787e83d71f09999d5d59e248d9a9733372b1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43adbe084446288678329b60219787e83d71f09999d5d59e248d9a9733372b1d", kill_on_drop: false }` [INFO] [stdout] 43adbe084446288678329b60219787e83d71f09999d5d59e248d9a9733372b1d