[INFO] fetching crate scakit 0.1.3... [INFO] building scakit-0.1.3 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate scakit 0.1.3 into /workspace/builds/worker-5-tc2/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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate scakit 0.1.3 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file `/workspace/builds/worker-5-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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0b3b476f314d193c669963f3907f875193bc774811e3c6ffc586e364ab933aa [INFO] running `Command { std: "docker" "start" "-a" "d0b3b476f314d193c669963f3907f875193bc774811e3c6ffc586e364ab933aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0b3b476f314d193c669963f3907f875193bc774811e3c6ffc586e364ab933aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0b3b476f314d193c669963f3907f875193bc774811e3c6ffc586e364ab933aa", kill_on_drop: false }` [INFO] [stdout] d0b3b476f314d193c669963f3907f875193bc774811e3c6ffc586e364ab933aa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d3d465569ad333edc5342883c8bc69405d681c79f7407c970ca82e4e0d0a6d5 [INFO] running `Command { std: "docker" "start" "-a" "1d3d465569ad333edc5342883c8bc69405d681c79f7407c970ca82e4e0d0a6d5", 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 parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling dyn-clone v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling newline-converter v0.2.2 [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] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling include_dir v0.7.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.25.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling inquire v0.6.2 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 10.73s [INFO] running `Command { std: "docker" "inspect" "1d3d465569ad333edc5342883c8bc69405d681c79f7407c970ca82e4e0d0a6d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d3d465569ad333edc5342883c8bc69405d681c79f7407c970ca82e4e0d0a6d5", kill_on_drop: false }` [INFO] [stdout] 1d3d465569ad333edc5342883c8bc69405d681c79f7407c970ca82e4e0d0a6d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a8f18187f7e55260c3289634485499e4831d6738a1329008bab584ad7dcd0ab [INFO] running `Command { std: "docker" "start" "-a" "7a8f18187f7e55260c3289634485499e4831d6738a1329008bab584ad7dcd0ab", 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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: 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] [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)]` (part of `#[warn(unused)]`) on by default [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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "7a8f18187f7e55260c3289634485499e4831d6738a1329008bab584ad7dcd0ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a8f18187f7e55260c3289634485499e4831d6738a1329008bab584ad7dcd0ab", kill_on_drop: false }` [INFO] [stdout] 7a8f18187f7e55260c3289634485499e4831d6738a1329008bab584ad7dcd0ab