[INFO] cloning repository https://github.com/binh-vu/semantic-modeling [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binh-vu/semantic-modeling" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinh-vu%2Fsemantic-modeling", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinh-vu%2Fsemantic-modeling'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b387584502ba1daa6abd6b7573828416f6426b49 [INFO] testing binh-vu/semantic-modeling against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinh-vu%2Fsemantic-modeling" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 50% (524/1030) Updating files: 51% (526/1030) Updating files: 52% (536/1030) Updating files: 53% (546/1030) Updating files: 54% (557/1030) Updating files: 55% (567/1030) Updating files: 56% (577/1030) Updating files: 57% (588/1030) Updating files: 58% (598/1030) Updating files: 59% (608/1030) Updating files: 60% (618/1030) Updating files: 61% (629/1030) Updating files: 62% (639/1030) Updating files: 63% (649/1030) Updating files: 64% (660/1030) Updating files: 65% (670/1030) Updating files: 66% (680/1030) Updating files: 67% (691/1030) Updating files: 68% (701/1030) Updating files: 69% (711/1030) Updating files: 70% (721/1030) Updating files: 71% (732/1030) Updating files: 72% (742/1030) Updating files: 73% (752/1030) Updating files: 74% (763/1030) Updating files: 75% (773/1030) Updating files: 76% (783/1030) Updating files: 77% (794/1030) Updating files: 78% (804/1030) Updating files: 79% (814/1030) Updating files: 80% (824/1030) Updating files: 81% (835/1030) Updating files: 82% (845/1030) Updating files: 83% (855/1030) Updating files: 84% (866/1030) Updating files: 85% (876/1030) Updating files: 86% (886/1030) Updating files: 87% (897/1030) Updating files: 88% (907/1030) Updating files: 89% (917/1030) Updating files: 90% (927/1030) Updating files: 91% (938/1030) Updating files: 92% (948/1030) Updating files: 93% (958/1030) Updating files: 94% (969/1030) Updating files: 95% (979/1030) Updating files: 96% (989/1030) Updating files: 97% (1000/1030) Updating files: 98% (1010/1030) Updating files: 99% (1020/1030) Updating files: 100% (1030/1030) Updating files: 100% (1030/1030), done. [INFO] validating manifest of git repo https://github.com/binh-vu/semantic-modeling on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binh-vu/semantic-modeling [INFO] finished tweaking git repo https://github.com/binh-vu/semantic-modeling [INFO] tweaked toml for git repo https://github.com/binh-vu/semantic-modeling written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/binh-vu/semantic-modeling already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c27da92a54f88e5b938086df03b6dbb7a5d96c74f82863ae03c563c96616d13f [INFO] running `Command { std: "docker" "start" "-a" "c27da92a54f88e5b938086df03b6dbb7a5d96c74f82863ae03c563c96616d13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c27da92a54f88e5b938086df03b6dbb7a5d96c74f82863ae03c563c96616d13f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c27da92a54f88e5b938086df03b6dbb7a5d96c74f82863ae03c563c96616d13f", kill_on_drop: false }` [INFO] [stdout] c27da92a54f88e5b938086df03b6dbb7a5d96c74f82863ae03c563c96616d13f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff1daa0c84f40e6c7669481657c2789e68823101251412b6b28051b3ca32245 [INFO] running `Command { std: "docker" "start" "-a" "cff1daa0c84f40e6c7669481657c2789e68823101251412b6b28051b3ca32245", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.4 [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling matrixmultiply v0.1.14 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling ndarray v0.11.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling itoa v0.4.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling toml v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling encode_unicode v0.3.1 [INFO] [stderr] Compiling gmtk v0.1.0 (/opt/rustwide/workdir/gmtk) [INFO] [stderr] Compiling rustc-demangle v0.1.9 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling itertools v0.7.8 [INFO] [stderr] Compiling rand v0.5.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling uuid v0.6.5 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling csv v0.15.0 [INFO] [stderr] Compiling clap v2.31.2 [INFO] [stderr] Compiling im v11.0.0 [INFO] [stderr] Compiling metadeps v1.1.2 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling simple_logger v0.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling prettytable-rs v0.7.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Compiling zmq-sys v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling zmq v0.8.2 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling rulinalg v0.3.7 [INFO] [stderr] Compiling backtrace v0.3.9 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling serde_json v1.0.20 [INFO] [stderr] Compiling bincode v1.0.0 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling csv v1.0.0 [INFO] [stderr] Compiling rusty-machine v0.5.4 [INFO] [stderr] Compiling env_logger v0.5.10 [INFO] [stderr] Compiling algorithm v0.1.0 (/opt/rustwide/workdir/algorithm) [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> algorithm/src/data_structure/graph/graph.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> algorithm/src/data_structure/graph/graph.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> algorithm/src/data_structure/graph/graph_util.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::id` [INFO] [stdout] --> algorithm/src/data_structure/unique_array.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::process::id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hasher` [INFO] [stdout] --> algorithm/src/data_structure/graph/graph.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::hash::Hasher; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> algorithm/src/random/random_choice.rs:174:21 [INFO] [stdout] | [INFO] [stdout] 174 | (0..n).map(|i| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> algorithm/src/data_structure/graph/index/edge_index.rs:9:42 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn new(g: &Graph) -> EdgeIndex { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_id` [INFO] [stdout] --> algorithm/src/data_structure/graph/index/edge_index.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_edge_between(&self, source_id: usize, target_id: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_id` [INFO] [stdout] --> algorithm/src/data_structure/graph/index/edge_index.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_edge_between(&self, source_id: usize, target_id: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> algorithm/src/data_structure/graph/index/children_index.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut value = g.iter_nodes() [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] --> algorithm/src/data_structure/graph/index/outgoing_edge_index.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut index = g.iter_nodes() [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] --> algorithm/src/random/cdf.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let mut value_index = (0..weights.len()).collect::>(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw_sample` [INFO] [stdout] --> algorithm/src/random/cdf.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn draw_sample(&self, prob: &f64) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> algorithm/src/data_structure/graph/index/edge_index.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | value: Array2>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rdb2rdf v0.1.0 (/opt/rustwide/workdir/rdb2rdf) [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> gmtk/src/eval.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | (a / b) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 20 - (a / b) [INFO] [stdout] 20 + a / b [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> gmtk/src/graph_models/factors/dot_tensor1_factor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> gmtk/src/graph_models/factors/dot_tensor1_factor.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/factors/group_factor.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | factors: Vec + 'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - factors: Vec + 'a>>, [INFO] [stdout] 19 + factors: Vec + 'a>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/brute_force.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | factors: &'a2 [Box + 'a>], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - factors: &'a2 [Box + 'a>], [INFO] [stdout] 12 + factors: &'a2 [Box + 'a>], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/belief_propagation/bp.rs:16:38 [INFO] [stdout] | [INFO] [stdout] 16 | pub(super) ex_factors: &'a2 [Box + 'a>], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub(super) ex_factors: &'a2 [Box + 'a>], [INFO] [stdout] 16 + pub(super) ex_factors: &'a2 [Box + 'a>], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:12:24 [INFO] [stdout] | [INFO] [stdout] 12 | factors: &'a1 [Box + 'a>], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - factors: &'a1 [Box + 'a>], [INFO] [stdout] 12 + factors: &'a1 [Box + 'a>], [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | inference: Box + 'a1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - inference: Box + 'a1> [INFO] [stdout] 13 + inference: Box + 'a1> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | inference: Box + 'a1> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 - inference: Box + 'a1> [INFO] [stdout] 52 + inference: Box + 'a1> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/models.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | pub templates: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - pub templates: Vec>>, [INFO] [stdout] 11 + pub templates: Vec>>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/traits.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_domain(&self) -> &Domain; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - fn get_domain(&self) -> &Domain; [INFO] [stdout] 21 + fn get_domain(&self) -> &dyn Domain; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/traits.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | fn as_any(&self) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 - fn as_any(&self) -> &Any; [INFO] [stdout] 31 + fn as_any(&self) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/traits.rs:42:94 [INFO] [stdout] | [INFO] [stdout] 42 | fn compute_gradients(&self, target_assignment: &FnvHashMap, inference: &Inference<'a, V, T>) -> Vec<(i64, DenseTenso... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 - fn compute_gradients(&self, target_assignment: &FnvHashMap, inference: &Inference<'a, V, T>) -> Vec<(i64, DenseTensor)>; [INFO] [stdout] 42 + fn compute_gradients(&self, target_assignment: &FnvHashMap, inference: &dyn Inference<'a, V, T>) -> Vec<(i64, DenseTensor)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/traits.rs:46:40 [INFO] [stdout] | [INFO] [stdout] 46 | fn debug(&self, _debug_container: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn debug(&self, _debug_container: &DebugContainer) { [INFO] [stdout] 46 + fn debug(&self, _debug_container: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/traits.rs:53:67 [INFO] [stdout] | [INFO] [stdout] 53 | fn unroll<'a: 'a1, 'a1>(&'a self, example: &'a1 E) -> Vec + 'a1>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn unroll<'a: 'a1, 'a1>(&'a self, example: &'a1 E) -> Vec + 'a1>>; [INFO] [stdout] 53 + fn unroll<'a: 'a1, 'a1>(&'a self, example: &'a1 E) -> Vec + 'a1>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/models.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn new(templates: Vec>>) -> LogLinearModel { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub fn new(templates: Vec>>) -> LogLinearModel { [INFO] [stdout] 15 + pub fn new(templates: Vec>>) -> LogLinearModel { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/models.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn add_template(&mut self, template: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - pub fn add_template(&mut self, template: Box>) { [INFO] [stdout] 19 + pub fn add_template(&mut self, template: Box>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/models.rs:23:76 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn get_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 E) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - pub fn get_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 E) -> Vec + 'a1>> { [INFO] [stdout] 23 + pub fn get_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 E) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/mod.rs:34:40 [INFO] [stdout] | [INFO] [stdout] 34 | fn log_prob_factor(&self, factor: &Factor<'a, V, T>) -> DenseTensor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn log_prob_factor(&self, factor: &Factor<'a, V, T>) -> DenseTensor; [INFO] [stdout] 34 + fn log_prob_factor(&self, factor: &dyn Factor<'a, V, T>) -> DenseTensor; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(variables: &'a [V], factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> NLLExample<'... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn new(variables: &'a [V], factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> NLLExample<'a, 'a1, V, T> { [INFO] [stdout] 17 + pub fn new(variables: &'a [V], factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> NLLExample<'a, 'a1, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:17:95 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(variables: &'a [V], factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> NLLExample<'... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn new(variables: &'a [V], factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> NLLExample<'a, 'a1, V, T> { [INFO] [stdout] 17 + pub fn new(variables: &'a [V], factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> NLLExample<'a, 'a1, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:36:109 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn accumulate_value_and_gradient(&mut self, loss_value: &mut ValueAccumulator, gradient_accum: &mut Tensor1Accumulator) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - pub fn accumulate_value_and_gradient(&mut self, loss_value: &mut ValueAccumulator, gradient_accum: &mut Tensor1Accumulator) { [INFO] [stdout] 36 + pub fn accumulate_value_and_gradient(&mut self, loss_value: &mut ValueAccumulator, gradient_accum: &mut dyn Tensor1Accumulator) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:56:56 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(variables: &'a [V], _factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> MAPExample<... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - pub fn new(variables: &'a [V], _factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> MAPExample<'a, 'a1, V, T> { [INFO] [stdout] 56 + pub fn new(variables: &'a [V], _factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> MAPExample<'a, 'a1, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/optimization/example.rs:56:96 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new(variables: &'a [V], _factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> MAPExample<... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 56 - pub fn new(variables: &'a [V], _factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> MAPExample<'a, 'a1, V, T> { [INFO] [stdout] 56 + pub fn new(variables: &'a [V], _factors: &'a1 [Box + 'a>], inference: Box + 'a1>) -> MAPExample<'a, 'a1, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/variables/binary_vector_variable.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_domain(&self) -> &Domain { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - fn get_domain(&self) -> &Domain { [INFO] [stdout] 32 + fn get_domain(&self) -> &dyn Domain { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/variables/boolean_vector_variable.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_domain(&self) -> &Domain> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn get_domain(&self) -> &Domain> { [INFO] [stdout] 34 + fn get_domain(&self) -> &dyn Domain> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/variables/int_variable.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_domain(&self) -> &Domain::Value> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn get_domain(&self) -> &Domain::Value> { [INFO] [stdout] 29 + fn get_domain(&self) -> &dyn Domain::Value> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/factors/dot_tensor1_factor.rs:38:99 [INFO] [stdout] | [INFO] [stdout] 38 | fn impl_compute_gradients(&self, target_assignment: &FnvHashMap, inference: &Inference<'a, V, T>) -> Vec<(i64, Dense... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn impl_compute_gradients(&self, target_assignment: &FnvHashMap, inference: &Inference<'a, V, T>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] 38 + fn impl_compute_gradients(&self, target_assignment: &FnvHashMap, inference: &dyn Inference<'a, V, T>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/factors/group_factor.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | fn debug(&self, _debug_container: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn debug(&self, _debug_container: &DebugContainer) { [INFO] [stdout] 13 + fn debug(&self, _debug_container: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/factors/group_factor.rs:27:56 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(variables: Vec<&'a V>, factors: Vec + 'a>>) -> GroupTensorFactor<'a, V, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub fn new(variables: Vec<&'a V>, factors: Vec + 'a>>) -> GroupTensorFactor<'a, V, T> { [INFO] [stdout] 27 + pub fn new(variables: Vec<&'a V>, factors: Vec + 'a>>) -> GroupTensorFactor<'a, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/factors/group_factor.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | fn debug(&self, debug_container: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn debug(&self, debug_container: &DebugContainer) { [INFO] [stdout] 45 + fn debug(&self, debug_container: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/factors/group_factor.rs:67:94 [INFO] [stdout] | [INFO] [stdout] 67 | fn compute_gradients(&self, target_assignment: &FnvHashMap, inference: &Inference<'a, V, T>) -> Vec<(i64, DenseTenso... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - fn compute_gradients(&self, target_assignment: &FnvHashMap, inference: &Inference<'a, V, T>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] 67 + fn compute_gradients(&self, target_assignment: &FnvHashMap, inference: &dyn Inference<'a, V, T>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/brute_force.rs:17:55 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(variables: &'a [V], factors: &'a2 [Box + 'a>]) -> BruteForce<'a, 'a2, V, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn new(variables: &'a [V], factors: &'a2 [Box + 'a>]) -> BruteForce<'a, 'a2, V, T> { [INFO] [stdout] 17 + pub fn new(variables: &'a [V], factors: &'a2 [Box + 'a>]) -> BruteForce<'a, 'a2, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/brute_force.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | fn log_prob_factor(&self, factor: &Factor<'a, V, T>) -> DenseTensor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 - fn log_prob_factor(&self, factor: &Factor<'a, V, T>) -> DenseTensor { [INFO] [stdout] 115 + fn log_prob_factor(&self, factor: &dyn Factor<'a, V, T>) -> DenseTensor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/belief_propagation/bp.rs:32:78 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn new(infer_prob: InferProb, variables: &'a [V], factors: &'a2 [Box + 'a>], seed: u8) -> BeliefPropagation<'a, ... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - pub fn new(infer_prob: InferProb, variables: &'a [V], factors: &'a2 [Box + 'a>], seed: u8) -> BeliefPropagation<'a, 'a2, V, T> { [INFO] [stdout] 32 + pub fn new(infer_prob: InferProb, variables: &'a [V], factors: &'a2 [Box + 'a>], seed: u8) -> BeliefPropagation<'a, 'a2, V, T> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/belief_propagation/bp.rs:229:40 [INFO] [stdout] | [INFO] [stdout] 229 | fn log_prob_factor(&self, factor: &Factor<'a, V, T>) -> DenseTensor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 229 - fn log_prob_factor(&self, factor: &Factor<'a, V, T>) -> DenseTensor { [INFO] [stdout] 229 + fn log_prob_factor(&self, factor: &dyn Factor<'a, V, T>) -> DenseTensor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> gmtk/src/graph_models/inferences/belief_propagation/bp_structure.rs:47:62 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn new<'a, V: 'a + Variable>(id: usize, factor: &Box + 'a>) -> BPFactor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub fn new<'a, V: 'a + Variable>(id: usize, factor: &Box + 'a>) -> BPFactor { [INFO] [stdout] 47 + pub fn new<'a, V: 'a + Variable>(id: usize, factor: &Box + 'a>) -> BPFactor { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rdb2rdf/src/utils/ml2json.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let mut obj = paths[level].as_object_mut().unwrap(); [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] --> rdb2rdf/src/utils/ml2json.rs:85:21 [INFO] [stdout] | [INFO] [stdout] 85 | let mut oval = o.as_object_mut().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> gmtk/src/optimization/adam.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | for i in weight_decays.len()..parameters.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> gmtk/src/optimization/sgd.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | for i in weight_decays.len()..parameters.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> gmtk/src/graph_models/domains/int_domain.rs:22:57 [INFO] [stdout] | [INFO] [stdout] 22 | assert!(self.min <= value && value <= self.max, format!("Invalid value: {} <= {} <= {}", self.min, value, self.max)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 22 - assert!(self.min <= value && value <= self.max, format!("Invalid value: {} <= {} <= {}", self.min, value, self.max)); [INFO] [stdout] 22 + assert!(self.min <= value && value <= self.max, "Invalid value: {} <= {} <= {}", self.min, value, self.max); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mira v0.1.0 (/opt/rustwide/workdir/mira) [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.gmtk.a1835aff-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2.2xpvejp60744hb1f.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libtime-14d705292ceabf7c.rlib" "/opt/rustwide/target/debug/deps/libgmtk-31806e96ef3e2079.rlib" "/opt/rustwide/target/debug/deps/libalgorithm-5d373a26a8d508aa.rlib" "/opt/rustwide/target/debug/deps/libregex-199fbba7df1a746a.rlib" "/opt/rustwide/target/debug/deps/libutf8_ranges-397f79d90584a2a0.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-8192dbe41994ef33.rlib" "/opt/rustwide/target/debug/deps/libucd_util-ed126d8c55f43f8b.rlib" "/opt/rustwide/target/debug/deps/libthread_local-f94f7c6111ec6fa9.rlib" "/opt/rustwide/target/debug/deps/libunreachable-7f6700463b97da45.rlib" "/opt/rustwide/target/debug/deps/libvoid-8ddff08a32a4354c.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-f35fc6d9540db9e4.rlib" "/opt/rustwide/target/debug/deps/libmemchr-235ee712ae5ffef9.rlib" "/opt/rustwide/target/debug/deps/libndarray-ff11e4196a34075b.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-a150b49150968f50.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-e9a594ebc17c189f.rlib" "/opt/rustwide/target/debug/deps/libitertools-2aee1f4a2cb4e2e4.rlib" "/opt/rustwide/target/debug/deps/libmatrixmultiply-fbd258920872a19b.rlib" "/opt/rustwide/target/debug/deps/librawpointer-929b2354038d51a4.rlib" "/opt/rustwide/target/debug/deps/libserde_json-93746014e88a9fb1.rlib" "/opt/rustwide/target/debug/deps/libitoa-0cecff55c33ee736.rlib" "/opt/rustwide/target/debug/deps/libdtoa-b1a427d0279c08f9.rlib" "/opt/rustwide/target/debug/deps/librayon-530c715824ea0712.rlib" "/opt/rustwide/target/debug/deps/libeither-8d79a9130ccefe6c.rlib" "/opt/rustwide/target/debug/deps/librayon_core-4908697242dad590.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-b6bebefc59ac7632.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-79a1880f3fd63671.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-bb4476d3b45a482f.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-ccc355fbacc0d8ae.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-a0a77ab05a64711c.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-8415b2ab78f35129.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-32c128b75f2890bb.rlib" "/opt/rustwide/target/debug/deps/libarrayvec-2ecba471333d88ad.rlib" "/opt/rustwide/target/debug/deps/libnodrop-fed1e752780dc802.rlib" "/opt/rustwide/target/debug/deps/librand-29bbc98d29983006.rlib" "/opt/rustwide/target/debug/deps/librand_core-8b9e46bd6feb4ded.rlib" "/opt/rustwide/target/debug/deps/libfnv-3b027f9af76441c8.rlib" "/opt/rustwide/target/debug/deps/libuuid-94f8cc20a63ec570.rlib" "/opt/rustwide/target/debug/deps/libsha1-fe0bff6a1469592d.rlib" "/opt/rustwide/target/debug/deps/librand-e649bfd5c85b96ff.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-998ad3ee3e554282.rlib" "/opt/rustwide/target/debug/deps/libbincode-582cf3a909989ac7.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-dd276519e0d77f3f.rlib" "/opt/rustwide/target/debug/deps/libserde-de17b1c0bdd62c55.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-5df9a7d69009eab7.rlib" "/opt/rustwide/target/debug/deps/liblibc-8ec3f7015ca8e227.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lctensor" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/gmtk-85454439522bc5d2" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lctensor [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gmtk` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> mira/src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> mira/src/assembling/models/annotator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashMap` [INFO] [stdout] --> mira/src/assembling/models/templates/triple_template.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use fnv::FnvHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::models::example::MRRExample` [INFO] [stdout] --> mira/src/assembling/models/factors/triple_factor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use assembling::models::example::MRRExample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> mira/src/assembling/models/factors/debug.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::features::*` [INFO] [stdout] --> mira/src/assembling/models/mrr_serializing.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use assembling::features::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::models::variable::*` [INFO] [stdout] --> mira/src/assembling/features/structures/duplication_tensor.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use assembling::models::variable::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mira/src/assembling/searching/beam_search/data_structure.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::beam_search::data_structure::ExploringNodes` [INFO] [stdout] --> mira/src/assembling/searching/beam_search/early_stopping.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use assembling::searching::beam_search::data_structure::ExploringNodes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::hashset::HashSet as IHashSet` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use im::hashset::HashSet as IHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb2rdf::models::semantic_model::Attribute` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rdb2rdf::models::semantic_model::Attribute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::set_has` [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/triple_adviser.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use utils::set_has; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::HashSet as IHashSet` [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/discover_next_state.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use im::HashSet as IHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::zip` [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/discover_next_state.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use itertools::zip; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb2rdf::ontology::ont_graph::OntGraph` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use rdb2rdf::ontology::ont_graph::OntGraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::banks::attributes_mapping::mapping_score::mohsen_mapping_score` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use assembling::searching::banks::attributes_mapping::mapping_score::mohsen_mapping_score; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::banks::attributes_mapping::eval_mapping_score::evaluate_attr_mapping` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use assembling::searching::banks::attributes_mapping::eval_mapping_score::evaluate_attr_mapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb2rdf::models::semantic_model::SemanticType` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use rdb2rdf::models::semantic_model::SemanticType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::HashMap as IHashMap` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use im::HashMap as IHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> mira/src/assembling/searching/banks/data_structure/sssp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/generate_candidate_attr_mapping.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashSet` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/generate_candidate_attr_mapping.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use fnv::FnvHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::HashMap as IHashMap` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mapping_score.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use im::HashMap as IHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::banks::data_structure::int_graph::IntEdge` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mapping_score.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use assembling::searching::banks::data_structure::int_graph::IntEdge; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb2rdf::models::semantic_model::SemanticType` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mapping_score.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rdb2rdf::models::semantic_model::SemanticType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rdb2rdf::models::semantic_model::SemanticModel` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mapping_score.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rdb2rdf::models::semantic_model::SemanticModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashMap` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mapping_score.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fnv::FnvHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::HashSet as IHashSet` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use im::HashSet as IHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::features::Statistic` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use assembling::features::Statistic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::banks::attributes_mapping::learned_mapping_score::compute_gold_mapping` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use assembling::searching::banks::attributes_mapping::learned_mapping_score::compute_gold_mapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::banks::attributes_mapping::eval_mapping_score::evaluate_attr_mapping` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use assembling::searching::banks::attributes_mapping::eval_mapping_score::evaluate_attr_mapping; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::auto_label::MRRLabel` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use assembling::auto_label::MRRLabel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithm::data_structure::graph::Graph` [INFO] [stdout] --> mira/src/assembling/searching/banks/mohsen_weighted.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use algorithm::data_structure::graph::Graph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> mira/src/assembling/predicting.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::beam_search::*` [INFO] [stdout] --> mira/src/assembling/predicting.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use assembling::searching::beam_search::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::discovery::*` [INFO] [stdout] --> mira/src/assembling/predicting.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use assembling::searching::discovery::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> mira/src/assembling/predicting.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::auto_label` [INFO] [stdout] --> mira/src/assembling/predicting.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use assembling::auto_label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::models::example::MRRExample` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use assembling::models::example::MRRExample; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::other_models::BayesModel` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use assembling::other_models::BayesModel; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Range` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use std::ops::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::HashMap as IHashMap` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use im::HashMap as IHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::features::statistic::Statistic` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use assembling::features::statistic::Statistic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::dict_get` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use utils::dict_get; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_set` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::hash_set; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashMap` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use fnv::FnvHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::HashSet as IHashSet` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use im::HashSet as IHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::Iter` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::slice::Iter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conf_search` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/generator.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | use settings::{Settings, conf_search}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithm::data_structure::unique_array::UniqueArray` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/generator.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use algorithm::data_structure::unique_array::UniqueArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithm::data_structure::unique_array::UniqueArray` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use algorithm::data_structure::unique_array::UniqueArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::banks::MohsenWeightingSystem` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use assembling::searching::banks::MohsenWeightingSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::auto_label` [INFO] [stdout] --> mira/src/assembling/learning/elimination/discovery.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use assembling::auto_label; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `evaluation_metrics::semantic_modeling::DataNodeMode` [INFO] [stdout] --> mira/src/assembling/learning/elimination/discovery.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use evaluation_metrics::semantic_modeling::DataNodeMode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mira/src/assembling/learning/elimination/generator.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conf_search` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use settings::{ Settings, conf_search, conf_predicting }; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::OrdSet as IOrdSet` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use im::OrdSet as IOrdSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::beam_search::*` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use assembling::searching::beam_search::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::searching::discovery::*` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use assembling::searching::discovery::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MicroRanking` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | use assembling::ranking::{Ranking, MicroRanking}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `assembling::learning::elimination::cascade_remove` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use assembling::learning::elimination::cascade_remove; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashSet` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use fnv::FnvHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `im::vector::Vector as IVector` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/alignment.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use im::vector::Vector as IVector; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/alignment.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `permutohedron::heap_recursive` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/alignment.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use permutohedron::heap_recursive; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/alignment.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashSet` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/alignment.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use fnv::FnvHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/internal_structure.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/internal_structure.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashSet` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/internal_structure.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use fnv::FnvHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashMap` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/internal_structure.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use fnv::FnvHashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/internal_structure.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `permutohedron::factorial` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/internal_structure.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use permutohedron::factorial; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `algorithm::data_structure::graph::*` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/find_best_map.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use algorithm::data_structure::graph::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/find_best_map.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/find_best_map.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fnv::FnvHashSet` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_modeling/find_best_map.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use fnv::FnvHashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/beam_search/data_structure.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | pub type DiscoverFunc<'a, T, A> = &'a Fn(&ExploringNodes, &mut A) -> Vec>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - pub type DiscoverFunc<'a, T, A> = &'a Fn(&ExploringNodes, &mut A) -> Vec>; [INFO] [stdout] 46 + pub type DiscoverFunc<'a, T, A> = &'a dyn Fn(&ExploringNodes, &mut A) -> Vec>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/beam_search/data_structure.rs:47:40 [INFO] [stdout] | [INFO] [stdout] 47 | pub type EarlyStopFunc<'a, T, A> = &'a Fn(&mut SearchArgs<'a, T, A>, usize, &SearchNode) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 - pub type EarlyStopFunc<'a, T, A> = &'a Fn(&mut SearchArgs<'a, T, A>, usize, &SearchNode) -> bool; [INFO] [stdout] 47 + pub type EarlyStopFunc<'a, T, A> = &'a dyn Fn(&mut SearchArgs<'a, T, A>, usize, &SearchNode) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/beam_search/data_structure.rs:48:45 [INFO] [stdout] | [INFO] [stdout] 48 | pub type CompareSearchNodeFunc<'a, T> = &'a Fn(&SearchNode, &SearchNode) -> Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - pub type CompareSearchNodeFunc<'a, T> = &'a Fn(&SearchNode, &SearchNode) -> Ordering; [INFO] [stdout] 48 + pub type CompareSearchNodeFunc<'a, T> = &'a dyn Fn(&SearchNode, &SearchNode) -> Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/data_structure.rs:14:40 [INFO] [stdout] | [INFO] [stdout] 14 | pub type ProbCandidateSMFunc<'a> = &'a Fn(Vec) -> Vec<(Graph, f64)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - pub type ProbCandidateSMFunc<'a> = &'a Fn(Vec) -> Vec<(Graph, f64)>; [INFO] [stdout] 14 + pub type ProbCandidateSMFunc<'a> = &'a dyn Fn(Vec) -> Vec<(Graph, f64)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/data_structure.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | pub type PreSMFilterFunc<'a> = &'a Fn(&Graph) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub type PreSMFilterFunc<'a> = &'a Fn(&Graph) -> bool; [INFO] [stdout] 15 + pub type PreSMFilterFunc<'a> = &'a dyn Fn(&Graph) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/graph_explorer_builder.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | triple_adviser: &'a mut TripleAdviser, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - triple_adviser: &'a mut TripleAdviser, [INFO] [stdout] 11 + triple_adviser: &'a mut dyn TripleAdviser, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/search_args.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | pub type SMFilterFunc<'a> = &'a Fn(&Graph, &IntTreeSearchArgs) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - pub type SMFilterFunc<'a> = &'a Fn(&Graph, &IntTreeSearchArgs) -> bool; [INFO] [stdout] 8 + pub type SMFilterFunc<'a> = &'a dyn Fn(&Graph, &IntTreeSearchArgs) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/search_args.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | pub type ProbCandidateSMFunc<'a> = &'a Fn(Vec, &[Bijection], &IntTreeSearchArgs) -> Vec<(Graph, f64)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - pub type ProbCandidateSMFunc<'a> = &'a Fn(Vec, &[Bijection], &IntTreeSearchArgs) -> Vec<(Graph, f64)>; [INFO] [stdout] 10 + pub type ProbCandidateSMFunc<'a> = &'a dyn Fn(Vec, &[Bijection], &IntTreeSearchArgs) -> Vec<(Graph, f64)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/search_args.rs:9:40 [INFO] [stdout] | [INFO] [stdout] 9 | pub type MergePlanFilterFunc<'a> = &'a Fn(&Graph, &MergePlan, &IntTreeSearchArgs) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - pub type MergePlanFilterFunc<'a> = &'a Fn(&Graph, &MergePlan, &IntTreeSearchArgs) -> bool; [INFO] [stdout] 9 + pub type MergePlanFilterFunc<'a> = &'a dyn Fn(&Graph, &MergePlan, &IntTreeSearchArgs) -> bool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:219:40 [INFO] [stdout] | [INFO] [stdout] 219 | pub type ProbCandidateSMFunc<'a> = &'a Fn(Vec) -> Vec<(Graph, f64)>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 219 - pub type ProbCandidateSMFunc<'a> = &'a Fn(Vec) -> Vec<(Graph, f64)>; [INFO] [stdout] 219 + pub type ProbCandidateSMFunc<'a> = &'a dyn Fn(Vec) -> Vec<(Graph, f64)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/predicting.rs:130:80 [INFO] [stdout] | [INFO] [stdout] 130 | fn search_for_model(model: &MRRModel, sm: &SemanticModel, ranking: Option<&Box>, search_settings: &conf_search::BeamSearchSettin... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 130 - fn search_for_model(model: &MRRModel, sm: &SemanticModel, ranking: Option<&Box>, search_settings: &conf_search::BeamSearchSettings, int_graph: Option<&IntGraph>) -> Prediction { [INFO] [stdout] 130 + fn search_for_model(model: &MRRModel, sm: &SemanticModel, ranking: Option<&Box>, search_settings: &conf_search::BeamSearchSettings, int_graph: Option<&IntGraph>) -> Prediction { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/variable.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | fn get_domain(&self) -> &Domain::Value> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn get_domain(&self) -> &Domain::Value> { [INFO] [stdout] 45 + fn get_domain(&self) -> &dyn Domain::Value> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/triple_template.rs:36:76 [INFO] [stdout] | [INFO] [stdout] 36 | fn unroll<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - fn unroll<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample) -> Vec + 'a1>> { [INFO] [stdout] 36 + fn unroll<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:282:177 [INFO] [stdout] | [INFO] [stdout] 282 | ...(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 282 - fn create_pairwise_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] 282 + fn create_pairwise_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:353:183 [INFO] [stdout] | [INFO] [stdout] 353 | ...(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 353 - fn create_pairwise_scope_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] 353 + fn create_pairwise_scope_factors<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:385:178 [INFO] [stdout] | [INFO] [stdout] 385 | ...(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 385 - fn create_occurrence_factor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] 385 + fn create_occurrence_factor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:430:183 [INFO] [stdout] | [INFO] [stdout] 430 | ...(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 430 - fn create_stype_assistant_factor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] 430 + fn create_stype_assistant_factor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:468:182 [INFO] [stdout] | [INFO] [stdout] 468 | ...: &[(usize, usize)], center_node: &Node) -> Box + 'a1> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 468 - fn create_all_children_wrong_factor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Box + 'a1> { [INFO] [stdout] 468 + fn create_all_children_wrong_factor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &Node) -> Box + 'a1> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 489 | ) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 489 - ) -> Vec + 'a1>> { [INFO] [stdout] 489 + ) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:575:18 [INFO] [stdout] | [INFO] [stdout] 575 | ) -> Vec + 'a1>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 575 - ) -> Vec + 'a1>> { [INFO] [stdout] 575 + ) -> Vec + 'a1>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/factors/sufficient_sub_factor.rs:84:40 [INFO] [stdout] | [INFO] [stdout] 84 | fn debug(&self, _debug_container: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 - fn debug(&self, _debug_container: &DebugContainer) { [INFO] [stdout] 84 + fn debug(&self, _debug_container: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/factors/triple_factor.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | fn debug(&self, con: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn debug(&self, con: &DebugContainer) { [INFO] [stdout] 34 + fn debug(&self, con: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/factors/triple_factor.rs:46:116 [INFO] [stdout] | [INFO] [stdout] 46 | ...ap::Value>, inference: &Inference<'a, TripleVar>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - fn compute_gradients(&self, target_assignment: &FnvHashMap::Value>, inference: &Inference<'a, TripleVar>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] 46 + fn compute_gradients(&self, target_assignment: &FnvHashMap::Value>, inference: &dyn Inference<'a, TripleVar>) -> Vec<(i64, DenseTensor)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/factors/debug.rs:26:26 [INFO] [stdout] | [INFO] [stdout] 26 | fn as_any(&self) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - fn as_any(&self) -> &Any { [INFO] [stdout] 26 + fn as_any(&self) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/factors/debug.rs:39:40 [INFO] [stdout] | [INFO] [stdout] 39 | pub(super) fn debug_(&self, _con: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - pub(super) fn debug_(&self, _con: &DebugContainer) { [INFO] [stdout] 39 + pub(super) fn debug_(&self, _con: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/factors/debug.rs:85:40 [INFO] [stdout] | [INFO] [stdout] 85 | pub(super) fn debug_(&self, _con: &DebugContainer) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 85 - pub(super) fn debug_(&self, _con: &DebugContainer) { [INFO] [stdout] 85 + pub(super) fn debug_(&self, _con: &dyn DebugContainer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/discovery/general_approach/graph_explorer_builder.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(triple_adviser: &'a mut TripleAdviser, max_data_node_hop: usize, max_class_node_hop: usize) -> GraphExplorerBuilder<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - pub fn new(triple_adviser: &'a mut TripleAdviser, max_data_node_hop: usize, max_class_node_hop: usize) -> GraphExplorerBuilder<'a> { [INFO] [stdout] 17 + pub fn new(triple_adviser: &'a mut dyn TripleAdviser, max_data_node_hop: usize, max_class_node_hop: usize) -> GraphExplorerBuilder<'a> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/eval_mapping_score.rs:161:95 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn group_nodes_by_label<'a, ND: NodeData, ED: EdgeData>(g: &'a Graph, nodes: &mut Iterator) -> HashMap<&'a Strin... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 - pub fn group_nodes_by_label<'a, ND: NodeData, ED: EdgeData>(g: &'a Graph, nodes: &mut Iterator) -> HashMap<&'a String, Vec<&'a Node>> { [INFO] [stdout] 161 + pub fn group_nodes_by_label<'a, ND: NodeData, ED: EdgeData>(g: &'a Graph, nodes: &mut dyn Iterator) -> HashMap<&'a String, Vec<&'a Node>> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/mrr.rs:181:36 [INFO] [stdout] | [INFO] [stdout] 181 | let mut optimizer: Box> = match train_args.optimizer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 181 - let mut optimizer: Box> = match train_args.optimizer { [INFO] [stdout] 181 + let mut optimizer: Box> = match train_args.optimizer { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/triple_template.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let mut factors: Vec + 'a1>> = Vec::with_capacity(example.variables.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - let mut factors: Vec + 'a1>> = Vec::with_capacity(example.variables.len()); [INFO] [stdout] 37 + let mut factors: Vec + 'a1>> = Vec::with_capacity(example.variables.len()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:283:34 [INFO] [stdout] | [INFO] [stdout] 283 | let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 - let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] 283 + let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:354:34 [INFO] [stdout] | [INFO] [stdout] 354 | let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 354 - let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] 354 + let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:386:34 [INFO] [stdout] | [INFO] [stdout] 386 | let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 386 - let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] 386 + let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:431:34 [INFO] [stdout] | [INFO] [stdout] 431 | let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 - let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] 431 + let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:491:34 [INFO] [stdout] | [INFO] [stdout] 491 | let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 491 - let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] 491 + let mut factors: Vec + 'a1>> = Vec::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:576:34 [INFO] [stdout] | [INFO] [stdout] 576 | let mut factors: Vec + 'a1>> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 576 - let mut factors: Vec + 'a1>> = [INFO] [stdout] 576 + let mut factors: Vec + 'a1>> = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> mira/src/assembling/predicting.rs:218:29 [INFO] [stdout] | [INFO] [stdout] 218 | let ranking: Option> = match settings.predicting.post_ranking { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 218 - let ranking: Option> = match settings.predicting.post_ranking { [INFO] [stdout] 218 + let ranking: Option> = match settings.predicting.post_ranking { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> mira/src/assembling/learning/iterative_mrr_approach.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/generator.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ranking` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | use assembling::ranking::{Ranking, MicroRanking}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mira/src/assembling/models/factors/debug.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | _ => panic!("Not handle yet") [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mira/src/assembling/predicting.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | _ => None [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | _ => panic!("Not implemented") [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bijections` [INFO] [stdout] --> mira/src/assembling/predicting.rs:139:49 [INFO] [stdout] | [INFO] [stdout] 139 | ... let prob_sms = |graphs: Vec, bijections: &[constraint_space::Bijection], args: &IntTreeSearchArgs| model.predict_sm_probs(&s... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bijections` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> mira/src/assembling/predicting.rs:139:93 [INFO] [stdout] | [INFO] [stdout] 139 | ...[constraint_space::Bijection], args: &IntTreeSearchArgs| model.predict_sm_probs(&sm.id, graphs); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> mira/src/assembling/predicting.rs:228:54 [INFO] [stdout] | [INFO] [stdout] 228 | DiscoverMethod::GeneralDiscovery(ref conf) => None, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> mira/src/assembling/predicting.rs:229:53 [INFO] [stdout] | [INFO] [stdout] 229 | DiscoverMethod::ConstraintSpace(ref conf) => Some(IntGraph::new(&model.annotator.train_sms)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sm_idx` [INFO] [stdout] --> mira/src/assembling/ranking/mod.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | fn compare_search_node(&self, sm_idx: usize, a_score: f64, b_score: f64, a_graph: &Graph, b_graph: &Graph) -> Ordering { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sm_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_graph` [INFO] [stdout] --> mira/src/assembling/ranking/mod.rs:17:78 [INFO] [stdout] | [INFO] [stdout] 17 | fn compare_search_node(&self, sm_idx: usize, a_score: f64, b_score: f64, a_graph: &Graph, b_graph: &Graph) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_graph` [INFO] [stdout] --> mira/src/assembling/ranking/mod.rs:17:95 [INFO] [stdout] | [INFO] [stdout] 17 | fn compare_search_node(&self, sm_idx: usize, a_score: f64, b_score: f64, a_graph: &Graph, b_graph: &Graph) -> Ordering { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sm_idx` [INFO] [stdout] --> mira/src/assembling/ranking/mod.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_rank_score(&self, sm_idx: usize, score: f64, graph: &Graph) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sm_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> mira/src/assembling/ranking/mod.rs:21:57 [INFO] [stdout] | [INFO] [stdout] 21 | fn get_rank_score(&self, sm_idx: usize, score: f64, graph: &Graph) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bijections` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:84:49 [INFO] [stdout] | [INFO] [stdout] 84 | ... let prob_sms = |graphs: Vec, bijections: &[constraint_space::Bijection], args: &IntTreeSearchArgs| model.predict_sm_probs(&s... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bijections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:84:93 [INFO] [stdout] | [INFO] [stdout] 84 | ...[constraint_space::Bijection], args: &IntTreeSearchArgs| model.predict_sm_probs(&sm.id, graphs); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_prime_id` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | let root_prime_id = new_g.get_first_root_node().unwrap().id; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_prime_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_id` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | if let Some((old_id, new_id)) = action_node { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `curated_state` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:455:39 [INFO] [stdout] | [INFO] [stdout] 455 | fn realign_curated_graph_to_int_graph(curated_state: &SearchNode, mut next_incorrect_sm: SearchNode mira/src/assembling/interactive_modeling.rs:52:44 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn select_correct_model(&mut self, prev_model: &Graph, new_model: &Graph) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_model` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn select_correct_model(&mut self, prev_model: &Graph, new_model: &Graph) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_model` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> mira/src/settings/conf_learning/mod.rs:23:45 [INFO] [stdout] | [INFO] [stdout] 23 | GenTrainDataMethod::Elimination(e) => "elimination".to_owned(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mira/src/evaluation_metrics/semantic_labeling.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | for (i, pred_st) in pred_attr.semantic_types.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `test_nll_examples` [INFO] [stdout] --> mira/src/assembling/models/mrr.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let test_nll_examples = test_examples.iter().enumerate() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_test_nll_examples` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_i` [INFO] [stdout] --> mira/src/assembling/features/attribute_scope.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | for (i, attr_i) in sm.attrs.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attr_j` [INFO] [stdout] --> mira/src/assembling/features/attribute_scope.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | for (j, attr_j) in sm.attrs.iter().enumerate() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_attr_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> mira/src/assembling/features/cooccurrence_matrix.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | .map(|&(score, i, j)| (idx2pred[i].clone(), idx2pred[j].clone())) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:107:76 [INFO] [stdout] | [INFO] [stdout] 107 | let p = candidate_sms.get_ref_value().iter().map(|(g, s)| *s).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:126:39 [INFO] [stdout] | [INFO] [stdout] 126 | ... .map(|(g, score)| annotator.create_labeled_mrr_example(&sm.id, g)) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | DiscoverMethod::GeneralDiscovery(ref conf) => None, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `conf` [INFO] [stdout] --> mira/src/assembling/learning/gen_train_data.rs:80:53 [INFO] [stdout] | [INFO] [stdout] 80 | DiscoverMethod::ConstraintSpace(ref conf) =>Some(IntGraph::new(&annotator.train_sms)) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> mira/src/assembling/ranking/micro_ranking/mod.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | fn get_rank_score(&self, sm_idx: usize, score: f64, graph: &Graph) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `templates_config` [INFO] [stdout] --> mira/src/assembling/models/templates/triple_template.rs:25:20 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn default(templates_config: &TemplatesConf, tf_domain: &TFDomain) -> TripleTemplate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_templates_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:292:22 [INFO] [stdout] | [INFO] [stdout] 292 | .find(|&(idx, &(eid, pred_idx))| example.graph.get_edge_by_id(eid).label == pk); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pred_idx` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:292:34 [INFO] [stdout] | [INFO] [stdout] 292 | .find(|&(idx, &(eid, pred_idx))| example.graph.get_edge_by_id(eid).label == pk); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pred_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pred_idx` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:294:40 [INFO] [stdout] | [INFO] [stdout] 294 | if let Some((idx, &(pk_var_id, pred_idx))) = idx { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pred_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pred_idx` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:298:31 [INFO] [stdout] | [INFO] [stdout] 298 | for (i, &(var_id, pred_idx)) in variables.iter().enumerate().skip(skip) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pred_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pred_idx` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:437:27 [INFO] [stdout] | [INFO] [stdout] 437 | for (i, &(var_id, pred_idx)) in variables.iter().enumerate().skip(1) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pred_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `example` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:468:65 [INFO] [stdout] | [INFO] [stdout] 468 | ...tor<'a: 'a1, 'a1>(&'a self, example: &'a1 MRRExample, triple_vars: &Vec<&'a TripleVar>, variables: &[(usize, usize)], center_node: &No... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_example` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center_node` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:468:155 [INFO] [stdout] | [INFO] [stdout] 468 | ...les: &[(usize, usize)], center_node: &Node) -> Box + 'a1> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_center_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> mira/src/assembling/models/templates/substructure_template.rs:500:19 [INFO] [stdout] | [INFO] [stdout] 500 | for (i, &(id, idx)) in variables.iter().enumerate().skip(dup_range[1]) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> mira/src/assembling/searching/banks/bank.rs:176:55 [INFO] [stdout] | [INFO] [stdout] 176 | let mut results = sm_candidates.into_iter().map(|(k, v)| v).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:57:76 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn get_started_nodes<'a>(annotator: &'a Annotator, sm: &SemanticModel, args: &TrialErrorSearchArgs<'a>) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/discovery.rs:120:66 [INFO] [stdout] | [INFO] [stdout] 120 | match_attrs = match_attrs_w_score.into_iter().map(|(lbl, w)| lbl).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_candidate` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/generator.rs:192:53 [INFO] [stdout] | [INFO] [stdout] 192 | ... gold_sm: &Graph, max_candidate: usize, max_permutation: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_candidate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `visited_search_nodes` [INFO] [stdout] --> mira/src/assembling/learning/trial_and_error/generator.rs:193:36 [INFO] [stdout] | [INFO] [stdout] 193 | ... visited_search_nodes: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_visited_search_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotator` [INFO] [stdout] --> mira/src/assembling/learning/elimination/discovery.rs:110:42 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_started_eliminated_1nodes<'a>(annotator: &'a Annotator, sm: &SemanticModel) -> Vec<(Graph, Vec)> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotator` [INFO] [stdout] --> mira/src/assembling/learning/elimination/discovery.rs:134:42 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn get_started_eliminated_2nodes<'a>(annotator: &'a Annotator, sm: &SemanticModel) -> Vec<(Graph, Vec)> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_permutation` [INFO] [stdout] --> mira/src/assembling/learning/elimination/discovery.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | let max_permutation = Settings::get_instance().learning.max_permutation; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_permutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gold_sm` [INFO] [stdout] --> mira/src/assembling/learning/elimination/generator.rs:18:120 [INFO] [stdout] | [INFO] [stdout] 18 | pub(super) fn custom_general_discovery(search_nodes: &ExploringNodes, args: &mut GeneralDiscoveryArgs, gold_sm: &Graph, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gold_sm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_permutation` [INFO] [stdout] --> mira/src/assembling/learning/elimination/generator.rs:19:40 [INFO] [stdout] | [INFO] [stdout] 19 | ... max_permutation: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_permutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gold_sm` [INFO] [stdout] --> mira/src/assembling/learning/elimination/generator.rs:32:127 [INFO] [stdout] | [INFO] [stdout] 32 | ...gs: &mut IntTreeSearchArgs, gold_sm: &Graph, max_permutation: usize, train_node_storage: Rc>>) -> Ve... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gold_sm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_permutation` [INFO] [stdout] --> mira/src/assembling/learning/elimination/generator.rs:32:144 [INFO] [stdout] | [INFO] [stdout] 32 | ...s, gold_sm: &Graph, max_permutation: usize, train_node_storage: Rc>>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_permutation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/search_args.rs:73:34 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn default_merge_plan_filter(graph: &Graph, plan: &MergePlan, args: &IntTreeSearchArgs) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/search_args.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn default_sm_filter(graph: &Graph, args: &IntTreeSearchArgs) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/search_args.rs:82:41 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn default_sm_filter(graph: &Graph, args: &IntTreeSearchArgs) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_prime` [INFO] [stdout] --> mira/src/assembling/searching/discovery/constraint_space/merge_plan.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | if let Some(x_prime) = tree.bijection.to_x_prime(mount.edge.source_id) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_x_prime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> mira/src/assembling/searching/banks/data_structure/int_graph.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | for i in c2..c1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stype` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mapping_score.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | for (stype, edge) in attr_mapping.values() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_edge_id` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/eval_mapping_score.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | for (&attr_id, int_edge_id) in attr_mapping.iter() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_edge_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `int_edge_id` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/eval_mapping_score.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | for (&attr_id, int_edge_id) in attr_mapping.iter() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_edge_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_lbl` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/eval_mapping_score.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | for (&n_lbl, pred_internal_nodes)in pred_grouped_internal_nodes.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_n_lbl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | .filter(|(k, v)| v.is_some()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_train_pred` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | let y_train_pred = model.predict(&train_data.x_train).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_train_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_test_pred` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let y_test_pred = model.predict(&train_data.x_test).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_test_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ie` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:260:62 [INFO] [stdout] | [INFO] [stdout] 260 | let mut confidence = attr_mapping.values().map(|(st, ie)| st.score as f64).sum::() / attr_mapping.len() as f64; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:203:24 [INFO] [stdout] | [INFO] [stdout] 203 | for (attr_id, (st, ie)) in attr_mapping { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stype` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | for (stype, edge) in attr_mapping.values() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `unique_column_score` is assigned to, but never used [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | let mut unique_column_score = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_unique_column_score` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mrr_mapping_score.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | for &(attr_id, (st, ie)) in mc.mapping.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mrr_mapping_score.rs:31:16 [INFO] [stdout] | [INFO] [stdout] 31 | .map(|(g, s)| *s) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | for &(attr_id, (st, ie)) in attr_mapping.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mira/src/assembling/features/node_prob.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | let mut writer = BufWriter::new(File::create(workdir.join("sm_node_prob_tt8tty1.json")).unwrap()); [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] --> mira/src/assembling/features/node_prob.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | let mut reader = BufReader::new(File::open(foutput).expect("Fail in python process")); [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] --> mira/src/assembling/auto_label/alignment.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut bijection, dependent_groups, independent_groups) = get_dependent_groups(gold_sm, pred_sm, data_node_mode); [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] --> mira/src/assembling/searching/discovery/general_approach/general_approach.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut top_attrs = select_top_attributes(sm, top_n); [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] --> mira/src/assembling/searching/discovery/constraint_space/discover_next_state.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | let mut bijections = find_all_mounts(&stype, &args.int_graph) [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] --> mira/src/assembling/searching/banks/bank.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | let mut rg = reversed(tree); [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] --> mira/src/assembling/searching/banks/data_structure/int_graph.rs:228:29 [INFO] [stdout] | [INFO] [stdout] 228 | let mut ndata = &mut (&mut *int_graph_ptr).graph.get_mut_node_by_id(v_prime.id).data; [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] --> mira/src/assembling/searching/banks/data_structure/int_graph.rs:248:25 [INFO] [stdout] | [INFO] [stdout] 248 | let mut ndata = &mut (&mut *int_graph_ptr).graph.get_mut_node_by_id(v_prime.id).data; [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] --> mira/src/assembling/searching/banks/data_structure/int_graph.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | let mut ndata = &mut int_graph.graph.get_mut_node_by_id(v_prime_id).data; [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] --> mira/src/assembling/searching/banks/attributes_mapping/eval_mapping_score.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | let mut pred_grouped_internal_nodes = group_nodes_by_label(&int_graph.graph, &mut pred_internal_nodes_to_attrs.keys()); [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] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:260:13 [INFO] [stdout] | [INFO] [stdout] 260 | let mut confidence = attr_mapping.values().map(|(st, ie)| st.score as f64).sum::() / attr_mapping.len() as f64; [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] --> mira/src/assembling/searching/banks/attributes_mapping/learned_mapping_score.rs:303:9 [INFO] [stdout] | [INFO] [stdout] 303 | let mut source2isources: FnvHashMap = source2isources.iter().zip(choices.iter()) [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] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:36:16 [INFO] [stdout] | [INFO] [stdout] 36 | let mut attr_mappings = generate_candidate_attr_mapping(int_graph, &sm.attrs, branching_factor, &mut mohsen_mapping_score); [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] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let mut train_examples = train_sms.par_iter() [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] --> mira/src/assembling/searching/banks/attributes_mapping/mrr/learn_mrr.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | let mut test_examples = test_sms.par_iter() [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] --> mira/src/assembling/learning/iterative_mrr_approach.rs:108:13 [INFO] [stdout] | [INFO] [stdout] 108 | let mut random_choice = Rc::new(RefCell::new(RandomChoice::new(rng))); [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] --> mira/src/assembling/learning/trial_and_error/data_structure.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut list = value.keys().cloned().collect::>(); [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] --> mira/src/assembling/learning/trial_and_error/discovery.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut seed = TrialErrorNodeData::new( [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] --> mira/src/assembling/learning/trial_and_error/discovery.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut new_mount = Mount::new(target_id, 0, false); [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] --> mira/src/assembling/learning/trial_and_error/discovery.rs:179:44 [INFO] [stdout] | [INFO] [stdout] 179 | let (mut sub_next_states_data, mut sub_next_states_graphs) = generate_next_states(new_mount, attrs, &new_g, args); [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] --> mira/src/assembling/learning/trial_and_error/discovery.rs:271:13 [INFO] [stdout] | [INFO] [stdout] 271 | let mut mount = search_node.data.mount.clone().expect("No mount has been filtered before calling discover function"); [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] --> mira/src/assembling/learning/trial_and_error/discovery.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | let mut trial_data = TrialErrorNodeData::new(ra, Some(mnt), g); [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] --> mira/src/assembling/interactive_modeling.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut top_k = 3; [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] --> mira/src/assembling/interactive_modeling.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | let mut alignments = align_graph(&int_graph_norms, &next_curated_sm, DataNodeMode::IgnoreLabelDataNode, 100000); [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] --> mira/src/assembling/tests.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut package_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); [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] --> mira/src/assembling/tests.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut package_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); [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] --> mira/src/assembling/tests.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut package_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `history` [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | history: Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `SimulatedUser` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> mira/src/assembling/interactive_modeling.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `columns` [INFO] [stdout] --> mira/src/assembling/features/cardinality_matrix.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | columns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `CardinalityMatrix` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> mira/src/assembling/features/cardinality_matrix.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `trigger_delta` [INFO] [stdout] --> mira/src/assembling/ranking/micro_ranking/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | trigger_delta: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_annotator` [INFO] [stdout] --> mira/src/assembling/tests.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn get_annotator(&self) -> Annotator { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_input` [INFO] [stdout] --> mira/src/assembling/tests.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_input(file: &str) -> RustInput { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_train_sms` [INFO] [stdout] --> mira/src/assembling/tests.rs:47:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_train_sms(&self) -> Vec<&SemanticModel> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `serialize_json` [INFO] [stdout] --> mira/src/assembling/tests.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn serialize_json(obj: &S, output: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `deserialize_json` [INFO] [stdout] --> mira/src/assembling/tests.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn deserialize_json(input: &str) -> D [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `weights` [INFO] [stdout] --> mira/src/assembling/models/factors/pairwise_factor.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(super) weights: &'a Weights, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vars` [INFO] [stdout] --> mira/src/assembling/models/factors/pairwise_factor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub(super) vars: Vec<&'a TripleVar>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vars_dims_with_weight` [INFO] [stdout] --> mira/src/assembling/models/factors/pairwise_factor.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vars_dims_with_weight: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_vars_dims` [INFO] [stdout] --> mira/src/assembling/models/factors/pairwise_factor.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | sub_vars_dims: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `input_var_idx` [INFO] [stdout] --> mira/src/assembling/models/factors/pairwise_factor.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | input_var_idx: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `features_tensor` [INFO] [stdout] --> mira/src/assembling/models/factors/pairwise_factor.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub(super) features_tensor: DenseTensor [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> mira/src/debug_utils.rs:34:38 [INFO] [stdout] | [INFO] [stdout] 34 | assert!(output.status.success(), format!("{:?}", output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - assert!(output.status.success(), format!("{:?}", output)); [INFO] [stdout] 34 + assert!(output.status.success(), "{:?}", output); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> mira/src/debug_utils.rs:57:38 [INFO] [stdout] | [INFO] [stdout] 57 | assert!(output.status.success(), format!("{:?}", output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 57 - assert!(output.status.success(), format!("{:?}", output)); [INFO] [stdout] 57 + assert!(output.status.success(), "{:?}", output); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021 [INFO] [stdout] --> mira/src/assembling/features/cardinality_matrix.rs:41:23 [INFO] [stdout] | [INFO] [stdout] 41 | CARDINALITIES.into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 41 | CARDINALITIES.iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 41 | IntoIterator::into_iter(CARDINALITIES) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> mira/src/assembling/searching/banks/data_structure/int_graph.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | let mut H: FnvHashMap = Default::default(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 252 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cff1daa0c84f40e6c7669481657c2789e68823101251412b6b28051b3ca32245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff1daa0c84f40e6c7669481657c2789e68823101251412b6b28051b3ca32245", kill_on_drop: false }` [INFO] [stdout] cff1daa0c84f40e6c7669481657c2789e68823101251412b6b28051b3ca32245