[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] testing baasman/cakecutter/eadaf69fe44a527bcd7de7b5312a33fa89d4eb79 against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbaasman%2Fcakecutter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/baasman/cakecutter on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_meta v2.7.14 [INFO] [stderr] Downloaded slug v0.1.6 [INFO] [stderr] Downloaded colog v1.3.0 [INFO] [stderr] Downloaded pest_generator v2.7.14 [INFO] [stderr] Downloaded thiserror-impl v2.0.5 [INFO] [stderr] Downloaded pest_derive v2.7.14 [INFO] [stderr] Downloaded thiserror v2.0.5 [INFO] [stderr] Downloaded yash-fnmatch v1.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec09a9f6881e59ae2d25ee49aa568f20bd9f0652f0451ace42ea7504cf07f694 [INFO] running `Command { std: "docker" "start" "-a" "ec09a9f6881e59ae2d25ee49aa568f20bd9f0652f0451ace42ea7504cf07f694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec09a9f6881e59ae2d25ee49aa568f20bd9f0652f0451ace42ea7504cf07f694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec09a9f6881e59ae2d25ee49aa568f20bd9f0652f0451ace42ea7504cf07f694", kill_on_drop: false }` [INFO] [stdout] ec09a9f6881e59ae2d25ee49aa568f20bd9f0652f0451ace42ea7504cf07f694 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c577606892f6407a5824cda6c9dbfe0f3fdbcd13d61b47ee7c4f73243932e158 [INFO] running `Command { std: "docker" "start" "-a" "c577606892f6407a5824cda6c9dbfe0f3fdbcd13d61b47ee7c4f73243932e158", 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 shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling autocfg v1.4.0 [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 writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling anstream v0.6.18 [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 crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling bstr v1.11.0 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling libgit2-sys v0.17.0+1.8.1 [INFO] [stderr] Compiling chrono-tz-build v0.3.0 [INFO] [stderr] Compiling globset v0.4.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling chrono-tz v0.9.0 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling clap_lex v0.7.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling 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 v2.0.5 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling deunicode v1.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling slug v0.1.6 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling clap_builder v4.5.21 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.7.14 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling thiserror-impl v2.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [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_meta v2.7.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling pest_generator v2.7.14 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling globwalk v0.9.1 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling pest_derive v2.7.14 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling colog v1.3.0 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling clap v4.5.21 [INFO] [stderr] Compiling yash-fnmatch v1.1.1 [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 tera v1.20.0 [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)]` 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)]` 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)]` 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)]` 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 2m 34s [INFO] running `Command { std: "docker" "inspect" "c577606892f6407a5824cda6c9dbfe0f3fdbcd13d61b47ee7c4f73243932e158", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c577606892f6407a5824cda6c9dbfe0f3fdbcd13d61b47ee7c4f73243932e158", kill_on_drop: false }` [INFO] [stdout] c577606892f6407a5824cda6c9dbfe0f3fdbcd13d61b47ee7c4f73243932e158 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a08549da2370d418dca7ddb04a12d056c852e126628dcc68ba481d11b0c6c628 [INFO] running `Command { std: "docker" "start" "-a" "a08549da2370d418dca7ddb04a12d056c852e126628dcc68ba481d11b0c6c628", 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)]` 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)]` 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)]` 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)]` 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.94s [INFO] running `Command { std: "docker" "inspect" "a08549da2370d418dca7ddb04a12d056c852e126628dcc68ba481d11b0c6c628", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08549da2370d418dca7ddb04a12d056c852e126628dcc68ba481d11b0c6c628", kill_on_drop: false }` [INFO] [stdout] a08549da2370d418dca7ddb04a12d056c852e126628dcc68ba481d11b0c6c628 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff258a799e0ebda251d6449cef599eb1d5dd4e5390e064a68c8bc7b55a22a195 [INFO] running `Command { std: "docker" "start" "-a" "ff258a799e0ebda251d6449cef599eb1d5dd4e5390e064a68c8bc7b55a22a195", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `debug`, `error`, and `trace` [INFO] [stderr] --> src/main.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | use log::{debug, error, info, trace, warn}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `env` [INFO] [stderr] --> src/main.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use std::{env, path::PathBuf}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `error`, `trace`, and `warn` [INFO] [stderr] --> src/cakecutter.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | use log::{debug, error, info, trace, warn}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `os::unix::process` [INFO] [stderr] --> src/cakecutter.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | os::unix::process, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `self` [INFO] [stderr] --> src/generate.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::template::{self, Template}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clap::builder::Str` [INFO] [stderr] --> src/generate.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use clap::builder::Str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> src/template.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | path::{Path, PathBuf}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `clap::parser::Values` [INFO] [stderr] --> src/template.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use clap::parser::Values; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `debug`, `error`, `info`, `trace`, and `warn` [INFO] [stderr] --> src/template.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `template_loc` [INFO] [stderr] --> src/cakecutter.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | let template_loc = &path; [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_template_loc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `no_input` [INFO] [stderr] --> src/cakecutter.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | no_input: bool, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_no_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `delete_project_on_failure` [INFO] [stderr] --> src/generate.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | let delete_project_on_failure = true && !keep_project_on_failure; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delete_project_on_failure` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `skip_of_file_exists` [INFO] [stderr] --> src/generate.rs:127:5 [INFO] [stderr] | [INFO] [stderr] 127 | skip_of_file_exists: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_skip_of_file_exists` [INFO] [stderr] [INFO] [stderr] warning: enum `RepoDir` is never used [INFO] [stderr] --> src/template.rs:60:10 [INFO] [stderr] | [INFO] [stderr] 60 | pub enum RepoDir { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `should_cleanup_dir` is never used [INFO] [stderr] --> src/template.rs:104:12 [INFO] [stderr] | [INFO] [stderr] 79 | impl Template { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 104 | pub fn should_cleanup_dir(&self, template: &TemplateType) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/generate.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | name_template.add_raw_template(temp_id, rel_path); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 37 | let _ = name_template.add_raw_template(temp_id, rel_path); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/generate.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | name_template.add_raw_template(temp_id, &unren_dir); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 50 | let _ = name_template.add_raw_template(temp_id, &unren_dir); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `cakecutter` (bin "cakecutter" test) generated 17 warnings (run `cargo fix --bin "cakecutter" --tests` to apply 9 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/cakecutter-09d1891f28bb7b0a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff258a799e0ebda251d6449cef599eb1d5dd4e5390e064a68c8bc7b55a22a195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff258a799e0ebda251d6449cef599eb1d5dd4e5390e064a68c8bc7b55a22a195", kill_on_drop: false }` [INFO] [stdout] ff258a799e0ebda251d6449cef599eb1d5dd4e5390e064a68c8bc7b55a22a195