[INFO] cloning repository https://github.com/adrienKoumgangT/moddecomp-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adrienKoumgangT/moddecomp-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadrienKoumgangT%2Fmoddecomp-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadrienKoumgangT%2Fmoddecomp-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 429eb0c621a7f87d476653e68652b67c53446a55 [INFO] checking adrienKoumgangT/moddecomp-rust against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FadrienKoumgangT%2Fmoddecomp-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/adrienKoumgangT/moddecomp-rust [INFO] finished tweaking git repo https://github.com/adrienKoumgangT/moddecomp-rust [INFO] tweaked toml for git repo https://github.com/adrienKoumgangT/moddecomp-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/adrienKoumgangT/moddecomp-rust on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/adrienKoumgangT/moddecomp-rust 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827de5ad62aae7f38f88bb27d7e2da4a71410713c3fa6066e06a855f3ca26e08 [INFO] running `Command { std: "docker" "start" "-a" "827de5ad62aae7f38f88bb27d7e2da4a71410713c3fa6066e06a855f3ca26e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827de5ad62aae7f38f88bb27d7e2da4a71410713c3fa6066e06a855f3ca26e08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827de5ad62aae7f38f88bb27d7e2da4a71410713c3fa6066e06a855f3ca26e08", kill_on_drop: false }` [INFO] [stdout] 827de5ad62aae7f38f88bb27d7e2da4a71410713c3fa6066e06a855f3ca26e08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4704d5b4f4250f79e7da59119fd1f72e1b3a2a8abdbe6ec7981e3e4ab0e891c [INFO] running `Command { std: "docker" "start" "-a" "e4704d5b4f4250f79e7da59119fd1f72e1b3a2a8abdbe6ec7981e3e4ab0e891c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.18 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking rand_core v0.9.0-alpha.2 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Checking rand v0.9.0-alpha.2 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking moddecomp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/moddecomp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/moddecomp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/moddecomp.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_to_str` [INFO] [stdout] --> src/moddecomp.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::two_structure::{graph_ex1, TwoStructure, node_to_str, node_to_str2}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/moddecomp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/moddecomp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/moddecomp.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_to_str` [INFO] [stdout] --> src/moddecomp.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::two_structure::{graph_ex1, TwoStructure, node_to_str, node_to_str2}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/moddecomp.rs:393:55 [INFO] [stdout] | [INFO] [stdout] 393 | fn build_distinction_graph(qg: &mut TwoStructure, w: u64) -> DGraph { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/moddecomp.rs:393:55 [INFO] [stdout] | [INFO] [stdout] 393 | fn build_distinction_graph(qg: &mut TwoStructure, w: u64) -> DGraph { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let mut g = graph_ex1(); [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: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:959:13 [INFO] [stdout] | [INFO] [stdout] 959 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let mut g = graph_ex1(); [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: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:959:13 [INFO] [stdout] | [INFO] [stdout] 959 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TAG` is never used [INFO] [stdout] --> src/moddecomp.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | enum TAG { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecompositionGraph` is never constructed [INFO] [stdout] --> src/moddecomp.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | struct DecompositionGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `print` are never used [INFO] [stdout] --> src/moddecomp.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 81 | impl DecompositionGraph { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(tag: TAG, value: u64, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repr_to_module` is never used [INFO] [stdout] --> src/moddecomp.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn repr_to_module(qg: &TwoStructure, r: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl DGraph { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 355 | fn node_to_module(&self, node: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | fn to_dot(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `component_to_str` is never used [INFO] [stdout] --> src/moddecomp.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | fn component_to_str(dg: &DGraph, comp: &HashSet) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modules` is never read [INFO] [stdout] --> src/moddecomp.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | struct ComponentGraph { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | modules: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl ComponentGraph { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 441 | fn node_to_module(&self, comp: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn to_dot(&mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_buckets` is never used [INFO] [stdout] --> src/moddecomp.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 559 | impl TreeNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 611 | fn node_buckets(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_prime_graphs` is never used [INFO] [stdout] --> src/moddecomp.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 619 | fn search_prime_graphs(tree: &TreeNode) -> Vec<&TwoStructure> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph` is never used [INFO] [stdout] --> src/moddecomp.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | fn reconstruct_prime_graph(dtree: &TreeNode, buckets: Option>>) -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph_dict` is never used [INFO] [stdout] --> src/moddecomp.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 771 | fn reconstruct_prime_graph_dict(dtree: &TreeNode, buckets: Option>>) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graph_ex3` is never used [INFO] [stdout] --> src/two_structure.rs:1105:15 [INFO] [stdout] | [INFO] [stdout] 1105 | pub(crate) fn graph_ex3() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `it_works` is never used [INFO] [stdout] --> src/two_structure.rs:887:8 [INFO] [stdout] | [INFO] [stdout] 887 | fn it_works() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test01` is never used [INFO] [stdout] --> src/two_structure.rs:893:8 [INFO] [stdout] | [INFO] [stdout] 893 | fn test01() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_graph_ex1` is never used [INFO] [stdout] --> src/two_structure.rs:909:8 [INFO] [stdout] | [INFO] [stdout] 909 | fn test_graph_ex1() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_digraph_ex1` is never used [INFO] [stdout] --> src/two_structure.rs:965:8 [INFO] [stdout] | [INFO] [stdout] 965 | fn test_digraph_ex1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_linear_ex` is never used [INFO] [stdout] --> src/two_structure.rs:1021:8 [INFO] [stdout] | [INFO] [stdout] 1021 | fn test_linear_ex() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g19_3__1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:647:8 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn g19_3__1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `g19_3_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn g20_3__linear1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear2` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 681 | pub fn g20_3__linear2() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TAG` is never used [INFO] [stdout] --> src/moddecomp.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | enum TAG { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecompositionGraph` is never constructed [INFO] [stdout] --> src/moddecomp.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | struct DecompositionGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `print` are never used [INFO] [stdout] --> src/moddecomp.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 81 | impl DecompositionGraph { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(tag: TAG, value: u64, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repr_to_module` is never used [INFO] [stdout] --> src/moddecomp.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn repr_to_module(qg: &TwoStructure, r: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl DGraph { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 355 | fn node_to_module(&self, node: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | fn to_dot(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `component_to_str` is never used [INFO] [stdout] --> src/moddecomp.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | fn component_to_str(dg: &DGraph, comp: &HashSet) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modules` is never read [INFO] [stdout] --> src/moddecomp.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | struct ComponentGraph { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | modules: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl ComponentGraph { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 441 | fn node_to_module(&self, comp: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn to_dot(&mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_buckets` is never used [INFO] [stdout] --> src/moddecomp.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 559 | impl TreeNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 611 | fn node_buckets(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_prime_graphs` is never used [INFO] [stdout] --> src/moddecomp.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 619 | fn search_prime_graphs(tree: &TreeNode) -> Vec<&TwoStructure> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph` is never used [INFO] [stdout] --> src/moddecomp.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | fn reconstruct_prime_graph(dtree: &TreeNode, buckets: Option>>) -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph_dict` is never used [INFO] [stdout] --> src/moddecomp.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 771 | fn reconstruct_prime_graph_dict(dtree: &TreeNode, buckets: Option>>) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graph_ex3` is never used [INFO] [stdout] --> src/two_structure.rs:1105:15 [INFO] [stdout] | [INFO] [stdout] 1105 | pub(crate) fn graph_ex3() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g19_3__1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:647:8 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn g19_3__1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `g19_3_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn g20_3__linear1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear2` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 681 | pub fn g20_3__linear2() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/moddecomp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/moddecomp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/moddecomp.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_to_str` [INFO] [stdout] --> src/moddecomp.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::two_structure::{graph_ex1, TwoStructure, node_to_str, node_to_str2}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> benches/my_benchmark.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `digraph_ex1` [INFO] [stdout] --> benches/my_benchmark.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use moddecomp::two_structure::{digraph_ex1, TwoStructure}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/moddecomp.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/moddecomp.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/moddecomp.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::{Read, Write}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `node_to_str` [INFO] [stdout] --> src/moddecomp.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::two_structure::{graph_ex1, TwoStructure, node_to_str, node_to_str2}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/moddecomp.rs:393:55 [INFO] [stdout] | [INFO] [stdout] 393 | fn build_distinction_graph(qg: &mut TwoStructure, w: u64) -> DGraph { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let mut g = graph_ex1(); [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: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:959:13 [INFO] [stdout] | [INFO] [stdout] 959 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | for (i, color_set) in ts.colors.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = File::create("files/edges.txt"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut ts = TwoStructure::from_dot(&dot_content); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graph_ex3` is never used [INFO] [stdout] --> src/two_structure.rs:1105:15 [INFO] [stdout] | [INFO] [stdout] 1105 | pub(crate) fn graph_ex3() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TAG` is never used [INFO] [stdout] --> src/moddecomp.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | enum TAG { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecompositionGraph` is never constructed [INFO] [stdout] --> src/moddecomp.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | struct DecompositionGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `print` are never used [INFO] [stdout] --> src/moddecomp.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 81 | impl DecompositionGraph { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(tag: TAG, value: u64, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repr_to_module` is never used [INFO] [stdout] --> src/moddecomp.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn repr_to_module(qg: &TwoStructure, r: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl DGraph { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 355 | fn node_to_module(&self, node: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | fn to_dot(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `component_to_str` is never used [INFO] [stdout] --> src/moddecomp.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | fn component_to_str(dg: &DGraph, comp: &HashSet) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modules` is never read [INFO] [stdout] --> src/moddecomp.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | struct ComponentGraph { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | modules: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl ComponentGraph { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 441 | fn node_to_module(&self, comp: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn to_dot(&mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_buckets` is never used [INFO] [stdout] --> src/moddecomp.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 559 | impl TreeNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 611 | fn node_buckets(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_prime_graphs` is never used [INFO] [stdout] --> src/moddecomp.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 619 | fn search_prime_graphs(tree: &TreeNode) -> Vec<&TwoStructure> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph` is never used [INFO] [stdout] --> src/moddecomp.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | fn reconstruct_prime_graph(dtree: &TreeNode, buckets: Option>>) -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph_dict` is never used [INFO] [stdout] --> src/moddecomp.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 771 | fn reconstruct_prime_graph_dict(dtree: &TreeNode, buckets: Option>>) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g19_3__1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:647:8 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn g19_3__1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `g19_3_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn g20_3__linear1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear2` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 681 | pub fn g20_3__linear2() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/moddecomp.rs:393:55 [INFO] [stdout] | [INFO] [stdout] 393 | fn build_distinction_graph(qg: &mut TwoStructure, w: u64) -> DGraph { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:909:13 [INFO] [stdout] | [INFO] [stdout] 909 | let mut g = graph_ex1(); [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: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:959:13 [INFO] [stdout] | [INFO] [stdout] 959 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/moddecomp.rs:1088:13 [INFO] [stdout] | [INFO] [stdout] 1088 | let mut file = File::create(filename); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | for (i, color_set) in ts.colors.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut file = File::create("files/edges.txt"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | let mut ts = TwoStructure::from_dot(&dot_content); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `graph_ex3` is never used [INFO] [stdout] --> src/two_structure.rs:1105:15 [INFO] [stdout] | [INFO] [stdout] 1105 | pub(crate) fn graph_ex3() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `it_works` is never used [INFO] [stdout] --> src/two_structure.rs:887:8 [INFO] [stdout] | [INFO] [stdout] 887 | fn it_works() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test01` is never used [INFO] [stdout] --> src/two_structure.rs:893:8 [INFO] [stdout] | [INFO] [stdout] 893 | fn test01() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_graph_ex1` is never used [INFO] [stdout] --> src/two_structure.rs:909:8 [INFO] [stdout] | [INFO] [stdout] 909 | fn test_graph_ex1() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_digraph_ex1` is never used [INFO] [stdout] --> src/two_structure.rs:965:8 [INFO] [stdout] | [INFO] [stdout] 965 | fn test_digraph_ex1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_linear_ex` is never used [INFO] [stdout] --> src/two_structure.rs:1021:8 [INFO] [stdout] | [INFO] [stdout] 1021 | fn test_linear_ex() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TAG` is never used [INFO] [stdout] --> src/moddecomp.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | enum TAG { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DecompositionGraph` is never constructed [INFO] [stdout] --> src/moddecomp.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | struct DecompositionGraph { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `print` are never used [INFO] [stdout] --> src/moddecomp.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 81 | impl DecompositionGraph { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 82 | pub fn new(tag: TAG, value: u64, name: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `repr_to_module` is never used [INFO] [stdout] --> src/moddecomp.rs:315:8 [INFO] [stdout] | [INFO] [stdout] 315 | fn repr_to_module(qg: &TwoStructure, r: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 327 | impl DGraph { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 355 | fn node_to_module(&self, node: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | fn to_dot(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `component_to_str` is never used [INFO] [stdout] --> src/moddecomp.rs:412:8 [INFO] [stdout] | [INFO] [stdout] 412 | fn component_to_str(dg: &DGraph, comp: &HashSet) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `modules` is never read [INFO] [stdout] --> src/moddecomp.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 428 | struct ComponentGraph { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 431 | modules: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComponentGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `node_to_module` and `to_dot` are never used [INFO] [stdout] --> src/moddecomp.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl ComponentGraph { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 441 | fn node_to_module(&self, comp: u64) -> &HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 494 | fn to_dot(&mut self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `node_buckets` is never used [INFO] [stdout] --> src/moddecomp.rs:611:12 [INFO] [stdout] | [INFO] [stdout] 559 | impl TreeNode { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 611 | fn node_buckets(&self) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `search_prime_graphs` is never used [INFO] [stdout] --> src/moddecomp.rs:619:8 [INFO] [stdout] | [INFO] [stdout] 619 | fn search_prime_graphs(tree: &TreeNode) -> Vec<&TwoStructure> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph` is never used [INFO] [stdout] --> src/moddecomp.rs:734:8 [INFO] [stdout] | [INFO] [stdout] 734 | fn reconstruct_prime_graph(dtree: &TreeNode, buckets: Option>>) -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reconstruct_prime_graph_dict` is never used [INFO] [stdout] --> src/moddecomp.rs:771:8 [INFO] [stdout] | [INFO] [stdout] 771 | fn reconstruct_prime_graph_dict(dtree: &TreeNode, buckets: Option>>) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g19_3__1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:647:8 [INFO] [stdout] | [INFO] [stdout] 647 | pub fn g19_3__1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `g19_3_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear1` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:671:8 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn g20_3__linear1() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `g20_3__linear2` should have a snake case name [INFO] [stdout] --> src/two_structure.rs:681:8 [INFO] [stdout] | [INFO] [stdout] 681 | pub fn g20_3__linear2() -> TwoStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `g20_3_linear2` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.58s [INFO] running `Command { std: "docker" "inspect" "e4704d5b4f4250f79e7da59119fd1f72e1b3a2a8abdbe6ec7981e3e4ab0e891c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4704d5b4f4250f79e7da59119fd1f72e1b3a2a8abdbe6ec7981e3e4ab0e891c", kill_on_drop: false }` [INFO] [stdout] e4704d5b4f4250f79e7da59119fd1f72e1b3a2a8abdbe6ec7981e3e4ab0e891c