[INFO] cloning repository https://github.com/dionren/nfs-cachefs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dionren/nfs-cachefs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdionren%2Fnfs-cachefs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdionren%2Fnfs-cachefs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 639a51a26dd70b4792c7fbed36395c298dd52286 [INFO] checking dionren/nfs-cachefs against try#59a256151e578f525a26127f2c3e3a6c7e2982ca for pr-149291-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdionren%2Fnfs-cachefs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dionren/nfs-cachefs [INFO] finished tweaking git repo https://github.com/dionren/nfs-cachefs [INFO] tweaked toml for git repo https://github.com/dionren/nfs-cachefs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dionren/nfs-cachefs on toolchain 59a256151e578f525a26127f2c3e3a6c7e2982ca [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dionren/nfs-cachefs 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" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aligned v0.4.2 [INFO] [stderr] Downloaded as-slice v0.2.1 [INFO] [stderr] Downloaded io-uring v0.6.4 [INFO] [stderr] Downloaded fuser v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af1e72b78a6ee7d986010fefe8f5ac3de415dc1803c5395497481bcd2e12758e [INFO] running `Command { std: "docker" "start" "-a" "af1e72b78a6ee7d986010fefe8f5ac3de415dc1803c5395497481bcd2e12758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af1e72b78a6ee7d986010fefe8f5ac3de415dc1803c5395497481bcd2e12758e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1e72b78a6ee7d986010fefe8f5ac3de415dc1803c5395497481bcd2e12758e", kill_on_drop: false }` [INFO] [stdout] af1e72b78a6ee7d986010fefe8f5ac3de415dc1803c5395497481bcd2e12758e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+59a256151e578f525a26127f2c3e3a6c7e2982ca" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 474b99730ae0743566cda39054bfdac14cf812413dc91962c47de37ecdb2fd0a [INFO] running `Command { std: "docker" "start" "-a" "474b99730ae0743566cda39054bfdac14cf812413dc91962c47de37ecdb2fd0a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking anstream v0.6.19 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.40 [INFO] [stderr] Compiling fuser v0.14.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking as-slice v0.2.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking page_size v0.6.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aligned v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking nfs-cachefs v0.6.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/manager.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | let mut last_progress_log = copy_start; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/cache/manager.rs:1082:9 [INFO] [stdout] | [INFO] [stdout] 1082 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/cache/task.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/cache/task.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CacheStatus` [INFO] [stdout] --> src/cache/eviction.rs:277:31 [INFO] [stdout] | [INFO] [stdout] 277 | use crate::cache::state::{CacheStatus, CacheEntry}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/cache/eviction.rs:278:9 [INFO] [stdout] | [INFO] [stdout] 278 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_copied` is assigned to, but never used [INFO] [stdout] --> src/cache/manager.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | let mut total_copied = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_copied` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_progress_log` [INFO] [stdout] --> src/cache/manager.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | let mut last_progress_log = copy_start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_progress_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_log_interval` [INFO] [stdout] --> src/cache/manager.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | let progress_log_interval = std::time::Duration::from_secs(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_log_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_copied` is never read [INFO] [stdout] --> src/cache/manager.rs:815:21 [INFO] [stdout] | [INFO] [stdout] 815 | total_copied = file_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cache/manager.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | let mut last_progress_log = copy_start; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_file_checksum` is never used [INFO] [stdout] --> src/cache/manager.rs:715:14 [INFO] [stdout] | [INFO] [stdout] 50 | impl CacheManager { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 715 | async fn calculate_file_checksum(path: &std::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: associated function `should_cache` is never used [INFO] [stdout] --> src/fs/async_executor.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl AsyncExecutor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 341 | fn should_cache(_path: &PathBuf, size: u64, config: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `total_copied` is assigned to, but never used [INFO] [stdout] --> src/cache/manager.rs:777:13 [INFO] [stdout] | [INFO] [stdout] 777 | let mut total_copied = 0u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_total_copied` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `last_progress_log` [INFO] [stdout] --> src/cache/manager.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | let mut last_progress_log = copy_start; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_progress_log` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `progress_log_interval` [INFO] [stdout] --> src/cache/manager.rs:797:13 [INFO] [stdout] | [INFO] [stdout] 797 | let progress_log_interval = std::time::Duration::from_secs(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_progress_log_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `total_copied` is never read [INFO] [stdout] --> src/cache/manager.rs:815:21 [INFO] [stdout] | [INFO] [stdout] 815 | total_copied = file_size; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `nvme` in initializer of `nfs_cachefs::Config` [INFO] [stdout] --> src/main.rs:702:22 [INFO] [stdout] | [INFO] [stdout] 702 | let config = Config { [INFO] [stdout] | ^^^^^^ missing `nvme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `nvme` in initializer of `nfs_cachefs::Config` [INFO] [stdout] --> src/main.rs:726:30 [INFO] [stdout] | [INFO] [stdout] 726 | let invalid_config = Config { [INFO] [stdout] | ^^^^^^ missing `nvme` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_logging` is never used [INFO] [stdout] --> src/main.rs:354:4 [INFO] [stdout] | [INFO] [stdout] 354 | fn init_logging(log_level: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_file_checksum` is never used [INFO] [stdout] --> src/cache/manager.rs:715:14 [INFO] [stdout] | [INFO] [stdout] 50 | impl CacheManager { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 715 | async fn calculate_file_checksum(path: &std::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: associated function `should_cache` is never used [INFO] [stdout] --> src/fs/async_executor.rs:341:8 [INFO] [stdout] | [INFO] [stdout] 47 | impl AsyncExecutor { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 341 | fn should_cache(_path: &PathBuf, size: u64, config: &Config) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nfs-cachefs` (bin "nfs-cachefs" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "474b99730ae0743566cda39054bfdac14cf812413dc91962c47de37ecdb2fd0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474b99730ae0743566cda39054bfdac14cf812413dc91962c47de37ecdb2fd0a", kill_on_drop: false }` [INFO] [stdout] 474b99730ae0743566cda39054bfdac14cf812413dc91962c47de37ecdb2fd0a