[INFO] cloning repository https://github.com/sitegui/mhorloge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sitegui/mhorloge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitegui%2Fmhorloge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitegui%2Fmhorloge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ccad93cb673ddbfe19ff09dcee4069dcdeeca65 [INFO] checking sitegui/mhorloge against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsitegui%2Fmhorloge" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sitegui/mhorloge on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sitegui/mhorloge [INFO] finished tweaking git repo https://github.com/sitegui/mhorloge [INFO] tweaked toml for git repo https://github.com/sitegui/mhorloge written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/sitegui/mhorloge already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 080f871841fbd2eb41a786183a2fa6236af0fcc6e0f5079f4e67ec08ef193532 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "080f871841fbd2eb41a786183a2fa6236af0fcc6e0f5079f4e67ec08ef193532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "080f871841fbd2eb41a786183a2fa6236af0fcc6e0f5079f4e67ec08ef193532", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "080f871841fbd2eb41a786183a2fa6236af0fcc6e0f5079f4e67ec08ef193532", kill_on_drop: false }` [INFO] [stdout] 080f871841fbd2eb41a786183a2fa6236af0fcc6e0f5079f4e67ec08ef193532 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 810c7a2b53d2bc485ee0d24cb8649328506312a8ca2273e6b623a736d76f5c00 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "810c7a2b53d2bc485ee0d24cb8649328506312a8ca2273e6b623a736d76f5c00", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ordered-float v2.7.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking mhorloge v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/clusterize.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn clusterize(cmd: Clusterize) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/clusterize.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn clusterize(cmd: Clusterize) -> Result<(), Error> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_common_letter` [INFO] [stdout] --> src/clusterize/cluster.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn a_common_letter(&self, other: &Cluster, rng: &mut SmallRng) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_position` [INFO] [stdout] --> src/clusterize/cluster.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn a_position(&self, letter: char, rng: &mut SmallRng) -> Position { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `used_letters` [INFO] [stdout] --> src/clusterize/cluster.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn used_letters(&self) -> RefMut> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClusterGraph` [INFO] [stdout] --> src/clusterize/cluster_graph.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ClusterGraph {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Grasp` [INFO] [stdout] --> src/optimizer/grasp.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Grasp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/optimizer/grasp.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(values: VecDeque, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/optimizer/grasp.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn pop(&mut self, rng: &mut SmallRng) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/optimizer/population.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(rng: SmallRng, initial_values: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve_step` [INFO] [stdout] --> src/optimizer/population.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn evolve_step(&mut self, max_actions: usize, max_values: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best` [INFO] [stdout] --> src/optimizer/population.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn best(&self) -> &V { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_best` [INFO] [stdout] --> src/optimizer/population.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn into_best(mut self) -> V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve_era` [INFO] [stdout] --> src/optimizer/population.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn evolve_era(&mut self, patience: usize, max_actions: usize, max_values: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `values` [INFO] [stdout] --> src/optimizer/population.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn values(&self) -> &[V] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `values_mut` [INFO] [stdout] --> src/optimizer/population.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn values_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_best` [INFO] [stdout] --> src/optimizer/population.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn update_best(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Horizontal` [INFO] [stdout] --> src/clusterize/cluster.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Diagonal` [INFO] [stdout] --> src/clusterize/cluster.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Diagonal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Vertical` [INFO] [stdout] --> src/clusterize/cluster.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Vertical, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/clusterize/cluster.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_common_letter` [INFO] [stdout] --> src/clusterize/cluster.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn a_common_letter(&self, other: &Cluster, rng: &mut SmallRng) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `a_position` [INFO] [stdout] --> src/clusterize/cluster.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn a_position(&self, letter: char, rng: &mut SmallRng) -> Position { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all_superposed` [INFO] [stdout] --> src/clusterize/cluster.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn all_superposed( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_rotate_once` [INFO] [stdout] --> src/clusterize/cluster.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn can_rotate_once(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_rotate_twice` [INFO] [stdout] --> src/clusterize/cluster.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn can_rotate_twice(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tokens` [INFO] [stdout] --> src/clusterize/cluster.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn tokens(&self) -> &[TokenInCluster] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `constraints` [INFO] [stdout] --> src/clusterize/cluster.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn constraints(&self) -> &'a Constraints { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_superposed` [INFO] [stdout] --> src/clusterize/cluster.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn push_superposed( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `used_letters` [INFO] [stdout] --> src/clusterize/cluster.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | fn used_letters(&self) -> RefMut> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `unit` [INFO] [stdout] --> src/clusterize/cluster.rs:270:12 [INFO] [stdout] | [INFO] [stdout] 270 | pub fn unit(self) -> Position { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClusterGraph` [INFO] [stdout] --> src/clusterize/cluster_graph.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct ClusterGraph {} [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AThenB` [INFO] [stdout] --> src/clusterize/constraints.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | AThenB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BThenA` [INFO] [stdout] --> src/clusterize/constraints.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | BThenA, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/clusterize/constraints.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new(tokenize: &TokenizeOut) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/clusterize/constraints.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn get_mut(&mut self, a: TokenId, b: TokenId) -> &mut Constraint { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Once` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Once, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Twice` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Twice, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn new(cluster: &'a Cluster<'a>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotated` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn rotated(self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tokens` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn tokens(self) -> impl Iterator + Clone + ExactSizeIterator + 'a { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_rotate_once` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn can_rotate_once(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_rotate_twice` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn can_rotate_twice(self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `transform` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn transform(self, position: Position) -> Position { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn is_valid(self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_direction` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | fn new_direction(self, direction: Direction) -> Direction { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_position` [INFO] [stdout] --> src/clusterize/rotated_cluster.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | fn new_position(self, position: Position) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `respects` [INFO] [stdout] --> src/clusterize/token_in_cluster.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn respects(self, other: TokenInCluster, constraint: Constraint) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `letters` [INFO] [stdout] --> src/clusterize/token_in_cluster.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn letters<'a>(self, texts: &'a Texts) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `can_coexist` [INFO] [stdout] --> src/clusterize/token_in_cluster.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn can_coexist(self, other: TokenInCluster) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_before` [INFO] [stdout] --> src/clusterize/token_in_cluster.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn is_before(self, other: TokenInCluster) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `letter_position` [INFO] [stdout] --> src/clusterize/token_in_cluster.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn letter_position(self, index: usize) -> Position { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Grasp` [INFO] [stdout] --> src/optimizer/grasp.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Grasp { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/optimizer/grasp.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(values: VecDeque, size: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/optimizer/grasp.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn pop(&mut self, rng: &mut SmallRng) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/optimizer/population.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn new(rng: SmallRng, initial_values: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve_step` [INFO] [stdout] --> src/optimizer/population.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn evolve_step(&mut self, max_actions: usize, max_values: usize) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `best` [INFO] [stdout] --> src/optimizer/population.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn best(&self) -> &V { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_best` [INFO] [stdout] --> src/optimizer/population.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn into_best(mut self) -> V { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evolve_era` [INFO] [stdout] --> src/optimizer/population.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn evolve_era(&mut self, patience: usize, max_actions: usize, max_values: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `values` [INFO] [stdout] --> src/optimizer/population.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn values(&self) -> &[V] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `values_mut` [INFO] [stdout] --> src/optimizer/population.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn values_mut(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update_best` [INFO] [stdout] --> src/optimizer/population.rs:126:8 [INFO] [stdout] | [INFO] [stdout] 126 | fn update_best(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.11s [INFO] running `Command { std: "docker" "inspect" "810c7a2b53d2bc485ee0d24cb8649328506312a8ca2273e6b623a736d76f5c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810c7a2b53d2bc485ee0d24cb8649328506312a8ca2273e6b623a736d76f5c00", kill_on_drop: false }` [INFO] [stdout] 810c7a2b53d2bc485ee0d24cb8649328506312a8ca2273e6b623a736d76f5c00