[INFO] cloning repository https://github.com/otaviomacedo/template-cleaner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/otaviomacedo/template-cleaner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotaviomacedo%2Ftemplate-cleaner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotaviomacedo%2Ftemplate-cleaner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f60edea5ef6eddb95c227b9e5c01a83db15d34ca [INFO] building otaviomacedo/template-cleaner against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fotaviomacedo%2Ftemplate-cleaner" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/otaviomacedo/template-cleaner on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/otaviomacedo/template-cleaner [INFO] finished tweaking git repo https://github.com/otaviomacedo/template-cleaner [INFO] tweaked toml for git repo https://github.com/otaviomacedo/template-cleaner written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/otaviomacedo/template-cleaner already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arraydeque v0.5.1 [INFO] [stderr] Downloaded yaml-rust2 v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abd56530ae02b0bf4f38b555992a51698fcd4d0f58b07731c2e543933d99ac2c [INFO] running `Command { std: "docker" "start" "-a" "abd56530ae02b0bf4f38b555992a51698fcd4d0f58b07731c2e543933d99ac2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abd56530ae02b0bf4f38b555992a51698fcd4d0f58b07731c2e543933d99ac2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abd56530ae02b0bf4f38b555992a51698fcd4d0f58b07731c2e543933d99ac2c", kill_on_drop: false }` [INFO] [stdout] abd56530ae02b0bf4f38b555992a51698fcd4d0f58b07731c2e543933d99ac2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84851c45ab89817de924de8543cbdcb46c57d8e4bbfec9cd9e4c98ee87f08970 [INFO] running `Command { std: "docker" "start" "-a" "84851c45ab89817de924de8543cbdcb46c57d8e4bbfec9cd9e4c98ee87f08970", kill_on_drop: false }` [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling yaml-rust2 v0.8.1 [INFO] [stderr] Compiling template-cleaner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/union_find.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/bimap.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .remove(TypedReference::convert_ref(left)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/bimap.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | let left_rc = self.rtl.remove(&right_rc).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/lib.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | Yaml::Array(array) => Cow::Borrowed(&data), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, value) in data { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCHEMAS_DIR` is never used [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const SCHEMAS_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/src/resources/schemas"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_template` is never used [INFO] [stdout] --> src/lib.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn clean_template(template: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_for` is never used [INFO] [stdout] --> src/lib.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn schema_for(resource: &Yaml) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `properties` is never used [INFO] [stdout] --> src/lib.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn properties(resource: &Yaml) -> Option<&Yaml> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_type` is never used [INFO] [stdout] --> src/lib.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn resource_type(resource: &Yaml) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_mutually_exclusive` is never used [INFO] [stdout] --> src/lib.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn remove_mutually_exclusive<'a>(data: &'a Yaml, maybe_schema: Option<&'a Hash>) -> Cow<'a, Yaml> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_property_names` is never used [INFO] [stdout] --> src/lib.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn filter_property_names<'a>(data: &'a Hash, schema: &Hash) -> Vec<&'a Yaml> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_to_filename` is never used [INFO] [stdout] --> src/lib.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn type_to_filename(typ: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnionFind` is never constructed [INFO] [stdout] --> src/union_find.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UnionFind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionFind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_iter`, `union`, `find`, `find_index`, and `find_to_result` are never used [INFO] [stdout] --> src/union_find.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UnionFind { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_iter>(iter: I) -> UnionFind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn union(&mut self, t1: T, t2: T) -> Result<(), UnionError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn find(&mut self, t: &T) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn find_index(&mut self, t: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn find_to_result(&mut self, t: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnionError` is never used [INFO] [stdout] --> src/union_find.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum UnionError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.88s [INFO] running `Command { std: "docker" "inspect" "84851c45ab89817de924de8543cbdcb46c57d8e4bbfec9cd9e4c98ee87f08970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84851c45ab89817de924de8543cbdcb46c57d8e4bbfec9cd9e4c98ee87f08970", kill_on_drop: false }` [INFO] [stdout] 84851c45ab89817de924de8543cbdcb46c57d8e4bbfec9cd9e4c98ee87f08970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49f6df3c5df2a7741c166c20f869e5a3a9e6ec3ace167691096ff32bb18ad44b [INFO] running `Command { std: "docker" "start" "-a" "49f6df3c5df2a7741c166c20f869e5a3a9e6ec3ace167691096ff32bb18ad44b", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/union_find.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/bimap.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .remove(TypedReference::convert_ref(left)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/bimap.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | let left_rc = self.rtl.remove(&right_rc).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/lib.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | Yaml::Array(array) => Cow::Borrowed(&data), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, value) in data { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCHEMAS_DIR` is never used [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const SCHEMAS_DIR: Dir = include_dir!("$CARGO_MANIFEST_DIR/src/resources/schemas"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_template` is never used [INFO] [stdout] --> src/lib.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn clean_template(template: &String) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `schema_for` is never used [INFO] [stdout] --> src/lib.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn schema_for(resource: &Yaml) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `properties` is never used [INFO] [stdout] --> src/lib.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn properties(resource: &Yaml) -> Option<&Yaml> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resource_type` is never used [INFO] [stdout] --> src/lib.rs:54:4 [INFO] [stdout] | [INFO] [stdout] 54 | fn resource_type(resource: &Yaml) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_mutually_exclusive` is never used [INFO] [stdout] --> src/lib.rs:61:4 [INFO] [stdout] | [INFO] [stdout] 61 | fn remove_mutually_exclusive<'a>(data: &'a Yaml, maybe_schema: Option<&'a Hash>) -> Cow<'a, Yaml> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_property_names` is never used [INFO] [stdout] --> src/lib.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn filter_property_names<'a>(data: &'a Hash, schema: &Hash) -> Vec<&'a Yaml> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_to_filename` is never used [INFO] [stdout] --> src/lib.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn type_to_filename(typ: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnionFind` is never constructed [INFO] [stdout] --> src/union_find.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct UnionFind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionFind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_iter`, `union`, `find`, `find_index`, and `find_to_result` are never used [INFO] [stdout] --> src/union_find.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl UnionFind { [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 12 | pub fn from_iter>(iter: I) -> UnionFind { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn union(&mut self, t1: T, t2: T) -> Result<(), UnionError> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn find(&mut self, t: &T) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn find_index(&mut self, t: &T) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | fn find_to_result(&mut self, t: &T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `UnionError` is never used [INFO] [stdout] --> src/union_find.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub enum UnionError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling template-cleaner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/union_find.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/bimap.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 79 | .remove(TypedReference::convert_ref(left)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `indexmap::IndexMap::::remove`: `remove` disrupts the map order -- use `swap_remove` or `shift_remove` for explicit behavior. [INFO] [stdout] --> src/bimap.rs:81:40 [INFO] [stdout] | [INFO] [stdout] 81 | let left_rc = self.rtl.remove(&right_rc).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `array` [INFO] [stdout] --> src/lib.rs:72:25 [INFO] [stdout] | [INFO] [stdout] 72 | Yaml::Array(array) => Cow::Borrowed(&data), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_array` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:117:16 [INFO] [stdout] | [INFO] [stdout] 117 | for (name, value) in data { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.72s [INFO] running `Command { std: "docker" "inspect" "49f6df3c5df2a7741c166c20f869e5a3a9e6ec3ace167691096ff32bb18ad44b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49f6df3c5df2a7741c166c20f869e5a3a9e6ec3ace167691096ff32bb18ad44b", kill_on_drop: false }` [INFO] [stdout] 49f6df3c5df2a7741c166c20f869e5a3a9e6ec3ace167691096ff32bb18ad44b