[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] building marcinmilewicz/ng-analyzer against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcinmilewicz%2Fng-analyzer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/marcinmilewicz/ng-analyzer on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_visit v2.0.0 [INFO] [stderr] Downloaded swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Downloaded swc_allocator v2.0.0 [INFO] [stderr] Downloaded swc_atoms v3.0.0 [INFO] [stderr] Downloaded unicode-id-start v1.3.1 [INFO] [stderr] Downloaded hstr v0.2.12 [INFO] [stderr] Downloaded swc_ecma_transforms_typescript v6.0.0 [INFO] [stderr] Downloaded lru v0.10.1 [INFO] [stderr] Downloaded swc_common v5.0.0 [INFO] [stderr] Downloaded clap_builder v4.5.23 [INFO] [stderr] Downloaded swc_ecma_compat_bugfixes v6.0.0 [INFO] [stderr] Downloaded from_variant v2.0.0 [INFO] [stderr] Downloaded st-map v0.2.4 [INFO] [stderr] Downloaded swc_compiler_base v7.0.0 [INFO] [stderr] Downloaded preset_env_base v1.0.0 [INFO] [stderr] Downloaded jsonc-parser v0.21.1 [INFO] [stderr] Downloaded clap v4.5.23 [INFO] [stderr] Downloaded swc_ecma_usage_analyzer v6.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_module v6.0.0 [INFO] [stderr] Downloaded swc_ecma_preset_env v7.0.0 [INFO] [stderr] Downloaded swc_ecma_parser v6.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_base v6.0.0 [INFO] [stderr] Downloaded swc_ecma_minifier v6.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2015 v6.0.0 [INFO] [stderr] Downloaded miette v7.4.0 [INFO] [stderr] Downloaded swc_ecma_transforms_proposal v6.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2016 v6.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2017 v6.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2020 v7.0.0 [INFO] [stderr] Downloaded ryu-js v1.0.1 [INFO] [stderr] Downloaded unicode-id v0.3.5 [INFO] [stderr] Downloaded outref v0.1.0 [INFO] [stderr] Downloaded simd-abstraction v0.7.1 [INFO] [stderr] Downloaded swc_ecma_lints v6.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_react v6.0.0 [INFO] [stderr] Downloaded swc_config_macro v1.0.0 [INFO] [stderr] Downloaded swc_trace_macro v2.0.0 [INFO] [stderr] Downloaded browserslist-rs v0.16.1 [INFO] [stderr] Downloaded swc_ecma_transforms_macros v1.0.0 [INFO] [stderr] Downloaded miette-derive v7.4.0 [INFO] [stderr] Downloaded swc_ecma_ext_transforms v6.0.0 [INFO] [stderr] Downloaded swc_ecma_codegen_macros v1.0.0 [INFO] [stderr] Downloaded static-map-macro v0.3.4 [INFO] [stderr] Downloaded swc_ecma_compat_es2019 v6.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2021 v6.0.0 [INFO] [stderr] Downloaded swc_error_reporters v6.0.0 [INFO] [stderr] Downloaded swc_timer v1.0.0 [INFO] [stderr] Downloaded smartstring v1.0.1 [INFO] [stderr] Downloaded psm v0.1.24 [INFO] [stderr] Downloaded stacker v0.1.17 [INFO] [stderr] Downloaded string_enum v1.0.0 [INFO] [stderr] Downloaded swc_macros_common v1.0.0 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.0 [INFO] [stderr] Downloaded path-clean v1.0.1 [INFO] [stderr] Downloaded swc_cached v1.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es3 v6.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_classes v6.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_optimization v6.0.0 [INFO] [stderr] Downloaded owo-colors v4.1.0 [INFO] [stderr] Downloaded swc_transform_common v1.0.0 [INFO] [stderr] Downloaded swc_ecma_utils v6.0.0 [INFO] [stderr] Downloaded swc_typescript v5.0.0 [INFO] [stderr] Downloaded is-macro v0.3.7 [INFO] [stderr] Downloaded swc_ecma_codegen v5.0.0 [INFO] [stderr] Downloaded path-clean v0.1.0 [INFO] [stderr] Downloaded swc_ecma_transforms v7.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2022 v7.0.0 [INFO] [stderr] Downloaded swc_ecma_transforms_compat v7.0.0 [INFO] [stderr] Downloaded swc_fast_graph v6.0.0 [INFO] [stderr] Downloaded ast_node v3.0.0 [INFO] [stderr] Downloaded swc_ecma_loader v5.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_es2018 v6.0.0 [INFO] [stderr] Downloaded debugid v0.8.0 [INFO] [stderr] Downloaded sourcemap v9.1.2 [INFO] [stderr] Downloaded swc_config v1.0.0 [INFO] [stderr] Downloaded swc_ecma_compat_common v6.0.0 [INFO] [stderr] Downloaded swc_node_comments v5.0.0 [INFO] [stderr] Downloaded better_scoped_tls v1.0.0 [INFO] [stderr] Downloaded base64-simd v0.7.0 [INFO] [stderr] Downloaded ptr_meta v0.3.0 [INFO] [stderr] Downloaded swc_ecma_visit v5.0.0 [INFO] [stderr] Downloaded swc v8.0.0 [INFO] [stderr] Downloaded swc_ecma_ast v5.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d143961a95ff25f2da0b8ac21aa02a5b69cd5d76319ebbce6a141a911212b5f [INFO] running `Command { std: "docker" "start" "-a" "7d143961a95ff25f2da0b8ac21aa02a5b69cd5d76319ebbce6a141a911212b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d143961a95ff25f2da0b8ac21aa02a5b69cd5d76319ebbce6a141a911212b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d143961a95ff25f2da0b8ac21aa02a5b69cd5d76319ebbce6a141a911212b5f", kill_on_drop: false }` [INFO] [stdout] 7d143961a95ff25f2da0b8ac21aa02a5b69cd5d76319ebbce6a141a911212b5f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab10311a2382b131c0fce502bf9476eccbe99249348a31e1a10f88193696c700 [INFO] running `Command { std: "docker" "start" "-a" "ab10311a2382b131c0fce502bf9476eccbe99249348a31e1a10f88193696c700", kill_on_drop: false }` [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling outref v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling swc_macros_common v1.0.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling unicode-id-start v1.3.1 [INFO] [stderr] Compiling better_scoped_tls v1.0.0 [INFO] [stderr] Compiling swc_visit v2.0.0 [INFO] [stderr] Compiling simd-abstraction v0.7.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling ryu-js v1.0.1 [INFO] [stderr] Compiling unicode-id v0.3.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Compiling base64-simd v0.7.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling swc_trace_macro v2.0.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling ptr_meta v0.3.0 [INFO] [stderr] Compiling from_variant v2.0.0 [INFO] [stderr] Compiling ast_node v3.0.0 [INFO] [stderr] Compiling string_enum v1.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_macros v1.0.0 [INFO] [stderr] Compiling swc_config_macro v1.0.0 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling path-clean v0.1.0 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling swc_ecma_codegen_macros v1.0.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling swc_timer v1.0.0 [INFO] [stderr] Compiling static-map-macro v0.3.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling unicode-linebreak v0.1.5 [INFO] [stderr] Compiling path-clean v1.0.1 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling clap_builder v4.5.23 [INFO] [stderr] Compiling textwrap v0.16.1 [INFO] [stderr] Compiling st-map v0.2.4 [INFO] [stderr] Compiling miette v7.4.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling triomphe v0.1.14 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling lru v0.10.1 [INFO] [stderr] Compiling clap v4.5.23 [INFO] [stderr] Compiling hstr v0.2.12 [INFO] [stderr] Compiling swc_allocator v2.0.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling sourcemap v9.1.2 [INFO] [stderr] Compiling jsonc-parser v0.21.1 [INFO] [stderr] Compiling swc_transform_common v1.0.0 [INFO] [stderr] Compiling swc_cached v1.0.0 [INFO] [stderr] Compiling swc_atoms v3.0.0 [INFO] [stderr] Compiling browserslist-rs v0.16.1 [INFO] [stderr] Compiling swc_common v5.0.0 [INFO] [stderr] Compiling swc_config v1.0.0 [INFO] [stderr] Compiling swc_ecma_ast v5.0.0 [INFO] [stderr] Compiling swc_fast_graph v6.0.0 [INFO] [stderr] Compiling swc_ecma_loader v5.0.0 [INFO] [stderr] Compiling swc_error_reporters v6.0.0 [INFO] [stderr] Compiling swc_node_comments v5.0.0 [INFO] [stderr] Compiling swc_ecma_visit v5.0.0 [INFO] [stderr] Compiling swc_ecma_parser v6.0.0 [INFO] [stderr] Compiling swc_ecma_codegen v5.0.0 [INFO] [stderr] Compiling preset_env_base v1.0.0 [INFO] [stderr] Compiling swc_ecma_utils v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_common v6.0.0 [INFO] [stderr] Compiling swc_ecma_usage_analyzer v6.0.0 [INFO] [stderr] Compiling swc_ecma_ext_transforms v6.0.0 [INFO] [stderr] Compiling swc_ecma_lints v6.0.0 [INFO] [stderr] Compiling swc_typescript v5.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_base v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_classes v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_optimization v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_react v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2016 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es3 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2021 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2019 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2018 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2017 v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_module v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2015 v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2022 v7.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_proposal v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_typescript v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_es2020 v7.0.0 [INFO] [stderr] Compiling swc_ecma_minifier v6.0.0 [INFO] [stderr] Compiling swc_ecma_compat_bugfixes v6.0.0 [INFO] [stderr] Compiling swc_ecma_transforms_compat v7.0.0 [INFO] [stderr] Compiling swc_ecma_transforms v7.0.0 [INFO] [stderr] Compiling swc_ecma_preset_env v7.0.0 [INFO] [stderr] Compiling swc_compiler_base v7.0.0 [INFO] [stderr] Compiling swc v8.0.0 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 45s [INFO] running `Command { std: "docker" "inspect" "ab10311a2382b131c0fce502bf9476eccbe99249348a31e1a10f88193696c700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab10311a2382b131c0fce502bf9476eccbe99249348a31e1a10f88193696c700", kill_on_drop: false }` [INFO] [stdout] ab10311a2382b131c0fce502bf9476eccbe99249348a31e1a10f88193696c700 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5684609369f0def24b819f120c65f53b99af75a539c84f435ece6508c93e4f83 [INFO] running `Command { std: "docker" "start" "-a" "5684609369f0def24b819f120c65f53b99af75a539c84f435ece6508c93e4f83", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "5684609369f0def24b819f120c65f53b99af75a539c84f435ece6508c93e4f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5684609369f0def24b819f120c65f53b99af75a539c84f435ece6508c93e4f83", kill_on_drop: false }` [INFO] [stdout] 5684609369f0def24b819f120c65f53b99af75a539c84f435ece6508c93e4f83