[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] testing ettolrach/maths-fun against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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] 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] validating manifest of git repo https://github.com/ettolrach/maths-fun on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded edit-distance v2.1.2 [INFO] [stderr] Downloaded approx v0.3.2 [INFO] [stderr] Downloaded alga v0.9.3 [INFO] [stderr] Downloaded quickcheck v0.9.2 [INFO] [stderr] Downloaded alga_derive v0.9.2 [INFO] [stderr] Downloaded regex v1.10.5 [INFO] [stderr] Downloaded libm v0.2.8 [INFO] [stderr] Downloaded regex-syntax v0.8.4 [INFO] [stderr] Downloaded regex-automata v0.4.7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 88079362ca2b6709fb68f5fc29efd5b10d07baca5853277364b4a0051ddadb13 [INFO] running `Command { std: "docker" "start" "-a" "88079362ca2b6709fb68f5fc29efd5b10d07baca5853277364b4a0051ddadb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "88079362ca2b6709fb68f5fc29efd5b10d07baca5853277364b4a0051ddadb13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88079362ca2b6709fb68f5fc29efd5b10d07baca5853277364b4a0051ddadb13", kill_on_drop: false }` [INFO] [stdout] 88079362ca2b6709fb68f5fc29efd5b10d07baca5853277364b4a0051ddadb13 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f83bebbaad2bd7d12394e13b9994036304eb5ea2543b569de70818dfe0f20599 [INFO] running `Command { std: "docker" "start" "-a" "f83bebbaad2bd7d12394e13b9994036304eb5ea2543b569de70818dfe0f20599", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling num-complex v0.2.4 [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 getrandom v0.1.16 [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] Compiling rand v0.7.3 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling 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] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.99s [INFO] running `Command { std: "docker" "inspect" "f83bebbaad2bd7d12394e13b9994036304eb5ea2543b569de70818dfe0f20599", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83bebbaad2bd7d12394e13b9994036304eb5ea2543b569de70818dfe0f20599", kill_on_drop: false }` [INFO] [stdout] f83bebbaad2bd7d12394e13b9994036304eb5ea2543b569de70818dfe0f20599 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 05b886ecaed74648a1db704cea1b3196fbd6f78037be3a33876c337227cf032a [INFO] running `Command { std: "docker" "start" "-a" "05b886ecaed74648a1db704cea1b3196fbd6f78037be3a33876c337227cf032a", kill_on_drop: false }` [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] [stderr] Compiling maths_fun v0.1.0 (/opt/rustwide/workdir) [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 `test` profile [unoptimized + debuginfo] target(s) in 0.85s [INFO] running `Command { std: "docker" "inspect" "05b886ecaed74648a1db704cea1b3196fbd6f78037be3a33876c337227cf032a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05b886ecaed74648a1db704cea1b3196fbd6f78037be3a33876c337227cf032a", kill_on_drop: false }` [INFO] [stdout] 05b886ecaed74648a1db704cea1b3196fbd6f78037be3a33876c337227cf032a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6b7a1d6c9ba894679105bf1ec05685e861ccf3f5679fe6a44c145580cd1671b8 [INFO] running `Command { std: "docker" "start" "-a" "6b7a1d6c9ba894679105bf1ec05685e861ccf3f5679fe6a44c145580cd1671b8", kill_on_drop: false }` [INFO] [stderr] warning: function `gcd` is never used [INFO] [stderr] --> src/halg_skills_lab2.rs:3:4 [INFO] [stderr] | [INFO] [stderr] 3 | fn gcd(mut n: usize, mut m: usize) -> usize { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `exp_with_mod` is never used [INFO] [stderr] --> src/halg_skills_lab2.rs:73:4 [INFO] [stderr] | [INFO] [stderr] 73 | fn exp_with_mod(x: usize, n: usize, p: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find_order_of` is never used [INFO] [stderr] --> src/halg_skills_lab2.rs:87:4 [INFO] [stderr] | [INFO] [stderr] 87 | fn find_order_of(g: usize, p: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `euler_phi` is never used [INFO] [stderr] --> src/halg_skills_lab2.rs:98:4 [INFO] [stderr] | [INFO] [stderr] 98 | fn euler_phi(m: usize) -> usize { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `generators_of_int_mod` is never used [INFO] [stderr] --> src/halg_skills_lab2.rs:102:4 [INFO] [stderr] | [INFO] [stderr] 102 | fn generators_of_int_mod(p: usize) -> Vec { [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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractField` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- -------------- `Multiplicative` is not local [INFO] [stderr] | | [INFO] [stderr] | `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractRingCommutative` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- -------------- `Multiplicative` is not local [INFO] [stderr] | | [INFO] [stderr] | `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractRing` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- -------------- `Multiplicative` is not local [INFO] [stderr] | | [INFO] [stderr] | `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractGroupAbelian` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractGroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractMonoid` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractQuasigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractLoop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractSemigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------- `Additive` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractGroupAbelian` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractGroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractMonoid` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractQuasigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractLoop` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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/gf2.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Alga, Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `AbstractSemigroup` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_ALGA_DERIVE_GF2` [INFO] [stderr] 19 | #[alga_traits(Field(Additive, Multiplicative))] [INFO] [stderr] | -------------- `Multiplicative` is not local [INFO] [stderr] 20 | pub struct GF2 { [INFO] [stderr] | --- `GF2` 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: `maths_fun` (lib) generated 20 warnings [INFO] [stderr] warning: `maths_fun` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/maths_fun-34be17ffd0d1f72c) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test gf2::tests::test ... ok [INFO] [stdout] test halg_skills_lab2::tests::exp_mod ... ok [INFO] [stdout] test halg_skills_lab2::tests::euler_phi_test ... ok [INFO] [stdout] test halg_skills_lab2::tests::order_of_fields ... ok [INFO] [stdout] test halg_skills_lab2::tests::sieve ... ok [INFO] [stdout] test halg_skills_lab2::tests::list_generator_claim ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/maths_fun-31ed7768631f8979) [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.40s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6b7a1d6c9ba894679105bf1ec05685e861ccf3f5679fe6a44c145580cd1671b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b7a1d6c9ba894679105bf1ec05685e861ccf3f5679fe6a44c145580cd1671b8", kill_on_drop: false }` [INFO] [stdout] 6b7a1d6c9ba894679105bf1ec05685e861ccf3f5679fe6a44c145580cd1671b8