[INFO] fetching crate scakit 0.1.3... [INFO] checking scakit-0.1.3 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate scakit 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate scakit 0.1.3 [INFO] finished tweaking crates.io crate scakit 0.1.3 [INFO] tweaked toml for crates.io crate scakit 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate scakit 0.1.3 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate scakit 0.1.3 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-6-tc1/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-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b585f6011bfca0c25fd561a6c6e2f832b488bc23f8f9c32aaa732f7f274aa2e4 [INFO] running `Command { std: "docker" "start" "-a" "b585f6011bfca0c25fd561a6c6e2f832b488bc23f8f9c32aaa732f7f274aa2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b585f6011bfca0c25fd561a6c6e2f832b488bc23f8f9c32aaa732f7f274aa2e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b585f6011bfca0c25fd561a6c6e2f832b488bc23f8f9c32aaa732f7f274aa2e4", kill_on_drop: false }` [INFO] [stdout] b585f6011bfca0c25fd561a6c6e2f832b488bc23f8f9c32aaa732f7f274aa2e4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2002f8c08e277e2f3fd88e8dfc28b494f2aa7129ea37d6d425c64a49426d089c [INFO] running `Command { std: "docker" "start" "-a" "2002f8c08e277e2f3fd88e8dfc28b494f2aa7129ea37d6d425c64a49426d089c", 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 signal-hook v0.3.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking newline-converter v0.2.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling include_dir_macros v0.7.4 [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 thiserror 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 9.06s [INFO] running `Command { std: "docker" "inspect" "2002f8c08e277e2f3fd88e8dfc28b494f2aa7129ea37d6d425c64a49426d089c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2002f8c08e277e2f3fd88e8dfc28b494f2aa7129ea37d6d425c64a49426d089c", kill_on_drop: false }` [INFO] [stdout] 2002f8c08e277e2f3fd88e8dfc28b494f2aa7129ea37d6d425c64a49426d089c