[INFO] fetching crate thebakery 1.1.14... [INFO] checking thebakery-1.1.14 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate thebakery 1.1.14 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate thebakery 1.1.14 [INFO] finished tweaking crates.io crate thebakery 1.1.14 [INFO] tweaked toml for crates.io crate thebakery 1.1.14 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate thebakery 1.1.14 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate thebakery 1.1.14 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65e3ab148a477accd5d62a6f302cd22fcfdd9717b847c5614418dfbe90e8dfea [INFO] running `Command { std: "docker" "start" "-a" "65e3ab148a477accd5d62a6f302cd22fcfdd9717b847c5614418dfbe90e8dfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65e3ab148a477accd5d62a6f302cd22fcfdd9717b847c5614418dfbe90e8dfea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e3ab148a477accd5d62a6f302cd22fcfdd9717b847c5614418dfbe90e8dfea", kill_on_drop: false }` [INFO] [stdout] 65e3ab148a477accd5d62a6f302cd22fcfdd9717b847c5614418dfbe90e8dfea [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef4f5084e69b0fcc06cbd336c35aef5abfeaf608c0ce30945300c656b7bde2ee [INFO] running `Command { std: "docker" "start" "-a" "ef4f5084e69b0fcc06cbd336c35aef5abfeaf608c0ce30945300c656b7bde2ee", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking deranged v0.3.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Compiling thiserror v1.0.49 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.105 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking aes v0.8.3 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking time v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling syn v2.0.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking xattr v1.0.1 [INFO] [stderr] Checking filetime v0.2.22 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking os_pipe v1.1.4 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking users v0.11.0 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking clap v4.4.2 [INFO] [stderr] Checking regex-automata v0.3.8 [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] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling thiserror-impl v1.0.49 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking regexp v0.3.2 [INFO] [stderr] Compiling mockall_derive v0.11.4 [INFO] [stderr] Checking mockall v0.11.4 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.6 [INFO] [stderr] Checking thebakery v1.1.14 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `bakery::Bakery` [INFO] [stdout] --> src/cli/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use bakery::Bakery; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `system::MockSystem` [INFO] [stdout] --> src/cli/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use system::MockSystem; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::Docker` [INFO] [stdout] --> src/commands/build.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::executers::Docker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::Docker` [INFO] [stdout] --> src/commands/clean.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::executers::Docker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::Docker` [INFO] [stdout] --> src/commands/upload.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::executers::Docker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CTX_KEY_CONFIG` [INFO] [stdout] --> src/data/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | WsContextData, CTX_KEY_BRANCH, CTX_KEY_CONFIG, CTX_KEY_DEVICE, CTX_KEY_EYECANDY, CTX_KEY_IMAGE, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/fs/bitbake.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WsContextData` [INFO] [stdout] --> src/workspace/config.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data::{WsBuildData, WsContextData}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bakery::Bakery` [INFO] [stdout] --> src/cli/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use bakery::Bakery; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::Docker` [INFO] [stdout] --> src/commands/build.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::executers::Docker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::Docker` [INFO] [stdout] --> src/commands/clean.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::executers::Docker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::executers::Docker` [INFO] [stdout] --> src/commands/upload.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::executers::Docker; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CTX_KEY_CONFIG` [INFO] [stdout] --> src/data/mod.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | WsContextData, CTX_KEY_BRANCH, CTX_KEY_CONFIG, CTX_KEY_DEVICE, CTX_KEY_EYECANDY, CTX_KEY_IMAGE, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::result` [INFO] [stdout] --> src/fs/bitbake.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::result; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WsContextData` [INFO] [stdout] --> src/workspace/config.rs:6:32 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data::{WsBuildData, WsContextData}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/commands/shell.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut res: Result<(), BError> = Ok(()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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)]` 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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/configs/context.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | 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:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WsSettings { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 16 | 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: method `merge` is never used [INFO] [stdout] --> src/configs/settings.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl WsSettings { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn merge(&mut self, data: &mut WsSettings) { [INFO] [stdout] | ^^^^^ [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 `docker_image` are never used [INFO] [stdout] --> src/data/bitbake.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl WsBitbakeData { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 26 | pub fn from_str(json_string: &str, settings: &WsSettingsHandler) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn docker_image(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/data/config.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl WsConfigData { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 15 | pub fn from_str(json_string: &str) -> Result { [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:126:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl WsContextData { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn from_str(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_ctx_path(&self, key: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | 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 function `from_str` is never used [INFO] [stdout] --> src/data/data.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl WsBuildData { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn from_str(json_config: &str, settings: &WsSettingsHandler) -> Result { [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: field `index` is never read [INFO] [stdout] --> src/data/task.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct WsTaskData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 17 | index: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str` and `index` are never used [INFO] [stdout] --> src/data/task.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl WsTaskData { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn from_str(json_string: &str, build_data: &WsBuildData) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn index(&self) -> u32 { [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:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Helper; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated functions are never used [INFO] [stdout] --> src/helper/mod.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Helper { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 22 | pub fn write_json_conf(path: &PathBuf, json_str: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn setup_test_ws_default_dirs(work_dir: &Path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn setup_test_ws_dirs(ws_settings: &WsSettingsHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn setup_test_build_configs_files(configs: &IndexMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn create_test_files(files: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn list_files_in_dir( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn list_files_in_archive( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn verify_archived_files( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 204 | pub fn setup_ws_settings(json_test_str: &str) -> WsSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn setup_ws_build_config_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | pub fn setup_ws( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 271 | pub fn setup_build_data( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 300 | pub fn parse(json_string: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 307 | pub fn setup_collector_test_ws( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn assert_hashmap(hash: &HashMap, verify: &HashMap) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 330 | pub fn env_home() -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 344 | pub fn docker_pull_string(image: &DockerImage) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn docker_bootstrap_string( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | 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 `subcmds` is never used [INFO] [stdout] --> src/workspace/config.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl WsBuildConfigHandler { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn subcmds(&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 `config` and `docker_dir` are never used [INFO] [stdout] --> src/workspace/settings.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl WsSettingsHandler { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn config(&self) -> &WsSettings { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | 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:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl WsTaskHandler { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 21 | pub fn from_str(json_config: &str, build_data: &WsBuildData) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn artifacts(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/commands/shell.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | let mut res: Result<(), BError> = Ok(()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `json_task_str` [INFO] [stdout] --> src/data/data.rs:618:13 [INFO] [stdout] | [INFO] [stdout] 618 | let json_task_str: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_task_str` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `i` is never read [INFO] [stdout] --> src/workspace/config.rs:438:13 [INFO] [stdout] | [INFO] [stdout] 438 | i += 1; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `merge` is never used [INFO] [stdout] --> src/configs/context.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Context { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 154 | 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:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct WsSettings { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 16 | 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` and `setup_ws_build_config_handler` are never used [INFO] [stdout] --> src/helper/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Helper { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn setup_test_ws_dirs(ws_settings: &WsSettingsHandler) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub fn setup_ws_build_config_handler( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/workspace/settings.rs:91:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl WsSettingsHandler { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn config(&self) -> &WsSettings { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.32s [INFO] running `Command { std: "docker" "inspect" "ef4f5084e69b0fcc06cbd336c35aef5abfeaf608c0ce30945300c656b7bde2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef4f5084e69b0fcc06cbd336c35aef5abfeaf608c0ce30945300c656b7bde2ee", kill_on_drop: false }` [INFO] [stdout] ef4f5084e69b0fcc06cbd336c35aef5abfeaf608c0ce30945300c656b7bde2ee