[INFO] cloning repository https://github.com/conorpo/bagalstreatcrab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/conorpo/bagalstreatcrab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconorpo%2Fbagalstreatcrab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconorpo%2Fbagalstreatcrab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 859ccd97018b468b529f22c8cb9890e8f52ade8c [INFO] building conorpo/bagalstreatcrab against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fconorpo%2Fbagalstreatcrab" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/conorpo/bagalstreatcrab on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/conorpo/bagalstreatcrab [INFO] finished tweaking git repo https://github.com/conorpo/bagalstreatcrab [INFO] tweaked toml for git repo https://github.com/conorpo/bagalstreatcrab written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/conorpo/bagalstreatcrab 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fbe9e4b8cfaebd4b0b4ce5c5c8d577130bd8c5af5665241526c85f67eb7ac6f7 [INFO] running `Command { std: "docker" "start" "-a" "fbe9e4b8cfaebd4b0b4ce5c5c8d577130bd8c5af5665241526c85f67eb7ac6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fbe9e4b8cfaebd4b0b4ce5c5c8d577130bd8c5af5665241526c85f67eb7ac6f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbe9e4b8cfaebd4b0b4ce5c5c8d577130bd8c5af5665241526c85f67eb7ac6f7", kill_on_drop: false }` [INFO] [stdout] fbe9e4b8cfaebd4b0b4ce5c5c8d577130bd8c5af5665241526c85f67eb7ac6f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaa1be59778977d395c3f18d3fb406d0ecae492ffbd653c6ced4804bd3a6ba6e [INFO] running `Command { std: "docker" "start" "-a" "aaa1be59778977d395c3f18d3fb406d0ecae492ffbd653c6ced4804bd3a6ba6e", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bagalstreatcrab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/set.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_set::*` [INFO] [stdout] --> src/set.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use hash_set::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::usize` [INFO] [stdout] --> src/set.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `util::*` [INFO] [stdout] --> src/algebraic_objects.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ops::*, set::{self, *, Cardinality}, util::*}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `array` [INFO] [stdout] --> src/mod_ints.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, ops::{Add, Div, Mul}}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::ConstParamTy` [INFO] [stdout] --> src/mod_ints.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::ConstParamTy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/permutations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/permutations.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/set.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 134 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 135 | Cardinality::Infinite [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/algebraic_objects.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 180 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 181 | self.is_subset_of(other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 148 | U32CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 155 | U64CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 162 | U128CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/algebraic_objects.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let set = self.get_set(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_set` [INFO] [stdout] --> src/algebraic_objects.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let other_set = other.get_set(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/algebraic_objects.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_divisibility(&self, a: T, b: T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/algebraic_objects.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_divisibility(&self, a: T, b: T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/algebraic_objects.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | fn is_subquasigroup_of(&self, other: &dyn QuasigroupT) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(n: u32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn new(n: u64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new(n: u128) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/permutations.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn try_new(mut perm: Vec) -> Result, ()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `set::Iter` is more private than the item `set::SetT::iter` [INFO] [stdout] --> src/set.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method `set::SetT::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `set::Iter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/set.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `p` should have an upper case name [INFO] [stdout] --> src/util.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Assert; [INFO] [stdout] | ^ help: convert the identifier to upper case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bagalstreatcrab::ops::*` [INFO] [stdout] --> src/bin/gaplike.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bagalstreatcrab::ops::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bagalstreatcrab::set` [INFO] [stdout] --> src/bin/gaplike.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bagalstreatcrab::set::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.12s [INFO] running `Command { std: "docker" "inspect" "aaa1be59778977d395c3f18d3fb406d0ecae492ffbd653c6ced4804bd3a6ba6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaa1be59778977d395c3f18d3fb406d0ecae492ffbd653c6ced4804bd3a6ba6e", kill_on_drop: false }` [INFO] [stdout] aaa1be59778977d395c3f18d3fb406d0ecae492ffbd653c6ced4804bd3a6ba6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6eca7c973aa9b59e4becb75e719126e3ef2f02d9215bde9dc1adc53df8c688f9 [INFO] running `Command { std: "docker" "start" "-a" "6eca7c973aa9b59e4becb75e719126e3ef2f02d9215bde9dc1adc53df8c688f9", kill_on_drop: false }` [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/set.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_set::*` [INFO] [stdout] --> src/set.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use hash_set::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::usize` [INFO] [stdout] --> src/set.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `self` and `util::*` [INFO] [stdout] --> src/algebraic_objects.rs:1:27 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ops::*, set::{self, *, Cardinality}, util::*}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `array` [INFO] [stdout] --> src/mod_ints.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, ops::{Add, Div, Mul}}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::ConstParamTy` [INFO] [stdout] --> src/mod_ints.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::ConstParamTy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/permutations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/permutations.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/set.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 134 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 135 | Cardinality::Infinite [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/algebraic_objects.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 180 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 181 | self.is_subset_of(other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 148 | U32CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 155 | U64CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 162 | U128CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/algebraic_objects.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let set = self.get_set(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_set` [INFO] [stdout] --> src/algebraic_objects.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let other_set = other.get_set(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/algebraic_objects.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_divisibility(&self, a: T, b: T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/algebraic_objects.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_divisibility(&self, a: T, b: T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/algebraic_objects.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | fn is_subquasigroup_of(&self, other: &dyn QuasigroupT) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(n: u32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn new(n: u64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new(n: u128) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/permutations.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn try_new(mut perm: Vec) -> Result, ()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bagalstreatcrab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `set::Iter` is more private than the item `set::SetT::iter` [INFO] [stdout] --> src/set.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method `set::SetT::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `set::Iter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/set.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `p` should have an upper case name [INFO] [stdout] --> src/util.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Assert; [INFO] [stdout] | ^ help: convert the identifier to upper case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bagalstreatcrab::ops::*` [INFO] [stdout] --> src/bin/gaplike.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use bagalstreatcrab::ops::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bagalstreatcrab::set` [INFO] [stdout] --> src/bin/gaplike.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use bagalstreatcrab::set::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `generic_const_exprs` is incomplete and may not be safe to use and/or cause compiler crashes [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(generic_const_exprs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #76560 for more information [INFO] [stdout] = note: `#[warn(incomplete_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/set.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash_set::*` [INFO] [stdout] --> src/set.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | pub use hash_set::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::usize` [INFO] [stdout] --> src/set.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | use std::usize; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `util::*` [INFO] [stdout] --> src/algebraic_objects.rs:1:50 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{ops::*, set::{self, *, Cardinality}, util::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::group::*` [INFO] [stdout] --> src/algebraic_objects.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | use super::group::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::monoid::*` [INFO] [stdout] --> src/algebraic_objects.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | use super::monoid::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ops::*` [INFO] [stdout] --> src/algebraic_objects.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | use crate::ops::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ops::*` [INFO] [stdout] --> src/algebraic_objects.rs:336:13 [INFO] [stdout] | [INFO] [stdout] 336 | use crate::ops::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/algebraic_objects.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/algebraic_objects.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 338 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Div` and `array` [INFO] [stdout] --> src/mod_ints.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{array, ops::{Add, Div, Mul}}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::ConstParamTy` [INFO] [stdout] --> src/mod_ints.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::marker::ConstParamTy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/permutations.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/permutations.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/set.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 134 | todo!(); [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 135 | Cardinality::Infinite [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/algebraic_objects.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 180 | unimplemented!(); [INFO] [stdout] | ---------------- any code following this expression is unreachable [INFO] [stdout] 181 | self.is_subset_of(other) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 147 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 148 | U32CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 155 | U64CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/mod_ints.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 161 | todo!("Check if n is coprime to M"); [INFO] [stdout] | ----------------------------------- any code following this expression is unreachable [INFO] [stdout] 162 | U128CoprimeMod(n) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `set` [INFO] [stdout] --> src/algebraic_objects.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let set = self.get_set(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_set` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other_set` [INFO] [stdout] --> src/algebraic_objects.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let other_set = other.get_set(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_other_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:54:32 [INFO] [stdout] | [INFO] [stdout] 54 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:163:32 [INFO] [stdout] | [INFO] [stdout] 163 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/algebraic_objects.rs:171:37 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_divisibility(&self, a: T, b: T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/algebraic_objects.rs:171:43 [INFO] [stdout] | [INFO] [stdout] 171 | fn test_divisibility(&self, a: T, b: T) -> bool { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/algebraic_objects.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | fn is_subquasigroup_of(&self, other: &dyn QuasigroupT) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:223:32 [INFO] [stdout] | [INFO] [stdout] 223 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `generators` [INFO] [stdout] --> src/algebraic_objects.rs:280:32 [INFO] [stdout] | [INFO] [stdout] 280 | fn new_from_generators(generators: Rc>) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_generators` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `H` [INFO] [stdout] --> src/algebraic_objects.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | let H = Group::::new_unchecked(Rc::new(SmallSet::new(vec![0,128]))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_H` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn new(n: u32) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn new(n: u64) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/mod_ints.rs:160:16 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn new(n: u128) -> Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/permutations.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn try_new(mut perm: Vec) -> Result, ()> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `set::Iter` is more private than the item `set::SetT::iter` [INFO] [stdout] --> src/set.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ method `set::SetT::iter` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `set::Iter` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/set.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | struct Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/algebraic_objects.rs:350:17 [INFO] [stdout] | [INFO] [stdout] 350 | let G = Group::::new_unchecked(Rc::new(UniversalSet::new(Cardinality::Finite(256)))); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/algebraic_objects.rs:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | let H = Group::::new_unchecked(Rc::new(SmallSet::new(vec![0,128]))); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: const parameter `p` should have an upper case name [INFO] [stdout] --> src/util.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Assert; [INFO] [stdout] | ^ help: convert the identifier to upper case: `P` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "6eca7c973aa9b59e4becb75e719126e3ef2f02d9215bde9dc1adc53df8c688f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6eca7c973aa9b59e4becb75e719126e3ef2f02d9215bde9dc1adc53df8c688f9", kill_on_drop: false }` [INFO] [stdout] 6eca7c973aa9b59e4becb75e719126e3ef2f02d9215bde9dc1adc53df8c688f9