[INFO] fetching crate yaab 0.0.18... [INFO] building yaab-0.0.18 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate yaab 0.0.18 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate yaab 0.0.18 [INFO] finished tweaking crates.io crate yaab 0.0.18 [INFO] tweaked toml for crates.io crate yaab 0.0.18 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate yaab 0.0.18 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate yaab 0.0.18 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pkg-config v0.3.27 [INFO] [stderr] Downloaded jobserver v0.1.26 [INFO] [stderr] Downloaded zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Downloaded normalize-line-endings v0.3.0 [INFO] [stderr] Downloaded mockall v0.11.4 [INFO] [stderr] Downloaded xattr v1.0.1 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded cc v1.0.83 [INFO] [stderr] Downloaded anstyle-parse v0.2.1 [INFO] [stderr] Downloaded fragile v2.0.0 [INFO] [stderr] Downloaded anstyle-wincon v2.1.0 [INFO] [stderr] Downloaded colorchoice v1.0.0 [INFO] [stderr] Downloaded os_pipe v1.1.4 [INFO] [stderr] Downloaded anstream v0.5.0 [INFO] [stderr] Downloaded clap_lex v0.5.1 [INFO] [stderr] Downloaded anstyle v1.0.2 [INFO] [stderr] Downloaded clap_builder v4.4.2 [INFO] [stderr] Downloaded itoa v1.0.9 [INFO] [stderr] Downloaded aho-corasick v1.0.5 [INFO] [stderr] Downloaded serde v1.0.188 [INFO] [stderr] Downloaded regexp v0.3.2 [INFO] [stderr] Downloaded serde_json v1.0.105 [INFO] [stderr] Downloaded proc-macro2 v1.0.66 [INFO] [stderr] Downloaded redox_syscall v0.3.5 [INFO] [stderr] Downloaded flate2 v1.0.27 [INFO] [stderr] Downloaded syn v2.0.31 [INFO] [stderr] Downloaded sha1 v0.10.5 [INFO] [stderr] Downloaded unicode-ident v1.0.11 [INFO] [stderr] Downloaded clap v4.4.2 [INFO] [stderr] Downloaded memchr v2.6.3 [INFO] [stderr] Downloaded predicates v2.1.5 [INFO] [stderr] Downloaded inout v0.1.3 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded predicates-tree v1.0.9 [INFO] [stderr] Downloaded regex-syntax v0.7.5 [INFO] [stderr] Downloaded tempdir v0.3.7 [INFO] [stderr] Downloaded tar v0.4.40 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] [stderr] Downloaded deranged v0.3.8 [INFO] [stderr] Downloaded strsim v0.10.0 [INFO] [stderr] Downloaded subprocess v0.2.9 [INFO] [stderr] Downloaded crc32fast v1.3.2 [INFO] [stderr] Downloaded regex-automata v0.3.8 [INFO] [stderr] Downloaded filetime v0.2.22 [INFO] [stderr] Downloaded log v0.4.20 [INFO] [stderr] Downloaded bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Downloaded base64ct v1.6.0 [INFO] [stderr] Downloaded password-hash v0.4.2 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded time-core v0.1.1 [INFO] [stderr] Downloaded hashbrown v0.14.0 [INFO] [stderr] Downloaded float-cmp v0.9.0 [INFO] [stderr] Downloaded either v1.9.0 [INFO] [stderr] Downloaded thiserror v1.0.49 [INFO] [stderr] Downloaded aes v0.8.3 [INFO] [stderr] Downloaded libc v0.2.148 [INFO] [stderr] Downloaded zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Downloaded indexmap v2.0.0 [INFO] [stderr] Downloaded autocfg v1.1.0 [INFO] [stderr] Downloaded predicates-core v1.0.6 [INFO] [stderr] Downloaded difflib v0.4.0 [INFO] [stderr] Downloaded regex v1.9.5 [INFO] [stderr] Downloaded cipher v0.4.4 [INFO] [stderr] Downloaded crossbeam-utils v0.8.16 [INFO] [stderr] Downloaded sha2 v0.10.7 [INFO] [stderr] Downloaded pbkdf2 v0.11.0 [INFO] [stderr] Downloaded time v0.3.28 [INFO] [stderr] Downloaded anstyle-query v1.0.0 [INFO] [stderr] Downloaded utf8parse v0.2.1 [INFO] [stderr] Downloaded glob v0.3.1 [INFO] [stderr] Downloaded termtree v0.4.1 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded zip v0.6.6 [INFO] [stderr] Downloaded mockall_derive v0.11.4 [INFO] [stderr] Downloaded ryu v1.0.15 [INFO] [stderr] Downloaded bzip2 v0.4.4 [INFO] [stderr] Downloaded miniz_oxide v0.7.1 [INFO] [stderr] Downloaded quote v1.0.33 [INFO] [stderr] Downloaded serde_derive v1.0.188 [INFO] [stderr] Downloaded zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.49 [INFO] [stderr] Downloaded getrandom v0.2.10 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded users v0.11.0 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d6da393db90cb29c89dd548cac6caed85ec1b8f448e053ee61db5dba601e5568 [INFO] running `Command { std: "docker" "start" "-a" "d6da393db90cb29c89dd548cac6caed85ec1b8f448e053ee61db5dba601e5568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d6da393db90cb29c89dd548cac6caed85ec1b8f448e053ee61db5dba601e5568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6da393db90cb29c89dd548cac6caed85ec1b8f448e053ee61db5dba601e5568", kill_on_drop: false }` [INFO] [stdout] d6da393db90cb29c89dd548cac6caed85ec1b8f448e053ee61db5dba601e5568 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86692c0c1c8c503d3ab54e09e9c462e82ae4033a049bcfbdb98aeacf97abae45 [INFO] running `Command { std: "docker" "start" "-a" "86692c0c1c8c503d3ab54e09e9c462e82ae4033a049bcfbdb98aeacf97abae45", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling predicates-core v1.0.6 [INFO] [stderr] Compiling anstyle v1.0.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Compiling deranged v0.3.8 [INFO] [stderr] Compiling termtree v0.4.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling predicates-tree v1.0.9 [INFO] [stderr] Compiling aho-corasick v1.0.5 [INFO] [stderr] Compiling clap_builder v4.4.2 [INFO] [stderr] Compiling flate2 v1.0.27 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling time v0.3.28 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling filetime v0.2.22 [INFO] [stderr] Compiling xattr v1.0.1 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling tar v0.4.40 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling password-hash v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling aes v0.8.3 [INFO] [stderr] Compiling sha1 v0.10.5 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling os_pipe v1.1.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling clap v4.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling predicates v2.1.5 [INFO] [stderr] Compiling regexp v0.3.2 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Compiling mockall v0.11.4 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling zip v0.6.6 [INFO] [stderr] Compiling yaab v0.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `system::MockSystem` [INFO] [stdout] --> src/cli/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub use system::MockSystem; [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: `yaab::Yaab` [INFO] [stdout] --> src/cli/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use yaab::Yaab; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/deploy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/commands/shell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/commands/shell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::TType` [INFO] [stdout] --> src/commands/shell.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data::TType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/upload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::DockerImage` [INFO] [stdout] --> src/commands/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::executers::DockerImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::main` [INFO] [stdout] --> src/configs/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::main; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Config` [INFO] [stdout] --> src/configs/handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/workspace/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TType` [INFO] [stdout] --> src/workspace/config.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data::{TType, WsBuildData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data/artifact.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/data/artifact.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 134 | AType::File => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | AType::Directory => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 142 | AType::Archive => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 145 | AType::Manifest => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 156 | _ => { [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb_variables` [INFO] [stdout] --> src/workspace/tasks.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | bb_variables: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bb_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rmdir_all` and `source_init_env` are never used [INFO] [stdout] --> src/cli/cli.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cli { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rmdir_all(&self, path: &PathBuf) -> Result<(), BError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn source_init_env( [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 `warn` is never used [INFO] [stdout] --> src/cli/logger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Logger { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn warn(&self, message: String); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_env_file` and `rmdir_all` are never used [INFO] [stdout] --> src/cli/system.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait System { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 39 | fn check_call(&self, params: &CallParams) -> Result<(), BError>; [INFO] [stdout] 40 | fn init_env_file( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn rmdir_all(&self, path: &PathBuf) -> Result<(), BError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_arg_etype` is never used [INFO] [stdout] --> src/commands/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait YCommand { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 160 | fn get_arg_etype(&self, cli: &Cli, id: &str, cmd: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `value` and `merge` are never used [INFO] [stdout] --> src/configs/context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Context { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn value(&self, key: &str) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn merge(&mut self, context: &Context) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `version`, `docker_dir`, and `cache_dir` are never read [INFO] [stdout] --> src/configs/settings.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WsSettings { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 15 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub docker_dir: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 22 | pub cache_dir: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/data/artifact.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl WsArtifactData { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `init_env` are never used [INFO] [stdout] --> src/data/config.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl WsConfigData { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 16 | pub fn from_str(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn init_env(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `get_ctx_path`, and `get_ctx_value` are never used [INFO] [stdout] --> src/data/context.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl WsContextData { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn from_str(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn get_ctx_path(&self, key: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn get_ctx_value(&self, key: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/data/customsubcmd.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl WsCustomSubCmdData { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn from_str(name: &str, json_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/data/data.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WsBuildData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | data: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `init_env_file` are never used [INFO] [stdout] --> src/data/data.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl WsBuildData { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn from_str(json_config: &str, settings: &WsSettingsHandler) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn init_env_file(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/data/include.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WsIncludeData { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn from_str(json_string: &str, settings: &WsSettingsHandler) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `index` and `ttype` are never read [INFO] [stdout] --> src/data/task.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct WsTaskData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 21 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 22 | name: String, [INFO] [stdout] 23 | ttype: TType, // Optional if not set for the task the default type 'hlos' is used [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `index`, `ttype`, `init_env`, and `env` are never used [INFO] [stdout] --> src/data/task.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl WsTaskData { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 38 | pub fn from_str(json_string: &str, build_data: &WsBuildData) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn index(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn ttype(&self) -> &TType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn init_env(&self) -> &PathBuf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn env(&self) -> &IndexMap { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/fs/archiver.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Archiver { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | path: PathBuf, [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Archiver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path` and `name` are never used [INFO] [stdout] --> src/fs/archiver.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Archiver { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `extension` are never read [INFO] [stdout] --> src/fs/manifest.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Manifest { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | path: PathBuf, [INFO] [stdout] 9 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | extension: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `name`, and `extension` are never used [INFO] [stdout] --> src/fs/manifest.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Manifest { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn path(&self) -> &PathBuf { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn extension(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Helper` is never constructed [INFO] [stdout] --> src/helper/mod.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Helper; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/helper/mod.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Helper { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 21 | pub fn setup_test_ws_default_dirs(work_dir: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn setup_test_ws_dirs(ws_settings: &WsSettingsHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn setup_test_build_configs_files(configs: &IndexMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn create_test_files(files: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn list_files_in_dir( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn list_files_in_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn verify_archived_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | pub fn setup_ws_settings(json_test_str: &str) -> WsSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn setup_ws_build_config_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | pub fn setup_ws( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn setup_build_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 276 | pub fn parse(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn setup_collector_test_ws( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn assert_hashmap(hash: &HashMap, verify: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | pub fn env_home() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | pub fn docker_bootstrap_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 391 | pub fn docker_cmdline_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/workspace/artifact.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WsArtifactsHandler { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn from_str( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `sub_cmds` is never used [INFO] [stdout] --> src/workspace/config.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl WsBuildConfigHandler { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn sub_cmds(&self) -> &IndexMap { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/workspace/customsubcmd.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl WsCustomSubCmdHandler { [INFO] [stdout] | -------------------------- associated function in this implementation [INFO] [stdout] 16 | pub fn from_str(name: &str, json_config: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_ws_dir`, `verify_ws`, `config`, `cache_dir`, and `docker_dir` are never used [INFO] [stdout] --> src/workspace/settings.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl WsSettingsHandler { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn verify_ws_dir(&self, dir: &Path) -> Result<(), BError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify_ws(&self) -> Result<(), BError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn config(&self) -> &WsSettings { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn cache_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn docker_dir(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `artifacts` are never used [INFO] [stdout] --> src/workspace/tasks.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl WsTaskHandler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 20 | pub fn from_str(json_config: &str, build_data: &WsBuildData) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn artifacts(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.48s [INFO] running `Command { std: "docker" "inspect" "86692c0c1c8c503d3ab54e09e9c462e82ae4033a049bcfbdb98aeacf97abae45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86692c0c1c8c503d3ab54e09e9c462e82ae4033a049bcfbdb98aeacf97abae45", kill_on_drop: false }` [INFO] [stdout] 86692c0c1c8c503d3ab54e09e9c462e82ae4033a049bcfbdb98aeacf97abae45 [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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 948b5a713c801164b46528e7dd7ccf028fe8e8e905d66eeb0b3ed8950c94a965 [INFO] running `Command { std: "docker" "start" "-a" "948b5a713c801164b46528e7dd7ccf028fe8e8e905d66eeb0b3ed8950c94a965", kill_on_drop: false }` [INFO] [stderr] Compiling yaab v0.0.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `yaab::Yaab` [INFO] [stdout] --> src/cli/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use yaab::Yaab; [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: `std::collections::HashMap` [INFO] [stdout] --> src/commands/deploy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IndexMap` and `indexmap` [INFO] [stdout] --> src/commands/list.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | use indexmap::{indexmap, IndexMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/setup.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env::var` [INFO] [stdout] --> src/commands/shell.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::env::var; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/commands/shell.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::TType` [INFO] [stdout] --> src/commands/shell.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data::TType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/sync.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/commands/upload.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::DockerImage` [INFO] [stdout] --> src/commands/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::executers::DockerImage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::main` [INFO] [stdout] --> src/configs/handler.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::main; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Config` [INFO] [stdout] --> src/configs/handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use super::Config; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/workspace/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TType` [INFO] [stdout] --> src/workspace/config.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::data::{TType, WsBuildData}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::TType` [INFO] [stdout] --> src/workspace/config.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | use crate::data::TType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data/artifact.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/data/artifact.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 134 | AType::File => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 139 | AType::Directory => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 142 | AType::Archive => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 145 | AType::Manifest => { [INFO] [stdout] | --------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 156 | _ => { [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/workspace/config.rs:476:13 [INFO] [stdout] | [INFO] [stdout] 476 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bb_variables` [INFO] [stdout] --> src/workspace/tasks.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | bb_variables: &Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bb_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `rmdir_all` and `source_init_env` are never used [INFO] [stdout] --> src/cli/cli.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl Cli { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn rmdir_all(&self, path: &PathBuf) -> Result<(), BError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn source_init_env( [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 `warn` is never used [INFO] [stdout] --> src/cli/logger.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Logger { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn warn(&self, message: String); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rmdir_all` is never used [INFO] [stdout] --> src/cli/system.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait System { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 45 | fn rmdir_all(&self, path: &PathBuf) -> Result<(), BError>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_arg_etype` is never used [INFO] [stdout] --> src/commands/mod.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait YCommand { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 160 | fn get_arg_etype(&self, cli: &Cli, id: &str, cmd: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/configs/context.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn merge(&mut self, context: &Context) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/configs/settings.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WsSettings { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 15 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WsSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/data/artifact.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl WsArtifactData { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/data/data.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WsBuildData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 16 | data: Value, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/data/include.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WsIncludeData { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 15 | pub fn from_str(json_string: &str, settings: &WsSettingsHandler) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `setup_test_ws_dirs`, `setup_ws_build_config_handler`, and `assert_hashmap` are never used [INFO] [stdout] --> src/helper/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Helper { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn setup_test_ws_dirs(ws_settings: &WsSettingsHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn setup_ws_build_config_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn assert_hashmap(hash: &HashMap, verify: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `verify_ws_dir`, `verify_ws`, and `config` are never used [INFO] [stdout] --> src/workspace/settings.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl WsSettingsHandler { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn verify_ws_dir(&self, dir: &Path) -> Result<(), BError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn verify_ws(&self) -> Result<(), BError> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn config(&self) -> &WsSettings { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/workspace/tasks.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl WsTaskHandler { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 20 | pub fn from_str(json_config: &str, build_data: &WsBuildData) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.50s [INFO] running `Command { std: "docker" "inspect" "948b5a713c801164b46528e7dd7ccf028fe8e8e905d66eeb0b3ed8950c94a965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "948b5a713c801164b46528e7dd7ccf028fe8e8e905d66eeb0b3ed8950c94a965", kill_on_drop: false }` [INFO] [stdout] 948b5a713c801164b46528e7dd7ccf028fe8e8e905d66eeb0b3ed8950c94a965