[INFO] cloning repository https://github.com/liou666/skt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/liou666/skt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliou666%2Fskt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliou666%2Fskt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8aadc12372561d1999b5851f3957b6ec70061cc4 [INFO] checking liou666/skt against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fliou666%2Fskt" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/liou666/skt on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/liou666/skt [INFO] finished tweaking git repo https://github.com/liou666/skt [INFO] tweaked toml for git repo https://github.com/liou666/skt written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/liou666/skt 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-7-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `scakit` [INFO] [stderr] * `bin` target `skt` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 34e6e302eb0c1459f416c3fbbc87fca09a1ccf4284766aed656f13561b5857ab [INFO] running `Command { std: "docker" "start" "-a" "34e6e302eb0c1459f416c3fbbc87fca09a1ccf4284766aed656f13561b5857ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34e6e302eb0c1459f416c3fbbc87fca09a1ccf4284766aed656f13561b5857ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34e6e302eb0c1459f416c3fbbc87fca09a1ccf4284766aed656f13561b5857ab", kill_on_drop: false }` [INFO] [stdout] 34e6e302eb0c1459f416c3fbbc87fca09a1ccf4284766aed656f13561b5857ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e50a7f25e0d77af7354fa213535b366d5d50365b41e77951d413940fc6a603de [INFO] running `Command { std: "docker" "start" "-a" "e50a7f25e0d77af7354fa213535b366d5d50365b41e77951d413940fc6a603de", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `scakit` [INFO] [stderr] * `bin` target `skt` [INFO] [stderr] Compiling libc v0.2.162 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking include_dir v0.7.4 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking inquire v0.6.2 [INFO] [stderr] Checking scakit v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/generator/project_generator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt::Display, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/generator/project_generator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt::Display, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/generator/project_generator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt::Display, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/generator/project_generator.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{fmt::Display, path::Path, process::Command}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TemplateNotFound` and `DependencyInstallation` are never constructed [INFO] [stdout] --> src/error/template_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TemplateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | TemplateNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | DependencyInstallation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_paths` and `initialize_project` are never used [INFO] [stdout] --> src/generator/project_generator.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProjectGenerator { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn validate_paths(&self, template_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn initialize_project(&self, project_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_template_dir` is never used [INFO] [stdout] --> src/templates/project_template.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ProjectTemplate { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_template_dir(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directory` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_directory(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_template_files` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn copy_template_files(src: &Path, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TemplateNotFound` and `DependencyInstallation` are never constructed [INFO] [stdout] --> src/error/template_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TemplateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | TemplateNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | DependencyInstallation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_paths` and `initialize_project` are never used [INFO] [stdout] --> src/generator/project_generator.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProjectGenerator { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn validate_paths(&self, template_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn initialize_project(&self, project_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_template_dir` is never used [INFO] [stdout] --> src/templates/project_template.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ProjectTemplate { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_template_dir(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directory` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_directory(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_template_files` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn copy_template_files(src: &Path, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TemplateNotFound` and `DependencyInstallation` are never constructed [INFO] [stdout] --> src/error/template_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TemplateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | TemplateNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | DependencyInstallation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_paths` and `initialize_project` are never used [INFO] [stdout] --> src/generator/project_generator.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProjectGenerator { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn validate_paths(&self, template_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn initialize_project(&self, project_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_template_dir` is never used [INFO] [stdout] --> src/templates/project_template.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ProjectTemplate { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_template_dir(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directory` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_directory(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_template_files` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn copy_template_files(src: &Path, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TemplateNotFound` and `DependencyInstallation` are never constructed [INFO] [stdout] --> src/error/template_error.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum TemplateError { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | TemplateNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | DependencyInstallation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TemplateError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `validate_paths` and `initialize_project` are never used [INFO] [stdout] --> src/generator/project_generator.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl ProjectGenerator { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn validate_paths(&self, template_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn initialize_project(&self, project_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_template_dir` is never used [INFO] [stdout] --> src/templates/project_template.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl ProjectTemplate { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_template_dir(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_directory` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn create_directory(path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copy_template_files` is never used [INFO] [stdout] --> src/utils/fs_utils.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn copy_template_files(src: &Path, dest: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `Command { std: "docker" "inspect" "e50a7f25e0d77af7354fa213535b366d5d50365b41e77951d413940fc6a603de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e50a7f25e0d77af7354fa213535b366d5d50365b41e77951d413940fc6a603de", kill_on_drop: false }` [INFO] [stdout] e50a7f25e0d77af7354fa213535b366d5d50365b41e77951d413940fc6a603de