[INFO] fetching crate norfs 0.0.0... [INFO] testing norfs-0.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate norfs 0.0.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate norfs 0.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.2) [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded embassy-futures v0.1.2 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6a31256c257604ad8cf6243d37924b7a672f192ffcbe7d2a83e65b0a9b3c27f [INFO] running `Command { std: "docker" "start" "-a" "a6a31256c257604ad8cf6243d37924b7a672f192ffcbe7d2a83e65b0a9b3c27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6a31256c257604ad8cf6243d37924b7a672f192ffcbe7d2a83e65b0a9b3c27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a31256c257604ad8cf6243d37924b7a672f192ffcbe7d2a83e65b0a9b3c27f", kill_on_drop: false }` [INFO] [stdout] a6a31256c257604ad8cf6243d37924b7a672f192ffcbe7d2a83e65b0a9b3c27f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 517f875caf2347ff3d398372d75f3d7f39bca033b72c8913d4eba0f344a957c5 [INFO] running `Command { std: "docker" "start" "-a" "517f875caf2347ff3d398372d75f3d7f39bca033b72c8913d4eba0f344a957c5", kill_on_drop: false }` [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling embassy-futures v0.1.2 [INFO] [stderr] Compiling hash32 v0.2.1 [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 2.18s [INFO] running `Command { std: "docker" "inspect" "517f875caf2347ff3d398372d75f3d7f39bca033b72c8913d4eba0f344a957c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "517f875caf2347ff3d398372d75f3d7f39bca033b72c8913d4eba0f344a957c5", kill_on_drop: false }` [INFO] [stdout] 517f875caf2347ff3d398372d75f3d7f39bca033b72c8913d4eba0f344a957c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e4521c9ee7581eb7f7525d14a3e05a925170fb97576a645886233c2dfcf3a76 [INFO] running `Command { std: "docker" "start" "-a" "3e4521c9ee7581eb7f7525d14a3e05a925170fb97576a645886233c2dfcf3a76", kill_on_drop: false }` [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [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 blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling time v0.3.44 [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 simple_logger v4.3.3 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [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 18.69s [INFO] running `Command { std: "docker" "inspect" "3e4521c9ee7581eb7f7525d14a3e05a925170fb97576a645886233c2dfcf3a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e4521c9ee7581eb7f7525d14a3e05a925170fb97576a645886233c2dfcf3a76", kill_on_drop: false }` [INFO] [stdout] 3e4521c9ee7581eb7f7525d14a3e05a925170fb97576a645886233c2dfcf3a76 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 322401c22c1c06209c7b2e66d3bf21bb6e1e06730687a4a10ca8aaccfa251ba4 [INFO] running `Command { std: "docker" "start" "-a" "322401c22c1c06209c7b2e66d3bf21bb6e1e06730687a4a10ca8aaccfa251ba4", 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] [stdout] [INFO] [stderr] --> src/lib.rs:2:12 [INFO] [stdout] running 17 tests [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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/norfs-bef887ebd7d81009) [INFO] [stdout] test ll::blocks::tests::empty_block_reports_not_formatted ... 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_written_data_can_be_read ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_empty_block_sets_erase_count_to_0 ... ok [INFO] [stdout] test ll::blocks::tests::test_format_storage_formats_every_block ... ok [INFO] [stdout] test ll::blocks::tests::formatted_block_reports_some_used_bytes ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_written_block_increases_erase_count ... ok [INFO] [stdout] test test::fails_to_write_file_if_not_enough_space ... ok [INFO] [stdout] test test::delete_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::written_file_can_be_read ... ok [INFO] [stdout] test test::lookup_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::file_size_reports_content_size ... ok [INFO] [stdout] test test::failure_to_overwrite_preserves_original_file ... ok [INFO] [stdout] test test::content_can_be_longer_than_block_size ... ok [INFO] [stdout] test test::deleted_file_can_no_longer_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.09s [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" "322401c22c1c06209c7b2e66d3bf21bb6e1e06730687a4a10ca8aaccfa251ba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "322401c22c1c06209c7b2e66d3bf21bb6e1e06730687a4a10ca8aaccfa251ba4", kill_on_drop: false }` [INFO] [stdout] 322401c22c1c06209c7b2e66d3bf21bb6e1e06730687a4a10ca8aaccfa251ba4