[INFO] cloning repository https://github.com/HollowNumber/dtu-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HollowNumber/dtu-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHollowNumber%2Fdtu-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHollowNumber%2Fdtu-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69a456bcb53216cb9b6f64d2440d0c40fa911940 [INFO] checking HollowNumber/dtu-notes/69a456bcb53216cb9b6f64d2440d0c40fa911940 against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHollowNumber%2Fdtu-notes" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/HollowNumber/dtu-notes [INFO] finished tweaking git repo https://github.com/HollowNumber/dtu-notes [INFO] tweaked toml for git repo https://github.com/HollowNumber/dtu-notes written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/HollowNumber/dtu-notes on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/HollowNumber/dtu-notes 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.97 [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded liblzma v0.4.2 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded thiserror-impl v2.0.14 [INFO] [stderr] Downloaded thiserror v2.0.14 [INFO] [stderr] Downloaded ppmd-rust v1.2.1 [INFO] [stderr] Downloaded opener v0.8.2 [INFO] [stderr] Downloaded dummy v0.11.0 [INFO] [stderr] Downloaded zip v4.3.0 [INFO] [stderr] Downloaded fake v4.4.0 [INFO] [stderr] Downloaded deunicode v1.6.2 [INFO] [stderr] Downloaded syn v2.0.105 [INFO] [stderr] Downloaded liblzma-sys v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4a6060b44678eed9609fb0525d3e69947dded5dfa2b937d940f54745574137f [INFO] running `Command { std: "docker" "start" "-a" "a4a6060b44678eed9609fb0525d3e69947dded5dfa2b937d940f54745574137f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4a6060b44678eed9609fb0525d3e69947dded5dfa2b937d940f54745574137f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a6060b44678eed9609fb0525d3e69947dded5dfa2b937d940f54745574137f", kill_on_drop: false }` [INFO] [stdout] a4a6060b44678eed9609fb0525d3e69947dded5dfa2b937d940f54745574137f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90499466ffbdd9265eb6bf9a585a26b845581dc7ef090f44441a40ce449d56e9 [INFO] running `Command { std: "docker" "start" "-a" "90499466ffbdd9265eb6bf9a585a26b845581dc7ef090f44441a40ce449d56e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking zlib-rs v0.5.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking libbz2-rs-sys v0.2.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Checking libz-rs-sys v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking zopfli v0.8.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking ureq-proto v0.4.2 [INFO] [stderr] Checking bzip2 v0.6.0 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking clap_builder v4.5.44 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking xattr v1.5.1 [INFO] [stderr] Checking deflate64 v0.1.9 [INFO] [stderr] Checking ppmd-rust v1.2.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking tar v0.4.44 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking opener v0.8.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking rustls-webpki v0.103.4 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking liblzma v0.4.2 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking clap v4.5.45 [INFO] [stderr] Checking zip v4.3.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking ureq v3.0.12 [INFO] [stderr] Checking dtu-notes v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EngineConfig` [INFO] [stdout] --> src/core/template/engine.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use super::config::{EngineConfig, TemplateConfig, TemplateDefinition, TemplateVariant}; [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: `Context` [INFO] [stdout] --> src/core/template/engine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EngineConfig` [INFO] [stdout] --> src/core/template/engine.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use super::config::{EngineConfig, TemplateConfig, TemplateDefinition, TemplateVariant}; [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: `Context` [INFO] [stdout] --> src/core/template/engine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/github_template_fetcher.rs:605:23 [INFO] [stdout] | [INFO] [stdout] 604 | obsidian_integration: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 605 | metadata: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/core/github_template_fetcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/core/github_template_fetcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transformation` [INFO] [stdout] --> src/core/template/context.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | for transformation in &self.engine_config.variables.transformations { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_index` [INFO] [stdout] --> src/core/template/discovery.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (config_index, config) in configs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_def` [INFO] [stdout] --> src/core/template/validation.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | template_def: &TemplateDefinition, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/core/github_template_fetcher.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/core/github_template_fetcher.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let status = GitHubTemplateFetcher::check_template_status(&config).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transformation` [INFO] [stdout] --> src/core/template/context.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | for transformation in &self.engine_config.variables.transformations { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_index` [INFO] [stdout] --> src/core/template/discovery.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (config_index, config) in configs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EngineConfig` [INFO] [stdout] --> src/core/template/engine.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use super::config::{EngineConfig, TemplateConfig, TemplateDefinition, TemplateVariant}; [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: `Context` [INFO] [stdout] --> src/core/template/engine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_def` [INFO] [stdout] --> src/core/template/validation.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | template_def: &TemplateDefinition, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EngineConfig` [INFO] [stdout] --> src/core/template/engine.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use super::config::{EngineConfig, TemplateConfig, TemplateDefinition, TemplateVariant}; [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: `Context` [INFO] [stdout] --> src/core/template/engine.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use anyhow::{Context, Result, anyhow}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/core/github_template_fetcher.rs:605:23 [INFO] [stdout] | [INFO] [stdout] 604 | obsidian_integration: todo!(), [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] 605 | metadata: todo!(), [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/core/github_template_fetcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/core/github_template_fetcher.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/core/github_template_fetcher.rs:588:13 [INFO] [stdout] | [INFO] [stdout] 588 | let config = Config { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/core/github_template_fetcher.rs:608:13 [INFO] [stdout] | [INFO] [stdout] 608 | let status = GitHubTemplateFetcher::check_template_status(&config).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transformation` [INFO] [stdout] --> src/core/template/context.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | for transformation in &self.engine_config.variables.transformations { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_index` [INFO] [stdout] --> src/core/template/discovery.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (config_index, config) in configs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transformation` [INFO] [stdout] --> src/core/template/context.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | for transformation in &self.engine_config.variables.transformations { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transformation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_def` [INFO] [stdout] --> src/core/template/validation.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | template_def: &TemplateDefinition, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config_index` [INFO] [stdout] --> src/core/template/discovery.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | for (config_index, config) in configs.iter().enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_config_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_def` [INFO] [stdout] --> src/core/template/validation.rs:632:9 [INFO] [stdout] | [INFO] [stdout] 632 | template_def: &TemplateDefinition, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_def` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_indexed` is never used [INFO] [stdout] --> src/core/search_engine.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn search_indexed(&self, index: &SearchIndex, query: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Minimal` and `Comprehensive` are never constructed [INFO] [stdout] --> src/core/template/builder.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ValidationLevel { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] 53 | /// Only validate critical errors that would prevent template generation [INFO] [stdout] 54 | Minimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | Comprehensive, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/template/builder.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TemplateBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn with_variable(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_custom_field(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_variant(mut self, variant_name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_processing_options(mut self, options: ProcessingOptions) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn with_validation(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_validation_level(mut self, level: ValidationLevel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn with_fail_on_errors(mut self, fail: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn with_transformations(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn with_debug_info(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn build_with_validation(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn build_with_metadata(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn validate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `has_errors`, `has_warnings`, `error_count`, `warning_count`, `is_clean`, and `format_report` are never used [INFO] [stdout] --> src/core/template/builder.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl ValidationResult { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 396 | pub fn has_errors(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | pub fn has_warnings(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn error_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn warning_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 422 | pub fn is_clean(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn format_report(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateOutputWithValidation` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | pub struct TemplateOutputWithValidation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateOutput` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 442 | pub struct TemplateOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSummary` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct ContextSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_context` is never used [INFO] [stdout] --> src/core/template/builder.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 460 | impl ContextSummary { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 461 | fn from_context(context: &TemplateContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProcessingOptionsBuilder` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:487:12 [INFO] [stdout] | [INFO] [stdout] 487 | pub struct ProcessingOptionsBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/template/builder.rs:492:12 [INFO] [stdout] | [INFO] [stdout] 491 | impl ProcessingOptionsBuilder { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 492 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn with_validation(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 503 | pub fn with_validation_level(mut self, level: ValidationLevel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn with_fail_on_errors(mut self, fail: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 513 | pub fn with_transformations(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn with_debug_info(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | pub fn build(self) -> ProcessingOptions { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date`, `template_version`, and `template_dir` are never read [INFO] [stdout] --> src/core/template/context.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TemplateContext { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub semester: String, [INFO] [stdout] 38 | pub template_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub template_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `assignment_type`, `creation_date`, `template_source`, `variant_used`, and `processing_flags` are never read [INFO] [stdout] --> src/core/template/context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TemplateMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 53 | pub course_type: String, [INFO] [stdout] 54 | pub assignment_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub creation_date: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub template_source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub variant_used: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | pub processing_flags: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/template/context.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TemplateContext { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn build_lecture_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn build_assignment_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn set_variable(&mut self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn get_variable(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn validate(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn determine_course_type(course_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn determine_assignment_type(title: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_variable` and `with_custom_field` are never used [INFO] [stdout] --> src/core/template/context.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 333 | impl TemplateContextBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn with_variable(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn with_custom_field(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source` and `package_info` are never read [INFO] [stdout] --> src/core/template/discovery.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AvailableTemplate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub source: TemplateSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub package_info: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AvailableTemplate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Builtin`, `Local`, `Remote`, and `Custom` are never constructed [INFO] [stdout] --> src/core/template/discovery.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum TemplateSource { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 38 | /// Built-in template (part of the application) [INFO] [stdout] 39 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | Local { path: String }, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | Remote { repository: String, version: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Custom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/core/template/discovery.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TemplatePackageInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 57 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 58 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 59 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | pub author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub license: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub install_path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | pub last_updated: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplatePackageInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/core/template/discovery.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl TemplateDiscovery { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn find_template<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn find_variants_for_template<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn find_template_with_preference<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn discover_templates(user_config: &Config) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | fn find_package_directory_for_config( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 295 | fn extract_package_info(config: &TemplateConfig, package_dir: &PathBuf) -> TemplatePackageInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn get_import_statement(config: &TemplateConfig) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn find_best_variant( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate_lecture_template` is never used [INFO] [stdout] --> src/core/template/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TemplateEngine { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | /// Generate a lecture template [INFO] [stdout] 16 | pub fn generate_lecture_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TemplateType` is never used [INFO] [stdout] --> src/core/template/engine.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum TemplateType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `format_validation_report` is never used [INFO] [stdout] --> src/core/template/validation.rs:690:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl TemplateValidator { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 690 | pub fn format_validation_report(issues: &[ValidationIssue]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StatusPrint` is never used [INFO] [stdout] --> src/ui/output.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | pub trait StatusPrint { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `search_indexed` is never used [INFO] [stdout] --> src/core/search_engine.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl SearchEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn search_indexed(&self, index: &SearchIndex, query: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Minimal` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ValidationLevel { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 53 | /// Only validate critical errors that would prevent template generation [INFO] [stdout] 54 | Minimal, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValidationLevel` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/core/template/builder.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TemplateBuilder { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn with_variable(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn with_custom_field(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn with_variant(mut self, variant_name: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn with_processing_options(mut self, options: ProcessingOptions) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn with_validation(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn with_validation_level(mut self, level: ValidationLevel) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn with_fail_on_errors(mut self, fail: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn with_transformations(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn with_debug_info(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn build_with_validation(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn build_with_metadata(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn validate(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format_report` is never used [INFO] [stdout] --> src/core/template/builder.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 395 | impl ValidationResult { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn format_report(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateOutputWithValidation` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | pub struct TemplateOutputWithValidation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateOutput` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 442 | pub struct TemplateOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ContextSummary` is never constructed [INFO] [stdout] --> src/core/template/builder.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | pub struct ContextSummary { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_context` is never used [INFO] [stdout] --> src/core/template/builder.rs:461:8 [INFO] [stdout] | [INFO] [stdout] 460 | impl ContextSummary { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 461 | fn from_context(context: &TemplateContext) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with_debug_info` is never used [INFO] [stdout] --> src/core/template/builder.rs:518:12 [INFO] [stdout] | [INFO] [stdout] 491 | impl ProcessingOptionsBuilder { [INFO] [stdout] | ----------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 518 | pub fn with_debug_info(mut self, enabled: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date`, `template_version`, and `template_dir` are never read [INFO] [stdout] --> src/core/template/context.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct TemplateContext { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 36 | pub date: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | pub semester: String, [INFO] [stdout] 38 | pub template_version: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub template_dir: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `assignment_type`, `creation_date`, `template_source`, `variant_used`, and `processing_flags` are never read [INFO] [stdout] --> src/core/template/context.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct TemplateMetadata { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 53 | pub course_type: String, [INFO] [stdout] 54 | pub assignment_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | pub creation_date: chrono::DateTime, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 56 | pub template_source: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | pub variant_used: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 58 | pub processing_flags: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/core/template/context.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl TemplateContext { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn build_lecture_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub fn build_assignment_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn set_variable(&mut self, key: &str, value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 214 | pub fn get_variable(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn validate(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn determine_course_type(course_id: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn determine_assignment_type(title: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `with_variable` and `with_custom_field` are never used [INFO] [stdout] --> src/core/template/context.rs:375:12 [INFO] [stdout] | [INFO] [stdout] 333 | impl TemplateContextBuilder { [INFO] [stdout] | --------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn with_variable(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 380 | pub fn with_custom_field(mut self, key: &str, value: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source` is never read [INFO] [stdout] --> src/core/template/discovery.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct AvailableTemplate { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub source: TemplateSource, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AvailableTemplate` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/core/template/discovery.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | Local { path: String }, [INFO] [stdout] | ----- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TemplateSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Builtin`, `Remote`, and `Custom` are never constructed [INFO] [stdout] --> src/core/template/discovery.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum TemplateSource { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 38 | /// Built-in template (part of the application) [INFO] [stdout] 39 | Builtin, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | Remote { repository: String, version: String }, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | Custom { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateSource` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description`, `author`, `license`, `install_path`, and `last_updated` are never read [INFO] [stdout] --> src/core/template/discovery.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct TemplatePackageInfo { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 59 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 60 | pub author: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 61 | pub license: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub install_path: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | pub last_updated: Option>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplatePackageInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `find_template_with_preference`, `get_import_statement`, and `find_best_variant` are never used [INFO] [stdout] --> src/core/template/discovery.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl TemplateDiscovery { [INFO] [stdout] | ---------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn find_template_with_preference<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn get_import_statement(config: &TemplateConfig) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn find_best_variant( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `generate_lecture_template` is never used [INFO] [stdout] --> src/core/template/engine.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl TemplateEngine { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 15 | /// Generate a lecture template [INFO] [stdout] 16 | pub fn generate_lecture_template( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TemplateType` is never used [INFO] [stdout] --> src/core/template/engine.rs:293:10 [INFO] [stdout] | [INFO] [stdout] 293 | pub enum TemplateType { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `StatusPrint` is never used [INFO] [stdout] --> src/ui/output.rs:258:11 [INFO] [stdout] | [INFO] [stdout] 258 | pub trait StatusPrint { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 11s [INFO] running `Command { std: "docker" "inspect" "90499466ffbdd9265eb6bf9a585a26b845581dc7ef090f44441a40ce449d56e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90499466ffbdd9265eb6bf9a585a26b845581dc7ef090f44441a40ce449d56e9", kill_on_drop: false }` [INFO] [stdout] 90499466ffbdd9265eb6bf9a585a26b845581dc7ef090f44441a40ce449d56e9