[INFO] cloning repository https://github.com/baasman/cakecutter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/baasman/cakecutter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman%2Fcakecutter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman%2Fcakecutter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eadaf69fe44a527bcd7de7b5312a33fa89d4eb79 [INFO] building baasman/cakecutter against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman%2Fcakecutter" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/baasman/cakecutter [INFO] finished tweaking git repo https://github.com/baasman/cakecutter [INFO] tweaked toml for git repo https://github.com/baasman/cakecutter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/baasman/cakecutter 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/baasman/cakecutter 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 unic-char-range v0.9.0 [INFO] [stderr] Downloaded unic-segment v0.9.0 [INFO] [stderr] Downloaded unic-ucd-version v0.9.0 [INFO] [stderr] Downloaded unic-ucd-segment v0.9.0 [INFO] [stderr] Downloaded chrono-tz-build v0.3.0 [INFO] [stderr] Downloaded globset v0.4.15 [INFO] [stderr] Downloaded colog v1.3.0 [INFO] [stderr] Downloaded unic-char-property v0.9.0 [INFO] [stderr] Downloaded globwalk v0.9.1 [INFO] [stderr] Downloaded tera v1.20.0 [INFO] [stderr] Downloaded thiserror v2.0.5 [INFO] [stderr] Downloaded unic-common v0.9.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.5 [INFO] [stderr] Downloaded yash-fnmatch v1.1.1 [INFO] [stderr] Downloaded git2 v0.19.0 [INFO] [stderr] Downloaded deunicode v1.6.0 [INFO] [stderr] Downloaded chrono-tz v0.9.0 [INFO] [stderr] Downloaded bstr v1.11.0 [INFO] [stderr] Downloaded libssh2-sys v0.3.0 [INFO] [stderr] Downloaded libgit2-sys v0.17.0+1.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0ea33616afd82ace1659c92c953d1ab90ddbdbb8458b32c4bfd427dd95dc34a [INFO] running `Command { std: "docker" "start" "-a" "d0ea33616afd82ace1659c92c953d1ab90ddbdbb8458b32c4bfd427dd95dc34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0ea33616afd82ace1659c92c953d1ab90ddbdbb8458b32c4bfd427dd95dc34a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ea33616afd82ace1659c92c953d1ab90ddbdbb8458b32c4bfd427dd95dc34a", kill_on_drop: false }` [INFO] [stdout] d0ea33616afd82ace1659c92c953d1ab90ddbdbb8458b32c4bfd427dd95dc34a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08f55b471731b4165094bec35f201c4dd45dbe366496e406a1b24b7ffc452e50 [INFO] running `Command { std: "docker" "start" "-a" "08f55b471731b4165094bec35f201c4dd45dbe366496e406a1b24b7ffc452e50", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.11.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling thiserror v2.0.5 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling colog v1.3.0 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v2.0.5 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling yash-fnmatch v1.1.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling pest_meta v2.7.14 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tera v1.20.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling git2 v0.19.0 [INFO] [stderr] Compiling cakecutter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, and `trace` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, trace, warn}; [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: `env` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `trace`, and `warn` [INFO] [stdout] --> src/cakecutter.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::process` [INFO] [stdout] --> src/cakecutter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | os::unix::process, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/generate.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::template::{self, Template}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/generate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/template.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::parser::Values` [INFO] [stdout] --> src/template.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::parser::Values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/template.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_loc` [INFO] [stdout] --> src/cakecutter.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let template_loc = &path; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_input` [INFO] [stdout] --> src/cakecutter.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | no_input: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delete_project_on_failure` [INFO] [stdout] --> src/generate.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let delete_project_on_failure = true && !keep_project_on_failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete_project_on_failure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_of_file_exists` [INFO] [stdout] --> src/generate.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | skip_of_file_exists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_of_file_exists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RepoDir` is never used [INFO] [stdout] --> src/template.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum RepoDir { [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 `should_cleanup_dir` is never used [INFO] [stdout] --> src/template.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Template { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn should_cleanup_dir(&self, template: &TemplateType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generate.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | name_template.add_raw_template(temp_id, rel_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 37 | let _ = name_template.add_raw_template(temp_id, rel_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generate.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | name_template.add_raw_template(temp_id, &unren_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = name_template.add_raw_template(temp_id, &unren_dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 51.04s [INFO] running `Command { std: "docker" "inspect" "08f55b471731b4165094bec35f201c4dd45dbe366496e406a1b24b7ffc452e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08f55b471731b4165094bec35f201c4dd45dbe366496e406a1b24b7ffc452e50", kill_on_drop: false }` [INFO] [stdout] 08f55b471731b4165094bec35f201c4dd45dbe366496e406a1b24b7ffc452e50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e227133b0a9a74a3c7650a19209df5988760ef941743d535d91c564bce40c24f [INFO] running `Command { std: "docker" "start" "-a" "e227133b0a9a74a3c7650a19209df5988760ef941743d535d91c564bce40c24f", kill_on_drop: false }` [INFO] [stderr] Compiling cakecutter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `error`, and `trace` [INFO] [stdout] --> src/main.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, trace, warn}; [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: `env` [INFO] [stdout] --> src/main.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{env, path::PathBuf}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `trace`, and `warn` [INFO] [stdout] --> src/cakecutter.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `os::unix::process` [INFO] [stdout] --> src/cakecutter.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | os::unix::process, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/generate.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::template::{self, Template}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> src/generate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use clap::builder::Str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/template.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::parser::Values` [INFO] [stdout] --> src/template.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use clap::parser::Values; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stdout] --> src/template.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `template_loc` [INFO] [stdout] --> src/cakecutter.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | let template_loc = &path; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_loc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `no_input` [INFO] [stdout] --> src/cakecutter.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | no_input: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delete_project_on_failure` [INFO] [stdout] --> src/generate.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let delete_project_on_failure = true && !keep_project_on_failure; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete_project_on_failure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `skip_of_file_exists` [INFO] [stdout] --> src/generate.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | skip_of_file_exists: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_of_file_exists` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RepoDir` is never used [INFO] [stdout] --> src/template.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum RepoDir { [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 `should_cleanup_dir` is never used [INFO] [stdout] --> src/template.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl Template { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn should_cleanup_dir(&self, template: &TemplateType) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generate.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | name_template.add_raw_template(temp_id, rel_path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [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] 37 | let _ = name_template.add_raw_template(temp_id, rel_path); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/generate.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | name_template.add_raw_template(temp_id, &unren_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = name_template.add_raw_template(temp_id, &unren_dir); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.41s [INFO] running `Command { std: "docker" "inspect" "e227133b0a9a74a3c7650a19209df5988760ef941743d535d91c564bce40c24f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e227133b0a9a74a3c7650a19209df5988760ef941743d535d91c564bce40c24f", kill_on_drop: false }` [INFO] [stdout] e227133b0a9a74a3c7650a19209df5988760ef941743d535d91c564bce40c24f