[INFO] fetching crate norfs 0.0.0... [INFO] testing norfs-0.0.0 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] extracting crate norfs 0.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate norfs 0.0.0 [INFO] finished tweaking crates.io crate norfs 0.0.0 [INFO] tweaked toml for crates.io crate norfs 0.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate norfs 0.0.0 on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 103 packages to latest compatible versions [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.1) [INFO] [stderr] Adding simple_logger v4.3.3 (available: v5.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded critical-section v1.2.0 [INFO] [stderr] Downloaded async-lock v3.4.1 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded async-attributes v1.1.2 [INFO] [stderr] Downloaded async-executor v1.13.3 [INFO] [stderr] Downloaded event-listener v5.4.1 [INFO] [stderr] Downloaded polling v3.11.0 [INFO] [stderr] Downloaded async-io v2.6.0 [INFO] [stderr] Downloaded value-bag v1.11.1 [INFO] [stderr] Downloaded futures-lite v2.6.1 [INFO] [stderr] Downloaded async-channel v2.5.0 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded blocking v1.6.2 [INFO] [stderr] Downloaded embassy-futures v0.1.2 [INFO] [stderr] Downloaded simple_logger v4.3.3 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f7987a3f50ae2af4cef66e57c4e4dc9e22b33d9e37cbc8bc657290b5febe7bc [INFO] running `Command { std: "docker" "start" "-a" "4f7987a3f50ae2af4cef66e57c4e4dc9e22b33d9e37cbc8bc657290b5febe7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f7987a3f50ae2af4cef66e57c4e4dc9e22b33d9e37cbc8bc657290b5febe7bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f7987a3f50ae2af4cef66e57c4e4dc9e22b33d9e37cbc8bc657290b5febe7bc", kill_on_drop: false }` [INFO] [stdout] 4f7987a3f50ae2af4cef66e57c4e4dc9e22b33d9e37cbc8bc657290b5febe7bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7381896493f42737a978bff23fb92ff57ccbd1adef2c522cedf49ba3b8705e4 [INFO] running `Command { std: "docker" "start" "-a" "e7381896493f42737a978bff23fb92ff57ccbd1adef2c522cedf49ba3b8705e4", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling embassy-futures v0.1.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling norfs v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `impl_trait_projections` has been stable since 1.74.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(impl_trait_projections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] 31 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn read_aligned( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 ~ fn read_aligned( [INFO] [stdout] 33 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 36 | data: &mut [u8], [INFO] [stdout] 37 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | async fn write_aligned( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 38 ~ fn write_aligned( [INFO] [stdout] 39 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 42 | data: &[u8], [INFO] [stdout] 43 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 59 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] 59 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn read( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 ~ fn read( [INFO] [stdout] 61 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 64 | data: &mut [u8], [INFO] [stdout] 65 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 ~ fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stdout] 67 ~ -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.97s [INFO] running `Command { std: "docker" "inspect" "e7381896493f42737a978bff23fb92ff57ccbd1adef2c522cedf49ba3b8705e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7381896493f42737a978bff23fb92ff57ccbd1adef2c522cedf49ba3b8705e4", kill_on_drop: false }` [INFO] [stdout] e7381896493f42737a978bff23fb92ff57ccbd1adef2c522cedf49ba3b8705e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab4bc3dd14128e6d4b31ea9e45256cec43ae0c6ff6406d173c7f56decb9d30f [INFO] running `Command { std: "docker" "start" "-a" "aab4bc3dd14128e6d4b31ea9e45256cec43ae0c6ff6406d173c7f56decb9d30f", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling norfs v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `impl_trait_projections` has been stable since 1.74.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(impl_trait_projections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] 31 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn read_aligned( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 ~ fn read_aligned( [INFO] [stdout] 33 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 36 | data: &mut [u8], [INFO] [stdout] 37 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | async fn write_aligned( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 38 ~ fn write_aligned( [INFO] [stdout] 39 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 42 | data: &[u8], [INFO] [stdout] 43 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 59 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] 59 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn read( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 ~ fn read( [INFO] [stdout] 61 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 64 | data: &mut [u8], [INFO] [stdout] 65 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 ~ fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stdout] 67 ~ -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling simple_logger v4.3.3 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stdout] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(async_fn_in_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `impl_trait_projections` has been stable since 1.74.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(impl_trait_projections)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 31 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] 31 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | async fn read_aligned( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 32 ~ fn read_aligned( [INFO] [stdout] 33 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 36 | data: &mut [u8], [INFO] [stdout] 37 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/drivers/aligned.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | async fn write_aligned( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 38 ~ fn write_aligned( [INFO] [stdout] 39 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 42 | data: &[u8], [INFO] [stdout] 43 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 59 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stdout] 59 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | async fn read( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 60 ~ fn read( [INFO] [stdout] 61 | &mut self, [INFO] [stdout] ... [INFO] [stdout] 64 | data: &mut [u8], [INFO] [stdout] 65 ~ ) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/medium/mod.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | async fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 66 ~ fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stdout] 67 ~ -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "aab4bc3dd14128e6d4b31ea9e45256cec43ae0c6ff6406d173c7f56decb9d30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab4bc3dd14128e6d4b31ea9e45256cec43ae0c6ff6406d173c7f56decb9d30f", kill_on_drop: false }` [INFO] [stdout] aab4bc3dd14128e6d4b31ea9e45256cec43ae0c6ff6406d173c7f56decb9d30f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3a5c5775566377c0877b3b83542d939fe443131d5bfc84268c29dae188ca808b [INFO] running `Command { std: "docker" "start" "-a" "3a5c5775566377c0877b3b83542d939fe443131d5bfc84268c29dae188ca808b", kill_on_drop: false }` [INFO] [stderr] warning: the feature `async_fn_in_trait` has been stable since 1.75.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | #![feature(async_fn_in_trait)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `impl_trait_projections` has been stable since 1.74.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | #![feature(impl_trait_projections)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/drivers/aligned.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 31 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stderr] 31 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/drivers/aligned.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | async fn read_aligned( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 32 ~ fn read_aligned( [INFO] [stderr] 33 | &mut self, [INFO] [stderr] ... [INFO] [stderr] 36 | data: &mut [u8], [INFO] [stderr] 37 ~ ) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/drivers/aligned.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | async fn write_aligned( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 38 ~ fn write_aligned( [INFO] [stderr] 39 | &mut self, [INFO] [stderr] ... [INFO] [stderr] 42 | data: &[u8], [INFO] [stderr] 43 ~ ) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/medium/mod.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 59 | async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 59 - async fn erase(&mut self, block: usize) -> Result<(), StorageError>; [INFO] [stderr] 59 + fn erase(&mut self, block: usize) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/medium/mod.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | async fn read( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 60 ~ fn read( [INFO] [stderr] 61 | &mut self, [INFO] [stderr] ... [INFO] [stderr] 64 | data: &mut [u8], [INFO] [stderr] 65 ~ ) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/medium/mod.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | async fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 66 ~ fn write(&mut self, block: usize, offset: usize, data: &[u8]) [INFO] [stderr] 67 ~ -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `norfs` (lib) generated 8 warnings [INFO] [stderr] warning: `norfs` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/norfs-f868d2fafefac5c8) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test ll::blocks::tests::test_formatting_empty_block_sets_erase_count_to_0 ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_formatted_but_empty_block_does_not_increase_erase_count ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_written_block_increases_erase_count ... ok [INFO] [stdout] test ll::blocks::tests::formatted_block_reports_some_used_bytes ... ok [INFO] [stdout] test test::fails_to_write_file_if_not_enough_space ... ok [INFO] [stdout] test ll::blocks::tests::test_written_data_can_be_read ... ok [INFO] [stdout] test test::content_can_be_longer_than_block_size ... ok [INFO] [stdout] test ll::blocks::tests::test_format_storage_formats_every_block ... ok [INFO] [stdout] test test::delete_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test ll::blocks::tests::empty_block_reports_not_formatted ... ok [INFO] [stdout] test test::deleted_file_can_no_longer_be_read ... ok [INFO] [stdout] test test::file_size_reports_content_size ... ok [INFO] [stdout] test test::lookup_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::failure_to_overwrite_preserves_original_file ... ok [INFO] [stdout] test test::written_file_can_be_read ... ok [INFO] [stdout] test test::reading_overwritten_file_reads_newer_data ... ok [INFO] [stdout] test test::reading_reads_from_the_correct_file ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Doc-tests norfs [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3a5c5775566377c0877b3b83542d939fe443131d5bfc84268c29dae188ca808b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5c5775566377c0877b3b83542d939fe443131d5bfc84268c29dae188ca808b", kill_on_drop: false }` [INFO] [stdout] 3a5c5775566377c0877b3b83542d939fe443131d5bfc84268c29dae188ca808b