[INFO] cloning repository https://github.com/accordproject/concerto-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/accordproject/concerto-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccordproject%2Fconcerto-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccordproject%2Fconcerto-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8a2dfafdbe0e7286b60dc67b7144d824666b3d48 [INFO] linting accordproject/concerto-rust against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faccordproject%2Fconcerto-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/accordproject/concerto-rust [INFO] finished tweaking git repo https://github.com/accordproject/concerto-rust [INFO] tweaked toml for git repo https://github.com/accordproject/concerto-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/accordproject/concerto-rust on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/accordproject/concerto-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba14c2db690baed798421d998f01636bafb89080b2f1210d7864304b899911f9 [INFO] running `Command { std: "docker" "start" "-a" "ba14c2db690baed798421d998f01636bafb89080b2f1210d7864304b899911f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba14c2db690baed798421d998f01636bafb89080b2f1210d7864304b899911f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba14c2db690baed798421d998f01636bafb89080b2f1210d7864304b899911f9", kill_on_drop: false }` [INFO] [stdout] ba14c2db690baed798421d998f01636bafb89080b2f1210d7864304b899911f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cad439d97f7aeb47aac2cdb3594ced5c764491e04084316d505a979d732dd4d2 [INFO] running `Command { std: "docker" "start" "-a" "cad439d97f7aeb47aac2cdb3594ced5c764491e04084316d505a979d732dd4d2", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking concerto_core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/model_file.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Creates a new model file [INFO] [stdout] 20 | | [INFO] [stdout] | |_^ [INFO] [stdout] 21 | pub fn new(model: Model, content: String, file_name: String) -> Self { [INFO] [stdout] | ---------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty line after doc comment [INFO] [stdout] --> src/model_file.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / /// Creates a new model file [INFO] [stdout] 20 | | [INFO] [stdout] | |_^ [INFO] [stdout] 21 | pub fn new(model: Model, content: String, file_name: String) -> Self { [INFO] [stdout] | ---------- the comment documents this function [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments [INFO] [stdout] = note: `#[warn(clippy::empty_line_after_doc_comments)]` on by default [INFO] [stdout] = help: if the empty line is unintentional, remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/metamodel/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Utc.datetime_from_str(&datetime_str, "%Y-%m-%dT%H:%M:%S%.3f%Z").map_err(serde::de::Error::custom) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/model_file.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn from_string(content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/model_manager.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let namespace = &model_file.model.namespace; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/model_manager.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | fn validate_map_value_type(&self, value_type: &MapValueType) -> Result<(), ConcertoError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/model_manager.rs:236:38 [INFO] [stdout] | [INFO] [stdout] 236 | fn validate_property_type(&self, property: &Property) -> Result<(), ConcertoError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/metamodel/utils.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | Utc.datetime_from_str(&datetime_str, "%Y-%m-%dT%H:%M:%S%.3f%Z").map_err(serde::de::Error::custom) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/model_file.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn from_string(content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/model_manager.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let namespace = &model_file.model.namespace; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value_type` [INFO] [stdout] --> src/model_manager.rs:194:39 [INFO] [stdout] | [INFO] [stdout] 194 | fn validate_map_value_type(&self, value_type: &MapValueType) -> Result<(), ConcertoError> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/model_manager.rs:236:38 [INFO] [stdout] | [INFO] [stdout] 236 | fn validate_property_type(&self, property: &Property) -> Result<(), ConcertoError> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_property_type` is never used [INFO] [stdout] --> src/model_manager.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ModelManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | fn validate_property_type(&self, property: &Property) -> Result<(), ConcertoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/introspect/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub mod introspect { [INFO] [stdout] 4 | | use crate::error::ConcertoError; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | /// Checks if a type name is valid in Concerto [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/introspect/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | name.chars().next().map_or(false, |c| c.is_ascii_alphabetic()) && [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 13 - name.chars().next().map_or(false, |c| c.is_ascii_alphabetic()) && [INFO] [stdout] 13 + name.chars().next().is_some_and(|c| c.is_ascii_alphabetic()) && [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/introspect/mod.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | namespace.split('.').all(|part| is_valid_type_name(part)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `is_valid_type_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/util.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / pub mod util { [INFO] [stdout] 3 | | use semver::Version; [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | /// Checks if a string is a valid semver version [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_property_type` is never used [INFO] [stdout] --> src/model_manager.rs:236:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ModelManager { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | fn validate_property_type(&self, property: &Property) -> Result<(), ConcertoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/introspect/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / pub mod introspect { [INFO] [stdout] 4 | | use crate::error::ConcertoError; [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | /// Checks if a type name is valid in Concerto [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `map_or` can be simplified [INFO] [stdout] --> src/introspect/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | name.chars().next().map_or(false, |c| c.is_ascii_alphabetic()) && [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or [INFO] [stdout] = note: `#[warn(clippy::unnecessary_map_or)]` on by default [INFO] [stdout] help: use `is_some_and` instead [INFO] [stdout] | [INFO] [stdout] 13 - name.chars().next().map_or(false, |c| c.is_ascii_alphabetic()) && [INFO] [stdout] 13 + name.chars().next().is_some_and(|c| c.is_ascii_alphabetic()) && [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant closure [INFO] [stdout] --> src/introspect/mod.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | namespace.split('.').all(|part| is_valid_type_name(part)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the function itself: `is_valid_type_name` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure [INFO] [stdout] = note: `#[warn(clippy::redundant_closure)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/util.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / pub mod util { [INFO] [stdout] 3 | | use semver::Version; [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | /// Checks if a string is a valid semver version [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/metamodel/utils.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | serialize_datetime(&dt, serializer) [INFO] [stdout] | ^^^ help: change this to: `dt` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/traits.rs:673:16 [INFO] [stdout] | [INFO] [stdout] 673 | if !CommonDeclarationValidator::validate_identifier(&property.name).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `CommonDeclarationValidator::validate_identifier(&property.name).is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/metamodel/utils.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | serialize_datetime(&dt, serializer) [INFO] [stdout] | ^^^ help: change this to: `dt` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/traits.rs:673:16 [INFO] [stdout] | [INFO] [stdout] 673 | if !CommonDeclarationValidator::validate_identifier(&property.name).is_ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `CommonDeclarationValidator::validate_identifier(&property.name).is_err()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StringLengthValidator` [INFO] [stdout] --> tests/scalar_tests.rs:5:51 [INFO] [stdout] | [INFO] [stdout] 5 | IntegerDomainValidator, StringRegexValidator, StringLengthValidator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decorator` [INFO] [stdout] --> tests/enum_tests.rs:4:102 [INFO] [stdout] | [INFO] [stdout] 4 | use concerto_core::metamodel::concerto_metamodel_1_0_0::{EnumDeclaration, EnumProperty, Declaration, Decorator}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concerto_core::traits::DeclarationBase` [INFO] [stdout] --> tests/enum_tests.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use concerto_core::traits::DeclarationBase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant field names in struct initialization [INFO] [stdout] --> tests/enum_tests.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | properties: properties, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `properties` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stdout] = note: `#[warn(clippy::redundant_field_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `concerto_core` [INFO] [stdout] --> tests/enum_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use concerto_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/conformance_tests.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut model_file = ModelFile::from_namespace("org.example".to_string(), Some("1.0.0".to_string())); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `model_file` [INFO] [stdout] --> tests/conformance_tests.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut model_file = ModelFile::from_namespace("org.example".to_string(), Some("1.0.0".to_string())); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_model_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.93s [INFO] [stdout] warning: unused import: `concerto_core` [INFO] [stdout] --> tests/namespace_tests.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use concerto_core::*; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cad439d97f7aeb47aac2cdb3594ced5c764491e04084316d505a979d732dd4d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cad439d97f7aeb47aac2cdb3594ced5c764491e04084316d505a979d732dd4d2", kill_on_drop: false }` [INFO] [stdout] cad439d97f7aeb47aac2cdb3594ced5c764491e04084316d505a979d732dd4d2