[INFO] cloning repository https://github.com/TimelessOS/Flint [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TimelessOS/Flint" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimelessOS%2FFlint", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimelessOS%2FFlint'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef68dc719e132a173290edcbda5208e711381ae1 [INFO] building TimelessOS/Flint against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimelessOS%2FFlint" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TimelessOS/Flint [INFO] finished tweaking git repo https://github.com/TimelessOS/Flint [INFO] tweaked toml for git repo https://github.com/TimelessOS/Flint written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TimelessOS/Flint on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TimelessOS/Flint 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_core v1.0.223 [INFO] [stderr] Downloaded temp-dir v0.1.16 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded filetime v0.2.26 [INFO] [stderr] Downloaded serde v1.0.223 [INFO] [stderr] Downloaded async-object-pool v0.1.5 [INFO] [stderr] Downloaded levenshtein v1.0.5 [INFO] [stderr] Downloaded liblzma v0.4.4 [INFO] [stderr] Downloaded basic-cookies v0.1.5 [INFO] [stderr] Downloaded serde_regex v1.1.0 [INFO] [stderr] Downloaded ed25519 v3.0.0-rc.0 [INFO] [stderr] Downloaded bzip2 v0.6.0 [INFO] [stderr] Downloaded libbz2-rs-sys v0.2.2 [INFO] [stderr] Downloaded const-oid v0.10.1 [INFO] [stderr] Downloaded crossterm v0.29.0 [INFO] [stderr] Downloaded ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Downloaded comfy-table v7.2.1 [INFO] [stderr] Downloaded spki v0.8.0-rc.4 [INFO] [stderr] Downloaded hybrid-array v0.4.0 [INFO] [stderr] Downloaded digest v0.11.0-rc.1 [INFO] [stderr] Downloaded sha2 v0.11.0-rc.2 [INFO] [stderr] Downloaded console v0.16.1 [INFO] [stderr] Downloaded dialoguer v0.12.0 [INFO] [stderr] Downloaded pem-rfc7468 v1.0.0-rc.3 [INFO] [stderr] Downloaded pkcs8 v0.11.0-rc.6 [INFO] [stderr] Downloaded signature v3.0.0-rc.3 [INFO] [stderr] Downloaded curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded httpmock v0.7.0 [INFO] [stderr] Downloaded serde_derive v1.0.223 [INFO] [stderr] Downloaded tar v0.4.44 [INFO] [stderr] Downloaded block-buffer v0.11.0-rc.5 [INFO] [stderr] Downloaded crypto-common v0.2.0-rc.4 [INFO] [stderr] Downloaded xattr v1.5.1 [INFO] [stderr] Downloaded fiat-crypto v0.3.0 [INFO] [stderr] Downloaded liblzma-sys v0.4.4 [INFO] [stderr] Downloaded der v0.8.0-rc.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5419ec39aef809597179933a7403e1f14cbb1e47101a099bbf2ff860ff8be051 [INFO] running `Command { std: "docker" "start" "-a" "5419ec39aef809597179933a7403e1f14cbb1e47101a099bbf2ff860ff8be051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5419ec39aef809597179933a7403e1f14cbb1e47101a099bbf2ff860ff8be051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5419ec39aef809597179933a7403e1f14cbb1e47101a099bbf2ff860ff8be051", kill_on_drop: false }` [INFO] [stdout] 5419ec39aef809597179933a7403e1f14cbb1e47101a099bbf2ff860ff8be051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f1b704f2b2abea05bdcdb53d98e9d7b6f38dd652b55c02056760cda37514c44 [INFO] running `Command { std: "docker" "start" "-a" "1f1b704f2b2abea05bdcdb53d98e9d7b6f38dd652b55c02056760cda37514c44", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling const-oid v0.10.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pem-rfc7468 v1.0.0-rc.3 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling der v0.8.0-rc.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.223 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hybrid-array v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-common v0.2.0-rc.4 [INFO] [stderr] Compiling block-buffer v0.11.0-rc.5 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling spki v0.8.0-rc.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling liblzma-sys v0.4.4 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling pkcs8 v0.11.0-rc.6 [INFO] [stderr] Compiling signature v3.0.0-rc.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling ed25519 v3.0.0-rc.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling clap_builder v4.5.47 [INFO] [stderr] Compiling digest v0.11.0-rc.1 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling sha2 v0.11.0-rc.2 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling filetime v0.2.26 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling libbz2-rs-sys v0.2.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling dialoguer v0.12.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling bzip2 v0.6.0 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling comfy-table v7.2.1 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling temp-dir v0.1.16 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling liblzma v0.4.4 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling flintpkg v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `unwrap_tar_contents` is never used [INFO] [stdout] --> src/build/sources.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn unwrap_tar_contents(temp_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_dir_times` is never used [INFO] [stdout] --> src/build/sources.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn fix_dir_times(path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_manifest_signed` is never used [INFO] [stdout] --> src/repo/manifest_io.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_manifest_signed(repo_path: &Path, public_key_serialized: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chunk_store_path` [INFO] [stdout] --> src/commands/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | chunk_store_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_store_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BuildManifest` is never constructed [INFO] [stdout] --> src/build/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BuildManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Source` is never constructed [INFO] [stdout] --> src/build/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Source { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/build/mod.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include` is never used [INFO] [stdout] --> src/build/mod.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn include( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sources` is never used [INFO] [stdout] --> src/build/sources.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn get_sources(path: &Path, source_path: &Path, sources: &[Source]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_local` is never used [INFO] [stdout] --> src/build/sources.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn pull_local(source_path: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_git` is never used [INFO] [stdout] --> src/build/sources.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn pull_git(source: &Source, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap_tar_contents` is never used [INFO] [stdout] --> src/build/sources.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn unwrap_tar_contents(temp_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_dir_times` is never used [INFO] [stdout] --> src/build/sources.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn fix_dir_times(path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tar` is never used [INFO] [stdout] --> src/bundle/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_tar(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_bundle` is never used [INFO] [stdout] --> src/bundle/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn extract_bundle(bundle_path: &Path, extract_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_all_chunks` is never used [INFO] [stdout] --> src/chunks/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn verify_all_chunks(repo_path: &Path, chunk_store_path: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_chunk_filename` is never used [INFO] [stdout] --> src/chunks/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_chunk_filename(hash: &str, permissions: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/chunks/hash.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hash(hash_kind: HashKind, data: &[u8]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_tree` is never used [INFO] [stdout] --> src/chunks/tree.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_tree( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_tree` is never used [INFO] [stdout] --> src/chunks/tree.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn load_tree(load_path: &Path, chunk_store_path: &Path, chunks: &[Chunk]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_tree_unsafe` is never used [INFO] [stdout] --> src/chunks/tree.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn load_tree_unsafe(load_path: &Path, chunk_store_path: &Path, chunks: &[Chunk]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_tree_size` is never used [INFO] [stdout] --> src/chunks/tree.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn estimate_tree_size(chunks: &[Chunk]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_unused` is never used [INFO] [stdout] --> src/chunks/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn clean_unused(repos_path: &Path, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_used` is never used [INFO] [stdout] --> src/chunks/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn clean_used(repos_path: &Path, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean` is never used [INFO] [stdout] --> src/chunks/utils.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn clean(chunk_store_path: &Path, allowed_chunks: &[Chunk]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_repos_dir` is never used [INFO] [stdout] --> src/config.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_user_repos_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_repos_dir` is never used [INFO] [stdout] --> src/config.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_system_repos_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_chunks_dir` is never used [INFO] [stdout] --> src/config.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_user_chunks_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_chunks_dir` is never used [INFO] [stdout] --> src/config.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_system_chunks_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_quicklaunch_dir` is never used [INFO] [stdout] --> src/config.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_system_quicklaunch_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_quicklaunch_dir` is never used [INFO] [stdout] --> src/config.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_user_quicklaunch_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_build_cache_dir` is never used [INFO] [stdout] --> src/config.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_build_cache_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_data_dir` is never used [INFO] [stdout] --> src/config.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_system_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_data_dir` is never used [INFO] [stdout] --> src/config.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_user_data_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skipped_update_repo` is never used [INFO] [stdout] --> src/log.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skipped_update_repo(repo_name: &OsStr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updated_package` is never used [INFO] [stdout] --> src/log.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn updated_package(package: &PackageManifest) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updated_repo` is never used [INFO] [stdout] --> src/log.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn updated_repo(repo: &OsStr) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `added_repo` is never used [INFO] [stdout] --> src/log.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn added_repo(repo: &str, public_key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cannot_update_repo` is never used [INFO] [stdout] --> src/log.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn cannot_update_repo(repo: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_redirect` is never used [INFO] [stdout] --> src/log.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn update_redirect(repo: &str, old_url: &str, new_url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_package` is never used [INFO] [stdout] --> src/repo/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn insert_package( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_package` is never used [INFO] [stdout] --> src/repo/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_package(repo_manifest: &RepoManifest, package_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_packages` is never used [INFO] [stdout] --> src/repo/mod.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_all_packages(repo_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_installed_packages` is never used [INFO] [stdout] --> src/repo/mod.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_all_installed_packages(repo_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_manifest_signed` is never used [INFO] [stdout] --> src/repo/manifest_io.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_manifest_signed(repo_path: &Path, public_key_serialized: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/run/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn start>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/run/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn install(repo_path: &Path, package_id: &str, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_quicklaunch` is never used [INFO] [stdout] --> src/run/quicklaunch.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn update_quicklaunch(repos_path: &Path, quicklaunch_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_package` is never used [INFO] [stdout] --> src/utils/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn resolve_package( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "1f1b704f2b2abea05bdcdb53d98e9d7b6f38dd652b55c02056760cda37514c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1b704f2b2abea05bdcdb53d98e9d7b6f38dd652b55c02056760cda37514c44", kill_on_drop: false }` [INFO] [stdout] 1f1b704f2b2abea05bdcdb53d98e9d7b6f38dd652b55c02056760cda37514c44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b6db86439ef91cd503b1c73f5960d0c2976707595165c07b30d404d7eddacfa [INFO] running `Command { std: "docker" "start" "-a" "3b6db86439ef91cd503b1c73f5960d0c2976707595165c07b30d404d7eddacfa", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.223 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling async-signal v0.2.12 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling xattr v1.5.1 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling curve25519-dalek v5.0.0-pre.1 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling ed25519-dalek v3.0.0-pre.1 [INFO] [stderr] Compiling serde v1.0.223 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling dialoguer v0.12.0 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling comfy-table v7.2.1 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling tar v0.4.44 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-process v2.4.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling flintpkg v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stdout] warning: function `unwrap_tar_contents` is never used [INFO] [stdout] --> src/build/sources.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn unwrap_tar_contents(temp_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_dir_times` is never used [INFO] [stdout] --> src/build/sources.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn fix_dir_times(path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_manifest_signed` is never used [INFO] [stdout] --> src/repo/manifest_io.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_manifest_signed(repo_path: &Path, public_key_serialized: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_regex v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stdout] warning: unused variable: `chunk_store_path` [INFO] [stdout] --> src/commands/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | chunk_store_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_store_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling async-object-pool v0.1.5 [INFO] [stderr] Compiling basic-cookies v0.1.5 [INFO] [stdout] warning: struct `BuildManifest` is never constructed [INFO] [stdout] --> src/build/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BuildManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Source` is never constructed [INFO] [stdout] --> src/build/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Source { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/build/mod.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include` is never used [INFO] [stdout] --> src/build/mod.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn include( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sources` is never used [INFO] [stdout] --> src/build/sources.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn get_sources(path: &Path, source_path: &Path, sources: &[Source]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_local` is never used [INFO] [stdout] --> src/build/sources.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn pull_local(source_path: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_git` is never used [INFO] [stdout] --> src/build/sources.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn pull_git(source: &Source, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unwrap_tar_contents` is never used [INFO] [stdout] --> src/build/sources.rs:95:4 [INFO] [stdout] | [INFO] [stdout] 95 | fn unwrap_tar_contents(temp_dir: &Path, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_dir_times` is never used [INFO] [stdout] --> src/build/sources.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn fix_dir_times(path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tar` is never used [INFO] [stdout] --> src/bundle/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_tar(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_bundle` is never used [INFO] [stdout] --> src/bundle/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn extract_bundle(bundle_path: &Path, extract_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_all_chunks` is never used [INFO] [stdout] --> src/chunks/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn verify_all_chunks(repo_path: &Path, chunk_store_path: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_chunk_filename` is never used [INFO] [stdout] --> src/chunks/mod.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn get_chunk_filename(hash: &str, permissions: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hash` is never used [INFO] [stdout] --> src/chunks/hash.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn hash(hash_kind: HashKind, data: &[u8]) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_tree` is never used [INFO] [stdout] --> src/chunks/tree.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn save_tree( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_tree` is never used [INFO] [stdout] --> src/chunks/tree.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn load_tree(load_path: &Path, chunk_store_path: &Path, chunks: &[Chunk]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_tree_unsafe` is never used [INFO] [stdout] --> src/chunks/tree.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn load_tree_unsafe(load_path: &Path, chunk_store_path: &Path, chunks: &[Chunk]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_tree_size` is never used [INFO] [stdout] --> src/chunks/tree.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn estimate_tree_size(chunks: &[Chunk]) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_unused` is never used [INFO] [stdout] --> src/chunks/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn clean_unused(repos_path: &Path, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_used` is never used [INFO] [stdout] --> src/chunks/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn clean_used(repos_path: &Path, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean` is never used [INFO] [stdout] --> src/chunks/utils.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn clean(chunk_store_path: &Path, allowed_chunks: &[Chunk]) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_repos_dir` is never used [INFO] [stdout] --> src/config.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_user_repos_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_repos_dir` is never used [INFO] [stdout] --> src/config.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_system_repos_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_chunks_dir` is never used [INFO] [stdout] --> src/config.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_user_chunks_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_chunks_dir` is never used [INFO] [stdout] --> src/config.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_system_chunks_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_quicklaunch_dir` is never used [INFO] [stdout] --> src/config.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_system_quicklaunch_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_quicklaunch_dir` is never used [INFO] [stdout] --> src/config.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_user_quicklaunch_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_build_cache_dir` is never used [INFO] [stdout] --> src/config.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_build_cache_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_data_dir` is never used [INFO] [stdout] --> src/config.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_system_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_data_dir` is never used [INFO] [stdout] --> src/config.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_user_data_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skipped_update_repo` is never used [INFO] [stdout] --> src/log.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skipped_update_repo(repo_name: &OsStr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updated_package` is never used [INFO] [stdout] --> src/log.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn updated_package(package: &PackageManifest) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updated_repo` is never used [INFO] [stdout] --> src/log.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn updated_repo(repo: &OsStr) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `added_repo` is never used [INFO] [stdout] --> src/log.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn added_repo(repo: &str, public_key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cannot_update_repo` is never used [INFO] [stdout] --> src/log.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn cannot_update_repo(repo: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_redirect` is never used [INFO] [stdout] --> src/log.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn update_redirect(repo: &str, old_url: &str, new_url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `insert_package` is never used [INFO] [stdout] --> src/repo/mod.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn insert_package( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_package` is never used [INFO] [stdout] --> src/repo/mod.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn get_package(repo_manifest: &RepoManifest, package_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_packages` is never used [INFO] [stdout] --> src/repo/mod.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_all_packages(repo_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_installed_packages` is never used [INFO] [stdout] --> src/repo/mod.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_all_installed_packages(repo_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_manifest_signed` is never used [INFO] [stdout] --> src/repo/manifest_io.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn read_manifest_signed(repo_path: &Path, public_key_serialized: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/run/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn start>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `install` is never used [INFO] [stdout] --> src/run/mod.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | pub async fn install(repo_path: &Path, package_id: &str, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_quicklaunch` is never used [INFO] [stdout] --> src/run/quicklaunch.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn update_quicklaunch(repos_path: &Path, quicklaunch_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_package` is never used [INFO] [stdout] --> src/utils/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn resolve_package( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling httpmock v0.7.0 [INFO] [stdout] warning: unused variable: `chunk_store_path` [INFO] [stdout] --> src/commands/main.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | chunk_store_path: &Path, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chunk_store_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_dir_times` is never used [INFO] [stdout] --> src/build/sources.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn fix_dir_times(path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BuildManifest` is never constructed [INFO] [stdout] --> src/build/mod.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | struct BuildManifest { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Source` is never constructed [INFO] [stdout] --> src/build/mod.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | struct Source { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build` is never used [INFO] [stdout] --> src/build/mod.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | pub async fn build( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `include` is never used [INFO] [stdout] --> src/build/mod.rs:186:4 [INFO] [stdout] | [INFO] [stdout] 186 | fn include( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_sources` is never used [INFO] [stdout] --> src/build/sources.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn get_sources(path: &Path, source_path: &Path, sources: &[Source]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pull_git` is never used [INFO] [stdout] --> src/build/sources.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn pull_git(source: &Source, target_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fix_dir_times` is never used [INFO] [stdout] --> src/build/sources.rs:246:4 [INFO] [stdout] | [INFO] [stdout] 246 | fn fix_dir_times(path: &Path) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_tar` is never used [INFO] [stdout] --> src/bundle/mod.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_tar(data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_bundle` is never used [INFO] [stdout] --> src/bundle/mod.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn extract_bundle(bundle_path: &Path, extract_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `verify_all_chunks` is never used [INFO] [stdout] --> src/chunks/mod.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn verify_all_chunks(repo_path: &Path, chunk_store_path: &Path) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_unused` is never used [INFO] [stdout] --> src/chunks/utils.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn clean_unused(repos_path: &Path, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clean_used` is never used [INFO] [stdout] --> src/chunks/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn clean_used(repos_path: &Path, chunk_store_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_repos_dir` is never used [INFO] [stdout] --> src/config.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_user_repos_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_repos_dir` is never used [INFO] [stdout] --> src/config.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn get_system_repos_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_chunks_dir` is never used [INFO] [stdout] --> src/config.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn get_user_chunks_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_chunks_dir` is never used [INFO] [stdout] --> src/config.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn get_system_chunks_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_quicklaunch_dir` is never used [INFO] [stdout] --> src/config.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_system_quicklaunch_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_quicklaunch_dir` is never used [INFO] [stdout] --> src/config.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_user_quicklaunch_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_build_cache_dir` is never used [INFO] [stdout] --> src/config.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn get_build_cache_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_system_data_dir` is never used [INFO] [stdout] --> src/config.rs:141:4 [INFO] [stdout] | [INFO] [stdout] 141 | fn get_system_data_dir() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_user_data_dir` is never used [INFO] [stdout] --> src/config.rs:163:4 [INFO] [stdout] | [INFO] [stdout] 163 | fn get_user_data_dir() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `skipped_update_repo` is never used [INFO] [stdout] --> src/log.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn skipped_update_repo(repo_name: &OsStr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updated_package` is never used [INFO] [stdout] --> src/log.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn updated_package(package: &PackageManifest) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `updated_repo` is never used [INFO] [stdout] --> src/log.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn updated_repo(repo: &OsStr) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `added_repo` is never used [INFO] [stdout] --> src/log.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn added_repo(repo: &str, public_key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cannot_update_repo` is never used [INFO] [stdout] --> src/log.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn cannot_update_repo(repo: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_redirect` is never used [INFO] [stdout] --> src/log.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn update_redirect(repo: &str, old_url: &str, new_url: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_packages` is never used [INFO] [stdout] --> src/repo/mod.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn get_all_packages(repo_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_all_installed_packages` is never used [INFO] [stdout] --> src/repo/mod.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_all_installed_packages(repo_path: &Path) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start` is never used [INFO] [stdout] --> src/run/mod.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn start>( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `update_quicklaunch` is never used [INFO] [stdout] --> src/run/quicklaunch.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn update_quicklaunch(repos_path: &Path, quicklaunch_path: &Path) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_package` is never used [INFO] [stdout] --> src/utils/mod.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn resolve_package( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 19s [INFO] running `Command { std: "docker" "inspect" "3b6db86439ef91cd503b1c73f5960d0c2976707595165c07b30d404d7eddacfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b6db86439ef91cd503b1c73f5960d0c2976707595165c07b30d404d7eddacfa", kill_on_drop: false }` [INFO] [stdout] 3b6db86439ef91cd503b1c73f5960d0c2976707595165c07b30d404d7eddacfa