[INFO] cloning repository https://github.com/marcinmilewicz/ng-analyzer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcinmilewicz/ng-analyzer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinmilewicz%2Fng-analyzer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinmilewicz%2Fng-analyzer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c63b79c64ebfb26507e5e670a69cc38884eb6d1c
[INFO] linting marcinmilewicz/ng-analyzer against nightly for clippy-nonminimal_bool-denied
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinmilewicz%2Fng-analyzer" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/marcinmilewicz/ng-analyzer
[INFO] finished tweaking git repo https://github.com/marcinmilewicz/ng-analyzer
[INFO] tweaked toml for git repo https://github.com/marcinmilewicz/ng-analyzer written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/marcinmilewicz/ng-analyzer 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/marcinmilewicz/ng-analyzer 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] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded unicode-id-start v1.3.1
[INFO] [stderr] Downloaded swc_allocator v2.0.0
[INFO] [stderr] Downloaded swc_atoms v3.0.0
[INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.0
[INFO] [stderr] Downloaded swc_ecma_ast v5.0.0
[INFO] [stderr] Downloaded swc_visit v2.0.0
[INFO] [stderr] Downloaded allocator-api2 v0.2.20
[INFO] [stderr] Downloaded cpufeatures v0.2.16
[INFO] [stderr] Downloaded better_scoped_tls v1.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms v7.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es3 v6.0.0
[INFO] [stderr] Downloaded swc_macros_common v1.0.0
[INFO] [stderr] Downloaded anstyle-wincon v3.0.6
[INFO] [stderr] Downloaded swc_ecma_usage_analyzer v6.0.0
[INFO] [stderr] Downloaded swc_ecma_codegen_macros v1.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms_module v6.0.0
[INFO] [stderr] Downloaded jsonc-parser v0.21.1
[INFO] [stderr] Downloaded swc_ecma_lints v6.0.0
[INFO] [stderr] Downloaded clap v4.5.23
[INFO] [stderr] Downloaded swc_ecma_preset_env v7.0.0
[INFO] [stderr] Downloaded miette v7.4.0
[INFO] [stderr] Downloaded cc v1.2.2
[INFO] [stderr] Downloaded swc_ecma_parser v6.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2015 v6.0.0
[INFO] [stderr] Downloaded clap_builder v4.5.23
[INFO] [stderr] Downloaded ryu-js v1.0.1
[INFO] [stderr] Downloaded swc v8.0.0
[INFO] [stderr] Downloaded js-sys v0.3.74
[INFO] [stderr] Downloaded swc_ecma_minifier v6.0.0
[INFO] [stderr] Downloaded swc_ecma_visit v5.0.0
[INFO] [stderr] Downloaded wasm-bindgen v0.2.97
[INFO] [stderr] Downloaded browserslist-rs v0.16.1
[INFO] [stderr] Downloaded swc_ecma_transforms_base v6.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms_optimization v6.0.0
[INFO] [stderr] Downloaded swc_typescript v5.0.0
[INFO] [stderr] Downloaded psm v0.1.24
[INFO] [stderr] Downloaded sourcemap v9.1.2
[INFO] [stderr] Downloaded swc_ecma_codegen v5.0.0
[INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.97
[INFO] [stderr] Downloaded swc_ecma_transforms_react v6.0.0
[INFO] [stderr] Downloaded swc_ecma_utils v6.0.0
[INFO] [stderr] Downloaded swc_common v5.0.0
[INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.97
[INFO] [stderr] Downloaded swc_ecma_transforms_proposal v6.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms_typescript v6.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2022 v7.0.0
[INFO] [stderr] Downloaded unicode-id v0.3.5
[INFO] [stderr] Downloaded owo-colors v4.1.0
[INFO] [stderr] Downloaded ptr_meta_derive v0.3.0
[INFO] [stderr] Downloaded static-map-macro v0.3.4
[INFO] [stderr] Downloaded normpath v0.2.0
[INFO] [stderr] Downloaded path-clean v0.1.0
[INFO] [stderr] Downloaded swc_ecma_compat_bugfixes v6.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2019 v6.0.0
[INFO] [stderr] Downloaded miette-derive v7.4.0
[INFO] [stderr] Downloaded swc_compiler_base v7.0.0
[INFO] [stderr] Downloaded swc_ecma_ext_transforms v6.0.0
[INFO] [stderr] Downloaded radix_fmt v1.0.0
[INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.97
[INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.97
[INFO] [stderr] Downloaded preset_env_base v1.0.0
[INFO] [stderr] Downloaded st-map v0.2.4
[INFO] [stderr] Downloaded path-clean v1.0.1
[INFO] [stderr] Downloaded swc_ecma_loader v5.0.0
[INFO] [stderr] Downloaded swc_config v1.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2016 v6.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2018 v6.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2020 v7.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2021 v6.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_common v6.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms_classes v6.0.0
[INFO] [stderr] Downloaded swc_trace_macro v2.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms_compat v7.0.0
[INFO] [stderr] Downloaded swc_ecma_transforms_macros v1.0.0
[INFO] [stderr] Downloaded swc_fast_graph v6.0.0
[INFO] [stderr] Downloaded swc_error_reporters v6.0.0
[INFO] [stderr] Downloaded swc_node_comments v5.0.0
[INFO] [stderr] Downloaded swc_timer v1.0.0
[INFO] [stderr] Downloaded swc_transform_common v1.0.0
[INFO] [stderr] Downloaded string_enum v1.0.0
[INFO] [stderr] Downloaded ast_node v3.0.0
[INFO] [stderr] Downloaded from_variant v2.0.0
[INFO] [stderr] Downloaded swc_cached v1.0.0
[INFO] [stderr] Downloaded swc_config_macro v1.0.0
[INFO] [stderr] Downloaded swc_ecma_compat_es2017 v6.0.0
[INFO] [stderr] Downloaded stacker v0.1.17
[INFO] [stderr] Downloaded ptr_meta v0.3.0
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bc32f703877d74a3c623b33ec8a135b6e2bbfdfa09ace1ccb6d535c478b5d8b2
[INFO] running `Command { std: "docker" "start" "-a" "bc32f703877d74a3c623b33ec8a135b6e2bbfdfa09ace1ccb6d535c478b5d8b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bc32f703877d74a3c623b33ec8a135b6e2bbfdfa09ace1ccb6d535c478b5d8b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bc32f703877d74a3c623b33ec8a135b6e2bbfdfa09ace1ccb6d535c478b5d8b2", kill_on_drop: false }`
[INFO] [stdout] bc32f703877d74a3c623b33ec8a135b6e2bbfdfa09ace1ccb6d535c478b5d8b2
[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" "-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] a23da13d2a967ff1afd161383a0d384b08122ce157697b124f38dfe6b84a0513
[INFO] running `Command { std: "docker" "start" "-a" "a23da13d2a967ff1afd161383a0d384b08122ce157697b124f38dfe6b84a0513", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.92
[INFO] [stderr] Compiling serde v1.0.215
[INFO] [stderr] Compiling libc v0.2.167
[INFO] [stderr] Checking smallvec v1.13.2
[INFO] [stderr] Checking writeable v0.5.5
[INFO] [stderr] Checking litemap v0.7.4
[INFO] [stderr] Checking allocator-api2 v0.2.20
[INFO] [stderr] Checking icu_locid_transform_data v1.5.0
[INFO] [stderr] Compiling ahash v0.8.11
[INFO] [stderr] Compiling serde_json v1.0.133
[INFO] [stderr] Compiling num-traits v0.2.19
[INFO] [stderr] Checking icu_properties_data v1.5.0
[INFO] [stderr] Checking write16 v1.0.0
[INFO] [stderr] Checking utf16_iter v1.0.5
[INFO] [stderr] Checking icu_normalizer_data v1.5.0
[INFO] [stderr] Compiling rand_core v0.6.4
[INFO] [stderr] Compiling phf_shared v0.11.2
[INFO] [stderr] Checking either v1.13.0
[INFO] [stderr] Checking percent-encoding v2.3.1
[INFO] [stderr] Checking siphasher v0.3.11
[INFO] [stderr] Checking outref v0.1.0
[INFO] [stderr] Checking form_urlencoded v1.2.1
[INFO] [stderr] Checking tracing-core v0.1.33
[INFO] [stderr] Compiling rand v0.8.5
[INFO] [stderr] Checking simd-abstraction v0.7.1
[INFO] [stderr] Checking pin-project-lite v0.2.15
[INFO] [stderr] Checking uuid v1.11.0
[INFO] [stderr] Checking unicode-id-start v1.3.1
[INFO] [stderr] Checking if_chain v1.0.2
[INFO] [stderr] Checking better_scoped_tls v1.0.0
[INFO] [stderr] Checking swc_visit v2.0.0
[INFO] [stderr] Checking unicode-id v0.3.5
[INFO] [stderr] Checking ryu-js v1.0.1
[INFO] [stderr] Compiling smartstring v1.0.1
[INFO] [stderr] Compiling cc v1.2.2
[INFO] [stderr] Checking typed-arena v2.0.2
[INFO] [stderr] Checking base64-simd v0.7.0
[INFO] [stderr] Compiling anyhow v1.0.93
[INFO] [stderr] Checking bumpalo v3.16.0
[INFO] [stderr] Checking regex-automata v0.4.9
[INFO] [stderr] Checking generic-array v0.14.7
[INFO] [stderr] Compiling crossbeam-utils v0.8.20
[INFO] [stderr] Checking cpufeatures v0.2.16
[INFO] [stderr] Compiling owo-colors v4.1.0
[INFO] [stderr] Checking path-clean v0.1.0
[INFO] [stderr] Compiling rayon-core v1.12.1
[INFO] [stderr] Compiling phf_generator v0.11.2
[INFO] [stderr] Checking minimal-lexical v0.2.1
[INFO] [stderr] Compiling semver v1.0.23
[INFO] [stderr] Checking itertools v0.13.0
[INFO] [stderr] Checking unicode-linebreak v0.1.5
[INFO] [stderr] Checking path-clean v1.0.1
[INFO] [stderr] Checking anstyle-parse v0.2.6
[INFO] [stderr] Compiling quote v1.0.37
[INFO] [stderr] Checking anstyle v1.0.10
[INFO] [stderr] Checking colorchoice v1.0.3
[INFO] [stderr] Checking radix_fmt v1.0.0
[INFO] [stderr] Checking nom v7.1.3
[INFO] [stderr] Checking anstyle-query v1.1.2
[INFO] [stderr] Compiling syn v2.0.90
[INFO] [stderr] Checking clap_lex v0.7.4
[INFO] [stderr] Checking num-integer v0.1.46
[INFO] [stderr] Checking getrandom v0.2.15
[INFO] [stderr] Checking parking_lot_core v0.9.10
[INFO] [stderr] Checking num_cpus v1.16.0
[INFO] [stderr] Checking chrono v0.4.38
[INFO] [stderr] Checking textwrap v0.16.1
[INFO] [stderr] Checking anstream v0.6.18
[INFO] [stderr] Checking block-buffer v0.10.4
[INFO] [stderr] Checking crypto-common v0.1.6
[INFO] [stderr] Checking parking_lot v0.12.3
[INFO] [stderr] Checking clap_builder v4.5.23
[INFO] [stderr] Checking digest v0.10.7
[INFO] [stderr] Checking sha1 v0.10.6
[INFO] [stderr] Checking crossbeam-epoch v0.9.18
[INFO] [stderr] Checking crossbeam-deque v0.8.5
[INFO] [stderr] Checking rayon v1.10.0
[INFO] [stderr] Compiling psm v0.1.24
[INFO] [stderr] Compiling stacker v0.1.17
[INFO] [stderr] Checking regex v1.11.1
[INFO] [stderr] Checking Inflector v0.11.4
[INFO] [stderr] Compiling synstructure v0.13.1
[INFO] [stderr] Compiling swc_macros_common v1.0.0
[INFO] [stderr] Compiling serde_derive v1.0.215
[INFO] [stderr] Compiling zerofrom-derive v0.1.5
[INFO] [stderr] Compiling yoke-derive v0.7.5
[INFO] [stderr] Compiling zerovec-derive v0.10.3
[INFO] [stderr] Compiling displaydoc v0.2.5
[INFO] [stderr] Compiling icu_provider_macros v1.5.0
[INFO] [stderr] Compiling phf_macros v0.11.2
[INFO] [stderr] Compiling tracing-attributes v0.1.28
[INFO] [stderr] Compiling ptr_meta_derive v0.3.0
[INFO] [stderr] Compiling from_variant v2.0.0
[INFO] [stderr] Compiling ast_node v3.0.0
[INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0
[INFO] [stderr] Compiling is-macro v0.3.7
[INFO] [stderr] Compiling string_enum v1.0.0
[INFO] [stderr] Compiling swc_ecma_transforms_macros v1.0.0
[INFO] [stderr] Compiling swc_trace_macro v2.0.0
[INFO] [stderr] Compiling swc_config_macro v1.0.0
[INFO] [stderr] Compiling thiserror-impl v1.0.69
[INFO] [stderr] Compiling static-map-macro v0.3.4
[INFO] [stderr] Compiling swc_ecma_codegen_macros v1.0.0
[INFO] [stderr] Compiling miette-derive v7.4.0
[INFO] [stderr] Checking ptr_meta v0.3.0
[INFO] [stderr] Compiling auto_impl v1.2.0
[INFO] [stderr] Compiling clap_derive v4.5.18
[INFO] [stderr] Checking phf v0.11.2
[INFO] [stderr] Checking st-map v0.2.4
[INFO] [stderr] Checking zerofrom v0.1.5
[INFO] [stderr] Checking yoke v0.7.5
[INFO] [stderr] Checking tracing v0.1.41
[INFO] [stderr] Checking thiserror v1.0.69
[INFO] [stderr] Checking swc_timer v1.0.0
[INFO] [stderr] Checking zerovec v0.10.4
[INFO] [stderr] Checking miette v7.4.0
[INFO] [stderr] Checking tinystr v0.7.6
[INFO] [stderr] Checking icu_collections v1.5.0
[INFO] [stderr] Checking icu_locid v1.5.0
[INFO] [stderr] Checking clap v4.5.23
[INFO] [stderr] Checking icu_provider v1.5.0
[INFO] [stderr] Checking icu_locid_transform v1.5.0
[INFO] [stderr] Checking icu_properties v1.5.1
[INFO] [stderr] Checking triomphe v0.1.14
[INFO] [stderr] Checking debugid v0.8.0
[INFO] [stderr] Checking num-bigint v0.4.6
[INFO] [stderr] Checking indexmap v2.7.0
[INFO] [stderr] Checking hashbrown v0.14.5
[INFO] [stderr] Checking hashbrown v0.13.2
[INFO] [stderr] Checking hstr v0.2.12
[INFO] [stderr] Checking swc_allocator v2.0.0
[INFO] [stderr] Checking dashmap v5.5.3
[INFO] [stderr] Checking petgraph v0.6.5
[INFO] [stderr] Checking swc_atoms v3.0.0
[INFO] [stderr] Checking lru v0.10.1
[INFO] [stderr] Checking browserslist-rs v0.16.1
[INFO] [stderr] Checking jsonc-parser v0.21.1
[INFO] [stderr] Checking swc_transform_common v1.0.0
[INFO] [stderr] Checking icu_normalizer v1.5.0
[INFO] [stderr] Checking swc_cached v1.0.0
[INFO] [stderr] Checking idna_adapter v1.2.0
[INFO] [stderr] Checking idna v1.0.3
[INFO] [stderr] Checking url v2.5.4
[INFO] [stderr] Checking sourcemap v9.1.2
[INFO] [stderr] Checking swc_common v5.0.0
[INFO] [stderr] Checking swc_config v1.0.0
[INFO] [stderr] Checking preset_env_base v1.0.0
[INFO] [stderr] Checking swc_ecma_ast v5.0.0
[INFO] [stderr] Checking swc_fast_graph v6.0.0
[INFO] [stderr] Checking swc_ecma_loader v5.0.0
[INFO] [stderr] Checking swc_node_comments v5.0.0
[INFO] [stderr] Checking swc_error_reporters v6.0.0
[INFO] [stderr] Checking swc_ecma_visit v5.0.0
[INFO] [stderr] Checking swc_ecma_parser v6.0.0
[INFO] [stderr] Checking swc_ecma_codegen v5.0.0
[INFO] [stderr] Checking swc_ecma_utils v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_common v6.0.0
[INFO] [stderr] Checking swc_ecma_usage_analyzer v6.0.0
[INFO] [stderr] Checking swc_ecma_ext_transforms v6.0.0
[INFO] [stderr] Checking swc_ecma_lints v6.0.0
[INFO] [stderr] Checking swc_typescript v5.0.0
[INFO] [stderr] Checking swc_ecma_transforms_base v6.0.0
[INFO] [stderr] Checking swc_ecma_transforms_classes v6.0.0
[INFO] [stderr] Checking swc_ecma_transforms_optimization v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2016 v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2018 v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2021 v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es3 v6.0.0
[INFO] [stderr] Checking swc_ecma_transforms_react v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2019 v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2017 v6.0.0
[INFO] [stderr] Checking swc_ecma_transforms_module v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2015 v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2022 v7.0.0
[INFO] [stderr] Checking swc_ecma_transforms_proposal v6.0.0
[INFO] [stderr] Checking swc_ecma_transforms_typescript v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_es2020 v7.0.0
[INFO] [stderr] Checking swc_ecma_minifier v6.0.0
[INFO] [stderr] Checking swc_ecma_compat_bugfixes v6.0.0
[INFO] [stderr] Checking swc_ecma_transforms_compat v7.0.0
[INFO] [stderr] Checking swc_ecma_transforms v7.0.0
[INFO] [stderr] Checking swc_ecma_preset_env v7.0.0
[INFO] [stderr] Checking swc_compiler_base v7.0.0
[INFO] [stderr] Checking swc v8.0.0
[INFO] [stderr] Checking ng-analyzer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout] --> src/analysis/processor/file_processor.rs:55:28
[INFO] [stdout] |
[INFO] [stdout] 55 | pub fn filter
(self, predicate: P) -> Self
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `predicate`
[INFO] [stdout] --> src/analysis/processor/file_processor.rs:55:28
[INFO] [stdout] |
[INFO] [stdout] 55 | pub fn filter
(self, predicate: P) -> Self
[INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_predicate`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_dependencies`, `get_dependents`, `get_all_dependencies`, `analyze_circular_dependencies`, and `find_cycles` are never used
[INFO] [stdout] --> src/analysis/resolvers/import_graph.rs:37:12
[INFO] [stdout] |
[INFO] [stdout] 11 | impl ImportGraph {
[INFO] [stdout] | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 | pub fn get_dependencies(&self, file: &PathBuf) -> Option> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 | pub fn get_dependents(&self, file: &PathBuf) -> Option> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 | pub fn get_all_dependencies(&self, file: &PathBuf) -> HashSet {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 | pub fn analyze_circular_dependencies(&self) -> Vec> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | fn find_cycles(
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `save_to_json` is never used
[INFO] [stdout] --> src/analysis/timing.rs:35:12
[INFO] [stdout] |
[INFO] [stdout] 9 | impl TimingMetrics {
[INFO] [stdout] | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub fn save_to_json(&self) -> Result<(), std::io::Error> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `clear_cache`, `remove_from_cache`, and `get_cache_stats` are never used
[INFO] [stdout] --> src/file_cache_reader.rs:47:12
[INFO] [stdout] |
[INFO] [stdout] 19 | impl CachedFileReader {
[INFO] [stdout] | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 | pub fn clear_cache(&self) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 | pub fn remove_from_cache(&self, path: &Path) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub fn get_cache_stats(&self) -> CacheStats {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `CacheStats` is never constructed
[INFO] [stdout] --> src/file_cache_reader.rs:73:12
[INFO] [stdout] |
[INFO] [stdout] 73 | pub struct CacheStats {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `TSConfigCache` is never constructed
[INFO] [stdout] --> src/file_cache_reader.rs:78:12
[INFO] [stdout] |
[INFO] [stdout] 78 | pub struct TSConfigCache {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `get_config` are never used
[INFO] [stdout] --> src/file_cache_reader.rs:84:12
[INFO] [stdout] |
[INFO] [stdout] 83 | impl TSConfigCache {
[INFO] [stdout] | ------------------ associated items in this implementation
[INFO] [stdout] 84 | pub fn new(cache_duration: Duration) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 | pub fn get_config(&self, path: &Path) -> io::Result {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_imports` is never used
[INFO] [stdout] --> src/ng/visitors/visitor.rs:44:8
[INFO] [stdout] |
[INFO] [stdout] 25 | impl<'a> AngularVisitor<'a> {
[INFO] [stdout] | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 | fn get_imports(&self) -> &[ResolvedImport] {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `properties` is never read
[INFO] [stdout] --> src/ng/analyzers/decorator_analyzer.rs:13:9
[INFO] [stdout] |
[INFO] [stdout] 11 | pub struct DecoratorAnalysis {
[INFO] [stdout] | ----------------- field in this struct
[INFO] [stdout] 12 | pub name: String,
[INFO] [stdout] 13 | pub properties: Vec<(String, String)>,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `DecoratorAnalysis` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `get_decorator_props` is never used
[INFO] [stdout] --> src/ng/analyzers/decorator_analyzer.rs:75:12
[INFO] [stdout] |
[INFO] [stdout] 72 | impl DecoratorAnalyzer {
[INFO] [stdout] | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 | pub fn get_decorator_props(decorator: &Decorator) -> Option<&swc_ecma_ast::ObjectLit> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_name`, `get_source_root`, `get_prefix`, `get_tags`, and `get_project_type` are never used
[INFO] [stdout] --> src/nx/config/project.rs:15:12
[INFO] [stdout] |
[INFO] [stdout] 14 | impl NxProjectConfig {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] 15 | pub fn get_name(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 | pub fn get_source_root(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 | pub fn get_prefix(&self) -> Option<&str> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | pub fn get_tags(&self) -> Option<&Vec> {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub fn get_project_type(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_config`, `get_ts_config`, and `get_name` are never used
[INFO] [stdout] --> src/nx/nx_project.rs:30:12
[INFO] [stdout] |
[INFO] [stdout] 15 | impl NxProject {
[INFO] [stdout] | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 | pub fn get_config(&self) -> &NxProjectConfig {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 | pub fn get_ts_config(&self) -> &TSConfig {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 | pub fn get_name(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this creates an owned instance just for comparison
[INFO] [stdout] --> src/analysis/models/import.rs:23:34
[INFO] [stdout] |
[INFO] [stdout] 23 | if self.resolved_path != PathBuf::from("unknown") {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"unknown"`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
[INFO] [stdout] = note: `#[warn(clippy::cmp_owned)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_dependencies`, `get_dependents`, `get_all_dependencies`, `analyze_circular_dependencies`, and `find_cycles` are never used
[INFO] [stdout] --> src/analysis/resolvers/import_graph.rs:37:12
[INFO] [stdout] |
[INFO] [stdout] 11 | impl ImportGraph {
[INFO] [stdout] | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 | pub fn get_dependencies(&self, file: &PathBuf) -> Option> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 | pub fn get_dependents(&self, file: &PathBuf) -> Option> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 | pub fn get_all_dependencies(&self, file: &PathBuf) -> HashSet {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 | pub fn analyze_circular_dependencies(&self) -> Vec> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 | fn find_cycles(
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `save_to_json` is never used
[INFO] [stdout] --> src/analysis/timing.rs:35:12
[INFO] [stdout] |
[INFO] [stdout] 9 | impl TimingMetrics {
[INFO] [stdout] | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 35 | pub fn save_to_json(&self) -> Result<(), std::io::Error> {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `clear_cache`, `remove_from_cache`, and `get_cache_stats` are never used
[INFO] [stdout] --> src/file_cache_reader.rs:47:12
[INFO] [stdout] |
[INFO] [stdout] 19 | impl CachedFileReader {
[INFO] [stdout] | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 47 | pub fn clear_cache(&self) {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 | pub fn remove_from_cache(&self, path: &Path) {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 | pub fn get_cache_stats(&self) -> CacheStats {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `CacheStats` is never constructed
[INFO] [stdout] --> src/file_cache_reader.rs:73:12
[INFO] [stdout] |
[INFO] [stdout] 73 | pub struct CacheStats {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `TSConfigCache` is never constructed
[INFO] [stdout] --> src/file_cache_reader.rs:78:12
[INFO] [stdout] |
[INFO] [stdout] 78 | pub struct TSConfigCache {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `get_config` are never used
[INFO] [stdout] --> src/file_cache_reader.rs:84:12
[INFO] [stdout] |
[INFO] [stdout] 83 | impl TSConfigCache {
[INFO] [stdout] | ------------------ associated items in this implementation
[INFO] [stdout] 84 | pub fn new(cache_duration: Duration) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 91 | pub fn get_config(&self, path: &Path) -> io::Result {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `get_imports` is never used
[INFO] [stdout] --> src/ng/visitors/visitor.rs:44:8
[INFO] [stdout] |
[INFO] [stdout] 25 | impl<'a> AngularVisitor<'a> {
[INFO] [stdout] | --------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 | fn get_imports(&self) -> &[ResolvedImport] {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `properties` is never read
[INFO] [stdout] --> src/ng/analyzers/decorator_analyzer.rs:13:9
[INFO] [stdout] |
[INFO] [stdout] 11 | pub struct DecoratorAnalysis {
[INFO] [stdout] | ----------------- field in this struct
[INFO] [stdout] 12 | pub name: String,
[INFO] [stdout] 13 | pub properties: Vec<(String, String)>,
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `DecoratorAnalysis` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `get_decorator_props` is never used
[INFO] [stdout] --> src/ng/analyzers/decorator_analyzer.rs:75:12
[INFO] [stdout] |
[INFO] [stdout] 72 | impl DecoratorAnalyzer {
[INFO] [stdout] | ---------------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 75 | pub fn get_decorator_props(decorator: &Decorator) -> Option<&swc_ecma_ast::ObjectLit> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_name`, `get_source_root`, `get_prefix`, `get_tags`, and `get_project_type` are never used
[INFO] [stdout] --> src/nx/config/project.rs:15:12
[INFO] [stdout] |
[INFO] [stdout] 14 | impl NxProjectConfig {
[INFO] [stdout] | -------------------- methods in this implementation
[INFO] [stdout] 15 | pub fn get_name(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 19 | pub fn get_source_root(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 | pub fn get_prefix(&self) -> Option<&str> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 | pub fn get_tags(&self) -> Option<&Vec> {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 | pub fn get_project_type(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: methods `get_config`, `get_ts_config`, and `get_name` are never used
[INFO] [stdout] --> src/nx/nx_project.rs:30:12
[INFO] [stdout] |
[INFO] [stdout] 15 | impl NxProject {
[INFO] [stdout] | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 30 | pub fn get_config(&self) -> &NxProjectConfig {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 33 | pub fn get_ts_config(&self) -> &TSConfig {
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 | pub fn get_name(&self) -> &str {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: use of `or_insert_with` to construct default value
[INFO] [stdout] --> src/analysis/resolvers/cache.rs:28:14
[INFO] [stdout] |
[INFO] [stdout] 28 | .or_insert_with(DashMap::new)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
[INFO] [stdout] = note: `#[warn(clippy::unwrap_or_default)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this creates an owned instance just for comparison
[INFO] [stdout] --> src/analysis/models/import.rs:23:34
[INFO] [stdout] |
[INFO] [stdout] 23 | if self.resolved_path != PathBuf::from("unknown") {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `*"unknown"`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cmp_owned
[INFO] [stdout] = note: `#[warn(clippy::cmp_owned)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
[INFO] [stdout] --> src/analysis/resolvers/import_graph.rs:45:46
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get_all_dependencies(&self, file: &PathBuf) -> HashSet {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 45 ~ pub fn get_all_dependencies(&self, file: &Path) -> HashSet {
[INFO] [stdout] 46 | let mut all_deps = HashSet::new();
[INFO] [stdout] 47 ~ let mut to_process = vec![file.to_path_buf()];
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
[INFO] [stdout] --> src/analysis/resolvers/import_resolver.rs:21:20
[INFO] [stdout] |
[INFO] [stdout] 21 | base_path: &PathBuf,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 21 ~ base_path: &Path,
[INFO] [stdout] 22 | shared_cache: Option,
[INFO] [stdout] ...
[INFO] [stdout] 27 | import_parser: ImportParser {},
[INFO] [stdout] 28 ~ import_path_resolver: ImportPathResolver::new(base_path.to_path_buf()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the borrowed expression implements the required traits
[INFO] [stdout] --> src/analysis/resolvers/parsers.rs:30:41
[INFO] [stdout] |
[INFO] [stdout] 30 | let source = fs::read_to_string(&path).ok()?;
[INFO] [stdout] | ^^^^^ help: change this to: `path`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
[INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this boolean expression can be simplified
[INFO] [stdout] --> src/analysis/resolvers/parsers.rs:170:12
[INFO] [stdout] |
[INFO] [stdout] 170 | if !resolved.extension().is_some() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `resolved.extension().is_none()`
[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: use of `or_insert_with` to construct default value
[INFO] [stdout] --> src/analysis/resolvers/cache.rs:28:14
[INFO] [stdout] |
[INFO] [stdout] 28 | .or_insert_with(DashMap::new)
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `or_default()`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
[INFO] [stdout] = note: `#[warn(clippy::unwrap_or_default)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
[INFO] [stdout] --> src/analysis/resolvers/import_graph.rs:45:46
[INFO] [stdout] |
[INFO] [stdout] 45 | pub fn get_all_dependencies(&self, file: &PathBuf) -> HashSet {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 45 ~ pub fn get_all_dependencies(&self, file: &Path) -> HashSet {
[INFO] [stdout] 46 | let mut all_deps = HashSet::new();
[INFO] [stdout] 47 ~ let mut to_process = vec![file.to_path_buf()];
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
[INFO] [stdout] --> src/analysis/resolvers/import_resolver.rs:21:20
[INFO] [stdout] |
[INFO] [stdout] 21 | base_path: &PathBuf,
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 21 ~ base_path: &Path,
[INFO] [stdout] 22 | shared_cache: Option,
[INFO] [stdout] ...
[INFO] [stdout] 27 | import_parser: ImportParser {},
[INFO] [stdout] 28 ~ import_path_resolver: ImportPathResolver::new(base_path.to_path_buf()),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
[INFO] [stdout] --> src/analysis/processor/collector.rs:8:15
[INFO] [stdout] |
[INFO] [stdout] 8 | path: &PathBuf,
[INFO] [stdout] | ^^^^^^^^ help: change this to: `&Path`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the borrowed expression implements the required traits
[INFO] [stdout] --> src/analysis/resolvers/parsers.rs:30:41
[INFO] [stdout] |
[INFO] [stdout] 30 | let source = fs::read_to_string(&path).ok()?;
[INFO] [stdout] | ^^^^^ help: change this to: `path`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
[INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `map_or` can be simplified
[INFO] [stdout] --> src/analysis/processor/file_processor.rs:51:44
[INFO] [stdout] |
[INFO] [stdout] 51 | entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[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] 51 - entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[INFO] [stdout] 51 + entry.file_type().is_file() && entry.path().extension().is_some_and(|ext| ext == "ts")
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `map_or` can be simplified
[INFO] [stdout] --> src/analysis/processor/file_processor.rs:72:48
[INFO] [stdout] |
[INFO] [stdout] 72 | entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[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] help: use `is_some_and` instead
[INFO] [stdout] |
[INFO] [stdout] 72 - entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[INFO] [stdout] 72 + entry.file_type().is_file() && entry.path().extension().is_some_and(|ext| ext == "ts")
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this boolean expression can be simplified
[INFO] [stdout] --> src/analysis/resolvers/parsers.rs:170:12
[INFO] [stdout] |
[INFO] [stdout] 170 | if !resolved.extension().is_some() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `resolved.extension().is_none()`
[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 function has too many arguments (9/7)
[INFO] [stdout] --> src/ng/models/ng_component.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | / pub fn new(
[INFO] [stdout] 18 | | name: String,
[INFO] [stdout] 19 | | selector: String,
[INFO] [stdout] 20 | | template_path: String,
[INFO] [stdout] ... |
[INFO] [stdout] 26 | | package_name: String,
[INFO] [stdout] 27 | | ) -> Self {
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&PathBuf` instead of `&Path` involves a new object where a slice will do
[INFO] [stdout] --> src/analysis/processor/collector.rs:8:15
[INFO] [stdout] |
[INFO] [stdout] 8 | path: &PathBuf,
[INFO] [stdout] | ^^^^^^^^ help: change this to: `&Path`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `map_or` can be simplified
[INFO] [stdout] --> src/analysis/processor/file_processor.rs:51:44
[INFO] [stdout] |
[INFO] [stdout] 51 | entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[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] 51 - entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[INFO] [stdout] 51 + entry.file_type().is_file() && entry.path().extension().is_some_and(|ext| ext == "ts")
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `map_or` can be simplified
[INFO] [stdout] --> src/analysis/processor/file_processor.rs:72:48
[INFO] [stdout] |
[INFO] [stdout] 72 | entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[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] help: use `is_some_and` instead
[INFO] [stdout] |
[INFO] [stdout] 72 - entry.file_type().is_file() && entry.path().extension().map_or(false, |ext| ext == "ts")
[INFO] [stdout] 72 + entry.file_type().is_file() && entry.path().extension().is_some_and(|ext| ext == "ts")
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this function has too many arguments (9/7)
[INFO] [stdout] --> src/ng/models/ng_component.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | / pub fn new(
[INFO] [stdout] 18 | | name: String,
[INFO] [stdout] 19 | | selector: String,
[INFO] [stdout] 20 | | template_path: String,
[INFO] [stdout] ... |
[INFO] [stdout] 26 | | package_name: String,
[INFO] [stdout] 27 | | ) -> Self {
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: returning the result of a `let` binding from a block
[INFO] [stdout] --> src/ng/models/ng_base.rs:29:9
[INFO] [stdout] |
[INFO] [stdout] 22 | / let base = Self {
[INFO] [stdout] 23 | | name,
[INFO] [stdout] 24 | | imports,
[INFO] [stdout] 25 | | source_path,
[INFO] [stdout] 26 | | relative_path,
[INFO] [stdout] 27 | | package_name,
[INFO] [stdout] 28 | | };
[INFO] [stdout] | |__________- unnecessary `let` binding
[INFO] [stdout] 29 | base
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
[INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default
[INFO] [stdout] help: return the expression directly
[INFO] [stdout] |
[INFO] [stdout] 22 ~
[INFO] [stdout] 23 ~ Self {
[INFO] [stdout] 24 + name,
[INFO] [stdout] 25 + imports,
[INFO] [stdout] 26 + source_path,
[INFO] [stdout] 27 + relative_path,
[INFO] [stdout] 28 + package_name,
[INFO] [stdout] 29 + }
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this function has too many arguments (8/7)
[INFO] [stdout] --> src/ng/models/ng_pipe.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | / pub fn new(
[INFO] [stdout] 17 | | class_name: String,
[INFO] [stdout] 18 | | name: String,
[INFO] [stdout] 19 | | pure: bool,
[INFO] [stdout] ... |
[INFO] [stdout] 24 | | package_name: String,
[INFO] [stdout] 25 | | ) -> Self {
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this function has too many arguments (9/7)
[INFO] [stdout] --> src/ng/models/ng_directive.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | / pub fn new(
[INFO] [stdout] 18 | | class_name: String,
[INFO] [stdout] 19 | | selector: String,
[INFO] [stdout] 20 | | standalone: bool,
[INFO] [stdout] ... |
[INFO] [stdout] 26 | | package_name: String,
[INFO] [stdout] 27 | | ) -> Self {
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: returning the result of a `let` binding from a block
[INFO] [stdout] --> src/ng/models/ng_base.rs:29:9
[INFO] [stdout] |
[INFO] [stdout] 22 | / let base = Self {
[INFO] [stdout] 23 | | name,
[INFO] [stdout] 24 | | imports,
[INFO] [stdout] 25 | | source_path,
[INFO] [stdout] 26 | | relative_path,
[INFO] [stdout] 27 | | package_name,
[INFO] [stdout] 28 | | };
[INFO] [stdout] | |__________- unnecessary `let` binding
[INFO] [stdout] 29 | base
[INFO] [stdout] | ^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
[INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default
[INFO] [stdout] help: return the expression directly
[INFO] [stdout] |
[INFO] [stdout] 22 ~
[INFO] [stdout] 23 ~ Self {
[INFO] [stdout] 24 + name,
[INFO] [stdout] 25 + imports,
[INFO] [stdout] 26 + source_path,
[INFO] [stdout] 27 + relative_path,
[INFO] [stdout] 28 + package_name,
[INFO] [stdout] 29 + }
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/component_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | imports: Vec,
[INFO] [stdout] ...
[INFO] [stdout] 30 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 31 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this function has too many arguments (8/7)
[INFO] [stdout] --> src/ng/models/ng_pipe.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | / pub fn new(
[INFO] [stdout] 17 | | class_name: String,
[INFO] [stdout] 18 | | name: String,
[INFO] [stdout] 19 | | pure: bool,
[INFO] [stdout] ... |
[INFO] [stdout] 24 | | package_name: String,
[INFO] [stdout] 25 | | ) -> Self {
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/directive_analyzer.rs:16:23
[INFO] [stdout] |
[INFO] [stdout] 16 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 16 ~ package_name: &str,
[INFO] [stdout] 17 | imports: Vec,
[INFO] [stdout] ...
[INFO] [stdout] 33 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 34 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/module_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | ) -> Option {
[INFO] [stdout] ...
[INFO] [stdout] 32 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 33 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/pipe_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | imports: Vec,
[INFO] [stdout] ...
[INFO] [stdout] 30 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 31 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/service_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | imports: &Vec,
[INFO] [stdout] ...
[INFO] [stdout] 28 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 29 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/service_analyzer.rs:15:18
[INFO] [stdout] |
[INFO] [stdout] 15 | imports: &Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 15 ~ imports: &[ResolvedImport],
[INFO] [stdout] 16 | ) -> Option {
[INFO] [stdout] ...
[INFO] [stdout] 25 | .unwrap_or_else(|| "root".to_string()),
[INFO] [stdout] 26 ~ imports.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this function has too many arguments (9/7)
[INFO] [stdout] --> src/ng/models/ng_directive.rs:17:5
[INFO] [stdout] |
[INFO] [stdout] 17 | / pub fn new(
[INFO] [stdout] 18 | | class_name: String,
[INFO] [stdout] 19 | | selector: String,
[INFO] [stdout] 20 | | standalone: bool,
[INFO] [stdout] ... |
[INFO] [stdout] 26 | | package_name: String,
[INFO] [stdout] 27 | | ) -> Self {
[INFO] [stdout] | |_____________^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/component_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | imports: Vec,
[INFO] [stdout] ...
[INFO] [stdout] 30 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 31 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: usage of `contains_key` followed by `insert` on a `HashMap`
[INFO] [stdout] --> src/nx/nx_workspace.rs:128:37
[INFO] [stdout] |
[INFO] [stdout] 128 | / ... if !current_paths.contains_key(&key) {
[INFO] [stdout] 129 | | ... current_paths.insert(key, value);
[INFO] [stdout] 130 | | ... }
[INFO] [stdout] | |_______________________^ help: try: `current_paths.entry(key).or_insert(value);`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_entry
[INFO] [stdout] = note: `#[warn(clippy::map_entry)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/directive_analyzer.rs:16:23
[INFO] [stdout] |
[INFO] [stdout] 16 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 16 ~ package_name: &str,
[INFO] [stdout] 17 | imports: Vec,
[INFO] [stdout] ...
[INFO] [stdout] 33 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 34 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/module_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | ) -> Option {
[INFO] [stdout] ...
[INFO] [stdout] 32 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 33 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/pipe_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | imports: Vec,
[INFO] [stdout] ...
[INFO] [stdout] 30 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 31 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/service_analyzer.rs:14:23
[INFO] [stdout] |
[INFO] [stdout] 14 | package_name: &String,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 14 ~ package_name: &str,
[INFO] [stdout] 15 | imports: &Vec,
[INFO] [stdout] ...
[INFO] [stdout] 28 | crate::analysis::utils::path_utils::get_relative_path(file_path, project_root),
[INFO] [stdout] 29 ~ package_name.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
[INFO] [stdout] --> src/ng/analyzers/service_analyzer.rs:15:18
[INFO] [stdout] |
[INFO] [stdout] 15 | imports: &Vec,
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
[INFO] [stdout] help: change this to
[INFO] [stdout] |
[INFO] [stdout] 15 ~ imports: &[ResolvedImport],
[INFO] [stdout] 16 | ) -> Option {
[INFO] [stdout] ...
[INFO] [stdout] 25 | .unwrap_or_else(|| "root".to_string()),
[INFO] [stdout] 26 ~ imports.to_owned(),
[INFO] [stdout] |
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `HashMap`
[INFO] [stdout] --> src/main.rs:85:14
[INFO] [stdout] |
[INFO] [stdout] 85 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
[INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `HashMap`
[INFO] [stdout] --> src/main.rs:92:14
[INFO] [stdout] |
[INFO] [stdout] 92 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: usage of `contains_key` followed by `insert` on a `HashMap`
[INFO] [stdout] --> src/nx/nx_workspace.rs:128:37
[INFO] [stdout] |
[INFO] [stdout] 128 | / ... if !current_paths.contains_key(&key) {
[INFO] [stdout] 129 | | ... current_paths.insert(key, value);
[INFO] [stdout] 130 | | ... }
[INFO] [stdout] | |_______________________^ help: try: `current_paths.entry(key).or_insert(value);`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_entry
[INFO] [stdout] = note: `#[warn(clippy::map_entry)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `HashMap`
[INFO] [stdout] --> src/main.rs:85:14
[INFO] [stdout] |
[INFO] [stdout] 85 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
[INFO] [stdout] = note: `#[warn(clippy::into_iter_on_ref)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `HashMap`
[INFO] [stdout] --> src/main.rs:92:14
[INFO] [stdout] |
[INFO] [stdout] 92 | .into_iter()
[INFO] [stdout] | ^^^^^^^^^ help: call directly: `iter`
[INFO] [stdout] |
[INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 04s
[INFO] running `Command { std: "docker" "inspect" "a23da13d2a967ff1afd161383a0d384b08122ce157697b124f38dfe6b84a0513", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a23da13d2a967ff1afd161383a0d384b08122ce157697b124f38dfe6b84a0513", kill_on_drop: false }`
[INFO] [stdout] a23da13d2a967ff1afd161383a0d384b08122ce157697b124f38dfe6b84a0513