[INFO] cloning repository https://github.com/ocfox/naric [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ocfox/naric" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focfox%2Fnaric", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focfox%2Fnaric'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7df0ac0013bb7bf7ade5e70a733565cf07907902 [INFO] building ocfox/naric against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Focfox%2Fnaric" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ocfox/naric [INFO] finished tweaking git repo https://github.com/ocfox/naric [INFO] tweaked toml for git repo https://github.com/ocfox/naric written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ocfox/naric 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/ocfox/naric 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] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-7-tc1/source/naric-worker/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-ini v0.18.0 [INFO] [stderr] Downloaded worker-macros v0.5.0 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.5.0 [INFO] [stderr] Downloaded worker-sys v0.5.0 [INFO] [stderr] Downloaded pest_generator v2.8.0 [INFO] [stderr] Downloaded pest_meta v2.8.0 [INFO] [stderr] Downloaded pest_derive v2.8.0 [INFO] [stderr] Downloaded config v0.13.4 [INFO] [stderr] Downloaded cc v1.2.20 [INFO] [stderr] Downloaded worker v0.5.0 [INFO] [stderr] Downloaded worker-kv v0.7.0 [INFO] [stderr] Downloaded dlv-list v0.3.0 [INFO] [stderr] Downloaded ordered-multimap v0.4.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] cbb4adbc0dedf102969b759409d88e1f59904faee5bc20c304fca19a6fdf8242 [INFO] running `Command { std: "docker" "start" "-a" "cbb4adbc0dedf102969b759409d88e1f59904faee5bc20c304fca19a6fdf8242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbb4adbc0dedf102969b759409d88e1f59904faee5bc20c304fca19a6fdf8242", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbb4adbc0dedf102969b759409d88e1f59904faee5bc20c304fca19a6fdf8242", kill_on_drop: false }` [INFO] [stdout] cbb4adbc0dedf102969b759409d88e1f59904faee5bc20c304fca19a6fdf8242 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9e105d2ea8132b6616faabf2b92b1e3b4dee3090b58be924b687cf578f1df8be [INFO] running `Command { std: "docker" "start" "-a" "9e105d2ea8132b6616faabf2b92b1e3b4dee3090b58be924b687cf578f1df8be", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/naric-worker/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.100 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling zeroize v1.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling curve25519-dalek v3.2.1 [INFO] [stderr] Compiling dialoguer v0.10.4 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling simple_asn1 v0.6.3 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml_datetime v0.6.9 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ed25519-dalek v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling serde-wasm-bindgen v0.5.0 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling worker-kv v0.7.0 [INFO] [stderr] Compiling jsonwebtoken v8.3.0 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling worker-sys v0.5.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling worker-macros v0.5.0 [INFO] [stderr] Compiling wasm-streams v0.4.2 [INFO] [stderr] Compiling worker v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling naric-worker v0.1.0 (/opt/rustwide/workdir/naric-worker) [INFO] [stdout] warning: unused imports: `handle_cache_info`, `handle_create_cache`, and `handle_list_caches` [INFO] [stdout] --> naric-worker/src/handlers/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use cache::{handle_cache_info, handle_create_cache, handle_list_caches}; [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: `base64` [INFO] [stdout] --> naric-worker/src/nix/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_name` [INFO] [stdout] --> naric-worker/src/handlers/put.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let cache_name = path.split('/').next().unwrap_or("default"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheResponse` is never constructed [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CacheResponse { [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 `CreateCacheRequest` is never constructed [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct CreateCacheRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_caches` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn handle_list_caches(env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cache_info` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn handle_cache_info(path: &str, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_create_cache` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn handle_create_cache(mut req: Request, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_name_is_valid` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cache_name_is_valid(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_NAMESPACE_PUBLIC` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const KEY_NAMESPACE_PUBLIC: &str = "cache-pubkey:"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_narinfo` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn generate_narinfo(fields: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_store_path_from_narinfo_request` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn extract_store_path_from_narinfo_request(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cache_public_key` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get_cache_public_key(env: &Env, cache_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling naric-cli v0.1.0 (/opt/rustwide/workdir/naric-cli) [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> naric-cli/src/config/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryFrom; [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: `Path` [INFO] [stdout] --> naric-cli/src/config/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> naric-cli/src/config/mod.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | base64::decode(&private_key_data).context("Failed to decode private key")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> naric-cli/src/config/mod.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | base64::decode(&public_key_data).context("Failed to decode public key")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> naric-cli/src/config/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | base64::encode(signature.to_bytes()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> naric-cli/src/commands/cache.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> naric-cli/src/commands/cache.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct CacheResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_credentials` is never used [INFO] [stdout] --> naric-cli/src/config/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn save_credentials(creds: &Credentials) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "9e105d2ea8132b6616faabf2b92b1e3b4dee3090b58be924b687cf578f1df8be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e105d2ea8132b6616faabf2b92b1e3b4dee3090b58be924b687cf578f1df8be", kill_on_drop: false }` [INFO] [stdout] 9e105d2ea8132b6616faabf2b92b1e3b4dee3090b58be924b687cf578f1df8be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4aaf422c0989c338966843e8d099d6cf418b544ffaa62f34a013ecc997513d86 [INFO] running `Command { std: "docker" "start" "-a" "4aaf422c0989c338966843e8d099d6cf418b544ffaa62f34a013ecc997513d86", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/naric-worker/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling naric-worker v0.1.0 (/opt/rustwide/workdir/naric-worker) [INFO] [stderr] Compiling naric-cli v0.1.0 (/opt/rustwide/workdir/naric-cli) [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> naric-cli/src/config/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::convert::TryFrom; [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: `Path` [INFO] [stdout] --> naric-cli/src/config/mod.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_cache_info`, `handle_create_cache`, and `handle_list_caches` [INFO] [stdout] --> naric-worker/src/handlers/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | pub use cache::{handle_cache_info, handle_create_cache, handle_list_caches}; [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: `base64` [INFO] [stdout] --> naric-worker/src/nix/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use base64; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> naric-cli/src/config/mod.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | base64::decode(&private_key_data).context("Failed to decode private key")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> naric-cli/src/config/mod.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | base64::decode(&public_key_data).context("Failed to decode public key")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> naric-cli/src/config/mod.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | base64::encode(signature.to_bytes()) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cache_name` [INFO] [stdout] --> naric-worker/src/handlers/put.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let cache_name = path.split('/').next().unwrap_or("default"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cache_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CacheResponse` is never constructed [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct CacheResponse { [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 `CreateCacheRequest` is never constructed [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct CreateCacheRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_list_caches` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 20 | pub async fn handle_list_caches(env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_cache_info` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn handle_cache_info(path: &str, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_create_cache` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | pub async fn handle_create_cache(mut req: Request, env: &Env) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cache_name_is_valid` is never used [INFO] [stdout] --> naric-worker/src/handlers/cache.rs:144:4 [INFO] [stdout] | [INFO] [stdout] 144 | fn cache_name_is_valid(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KEY_NAMESPACE_PUBLIC` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const KEY_NAMESPACE_PUBLIC: &str = "cache-pubkey:"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_narinfo` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn generate_narinfo(fields: &HashMap) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_store_path_from_narinfo_request` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn extract_store_path_from_narinfo_request(path: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_cache_public_key` is never used [INFO] [stdout] --> naric-worker/src/nix/mod.rs:83:14 [INFO] [stdout] | [INFO] [stdout] 83 | pub async fn get_cache_public_key(env: &Env, cache_name: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `owner` is never read [INFO] [stdout] --> naric-cli/src/commands/cache.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct Cache { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> naric-cli/src/commands/cache.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct CacheResponse { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 26 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 27 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_credentials` is never used [INFO] [stdout] --> naric-cli/src/config/mod.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn save_credentials(creds: &Credentials) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "4aaf422c0989c338966843e8d099d6cf418b544ffaa62f34a013ecc997513d86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4aaf422c0989c338966843e8d099d6cf418b544ffaa62f34a013ecc997513d86", kill_on_drop: false }` [INFO] [stdout] 4aaf422c0989c338966843e8d099d6cf418b544ffaa62f34a013ecc997513d86