[INFO] fetching crate fox-template 0.1.0... [INFO] building fox-template-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate fox-template 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate fox-template 0.1.0 [INFO] finished tweaking crates.io crate fox-template 0.1.0 [INFO] tweaked toml for crates.io crate fox-template 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fox-template 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fox-template 0.1.0 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded toml v0.7.8 [INFO] [stderr] Downloaded strum_macros v0.25.2 [INFO] [stderr] Downloaded time v0.3.28 [INFO] [stderr] Downloaded cargo_toml v0.15.3 [INFO] [stderr] Downloaded clap_complete v4.4.1 [INFO] [stderr] Downloaded clap v4.4.3 [INFO] [stderr] Downloaded pest_derive v2.7.3 [INFO] [stderr] Downloaded handlebars v4.4.0 [INFO] [stderr] Downloaded minijinja v0.30.7 [INFO] [stderr] Downloaded pest v2.7.3 [INFO] [stderr] Downloaded aho-corasick v1.0.5 [INFO] [stderr] Downloaded ignore v0.4.20 [INFO] [stderr] Downloaded clap_builder v4.4.2 [INFO] [stderr] Downloaded ratatui v0.23.0 [INFO] [stderr] Downloaded syn v2.0.33 [INFO] [stderr] Downloaded notify v5.2.0 [INFO] [stderr] Downloaded pest_meta v2.7.3 [INFO] [stderr] Downloaded regex v1.9.5 [INFO] [stderr] Downloaded anstyle v1.0.3 [INFO] [stderr] Downloaded pest_generator v2.7.3 [INFO] [stderr] Downloaded bstr v1.6.2 [INFO] [stderr] Downloaded regex-automata v0.3.8 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83c5cecfcfcccce13a3af7e82d7a1503e739e3558f4c468333a603a685412f8d [INFO] running `Command { std: "docker" "start" "-a" "83c5cecfcfcccce13a3af7e82d7a1503e739e3558f4c468333a603a685412f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83c5cecfcfcccce13a3af7e82d7a1503e739e3558f4c468333a603a685412f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83c5cecfcfcccce13a3af7e82d7a1503e739e3558f4c468333a603a685412f8d", kill_on_drop: false }` [INFO] [stdout] 83c5cecfcfcccce13a3af7e82d7a1503e739e3558f4c468333a603a685412f8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab4a4620545cbbfbd341efc5335d59196877456d2fa3bcd4d591b40921db01c3 [INFO] running `Command { std: "docker" "start" "-a" "ab4a4620545cbbfbd341efc5335d59196877456d2fa3bcd4d591b40921db01c3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling rustix v0.38.13 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling syn v2.0.33 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling mio v0.8.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling winnow v0.5.15 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling inotify-sys v0.1.5 [INFO] [stderr] Compiling bstr v1.6.2 [INFO] [stderr] Compiling fastrand v2.0.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling tempfile v3.8.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling inotify v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling fuzzy-matcher v0.3.7 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling zeroize v1.6.0 [INFO] [stderr] Compiling globset v0.4.13 [INFO] [stderr] Compiling indoc v2.0.3 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Compiling ignore v0.4.20 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling tokio v1.32.0 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.23.0 [INFO] [stderr] Compiling clap v4.4.3 [INFO] [stderr] Compiling clap_complete v4.4.1 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Compiling serde_spanned v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling minijinja v0.30.7 [INFO] [stderr] Compiling notify v5.2.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling handlebars v4.4.0 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling cargo_toml v0.15.3 [INFO] [stderr] Compiling fox-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [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 imports: `Path`, `collections::HashMap`, `fs`, `self`, and `str::FromStr` [INFO] [stdout] --> src/main.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | path::{self, Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 8 | process, [INFO] [stdout] 9 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dialoguer::theme::ColorfulTheme` [INFO] [stdout] --> src/commands/apply.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dialoguer::theme::ColorfulTheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Confirm` and `Editor` [INFO] [stdout] --> src/commands/apply.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use dialoguer::{Confirm, Editor, Input}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_json` [INFO] [stdout] --> src/commands/apply.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | to_json, Context, Handlebars, Helper, JsonRender, Output, RenderContext, RenderError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Walk` [INFO] [stdout] --> src/commands/apply.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use ignore::{DirEntry, Walk, WalkBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `process` [INFO] [stdout] --> src/commands/apply.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | process, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/commands/apply.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dialoguer::theme::ColorfulTheme` [INFO] [stdout] --> src/commands/applygit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dialoguer::theme::ColorfulTheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Confirm`, `Editor`, and `Input` [INFO] [stdout] --> src/commands/applygit.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use dialoguer::{Confirm, Editor, Input}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlebars::handlebars_helper` [INFO] [stdout] --> src/commands/applygit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use handlebars::handlebars_helper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Handlebars`, `Helper`, `JsonRender`, `Output`, `RenderContext`, `RenderError`, and `to_json` [INFO] [stdout] --> src/commands/applygit.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | to_json, Context, Handlebars, Helper, JsonRender, Output, RenderContext, RenderError, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `WalkBuilder`, and `Walk` [INFO] [stdout] --> src/commands/applygit.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use ignore::{DirEntry, Walk, WalkBuilder}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/commands/applygit.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/commands/applygit.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `collections::HashMap`, `fs`, and `process` [INFO] [stdout] --> src/commands/applygit.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | process, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/commands/applygit.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `watch` [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | watch, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `watch: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_name` [INFO] [stdout] --> src/main.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | Cmd::Edit { template_name } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `template_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/util.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 64 | struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 65 | a: &'a str, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/commands/apply.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | &output_file; [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = &output_file; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `Command { std: "docker" "inspect" "ab4a4620545cbbfbd341efc5335d59196877456d2fa3bcd4d591b40921db01c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab4a4620545cbbfbd341efc5335d59196877456d2fa3bcd4d591b40921db01c3", kill_on_drop: false }` [INFO] [stdout] ab4a4620545cbbfbd341efc5335d59196877456d2fa3bcd4d591b40921db01c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06368b03f405839124ebf6eed47b93a5bbd4e82d80d074945502bbafd973ce0f [INFO] running `Command { std: "docker" "start" "-a" "06368b03f405839124ebf6eed47b93a5bbd4e82d80d074945502bbafd973ce0f", kill_on_drop: false }` [INFO] [stderr] Compiling fox-template v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/main.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::{Deserialize, Serialize}; [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 imports: `Path`, `collections::HashMap`, `fs`, `self`, and `str::FromStr` [INFO] [stdout] --> src/main.rs:5:2 [INFO] [stdout] | [INFO] [stdout] 5 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | path::{self, Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] 8 | process, [INFO] [stdout] 9 | str::FromStr, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dialoguer::theme::ColorfulTheme` [INFO] [stdout] --> src/commands/apply.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dialoguer::theme::ColorfulTheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Confirm` and `Editor` [INFO] [stdout] --> src/commands/apply.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use dialoguer::{Confirm, Editor, Input}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `to_json` [INFO] [stdout] --> src/commands/apply.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | to_json, Context, Handlebars, Helper, JsonRender, Output, RenderContext, RenderError, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Walk` [INFO] [stdout] --> src/commands/apply.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use ignore::{DirEntry, Walk, WalkBuilder}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path` and `process` [INFO] [stdout] --> src/commands/apply.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | process, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/commands/apply.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dialoguer::theme::ColorfulTheme` [INFO] [stdout] --> src/commands/applygit.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dialoguer::theme::ColorfulTheme; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Confirm`, `Editor`, and `Input` [INFO] [stdout] --> src/commands/applygit.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use dialoguer::{Confirm, Editor, Input}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlebars::handlebars_helper` [INFO] [stdout] --> src/commands/applygit.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use handlebars::handlebars_helper; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `Handlebars`, `Helper`, `JsonRender`, `Output`, `RenderContext`, `RenderError`, and `to_json` [INFO] [stdout] --> src/commands/applygit.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | to_json, Context, Handlebars, Helper, JsonRender, Output, RenderContext, RenderError, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DirEntry`, `WalkBuilder`, and `Walk` [INFO] [stdout] --> src/commands/applygit.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use ignore::{DirEntry, Walk, WalkBuilder}; [INFO] [stdout] | ^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> src/commands/applygit.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Value` and `json` [INFO] [stdout] --> src/commands/applygit.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Path`, `collections::HashMap`, `fs`, and `process` [INFO] [stdout] --> src/commands/applygit.rs:13:2 [INFO] [stdout] | [INFO] [stdout] 13 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fs, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | process, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `walkdir::WalkDir` [INFO] [stdout] --> src/commands/applygit.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use walkdir::WalkDir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `watch` [INFO] [stdout] --> src/main.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | watch, [INFO] [stdout] | ^^^^^ help: try ignoring the field: `watch: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_name` [INFO] [stdout] --> src/main.rs:103:15 [INFO] [stdout] | [INFO] [stdout] 103 | Cmd::Edit { template_name } => { [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `template_name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `a` is never read [INFO] [stdout] --> src/util.rs:65:2 [INFO] [stdout] | [INFO] [stdout] 64 | struct App<'a> { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 65 | a: &'a str, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/commands/apply.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | &output_file; [INFO] [stdout] | ^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 171 | let _ = &output_file; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "06368b03f405839124ebf6eed47b93a5bbd4e82d80d074945502bbafd973ce0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06368b03f405839124ebf6eed47b93a5bbd4e82d80d074945502bbafd973ce0f", kill_on_drop: false }` [INFO] [stdout] 06368b03f405839124ebf6eed47b93a5bbd4e82d80d074945502bbafd973ce0f