[INFO] fetching crate norfs 0.0.0... [INFO] testing norfs-0.0.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate norfs 0.0.0 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate norfs 0.0.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num_threads v0.1.7 [INFO] [stderr] Downloaded simple_logger v4.3.3 [INFO] [stderr] Downloaded embassy-futures v0.1.2 [INFO] [stderr] Downloaded colored v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b3ea4729ec10631616d718962dbfb28e3c10e71a49153ff7ba69e08080933c7 [INFO] running `Command { std: "docker" "start" "-a" "7b3ea4729ec10631616d718962dbfb28e3c10e71a49153ff7ba69e08080933c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b3ea4729ec10631616d718962dbfb28e3c10e71a49153ff7ba69e08080933c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b3ea4729ec10631616d718962dbfb28e3c10e71a49153ff7ba69e08080933c7", kill_on_drop: false }` [INFO] [stdout] 7b3ea4729ec10631616d718962dbfb28e3c10e71a49153ff7ba69e08080933c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 318172a9da8689fcf9e230b0ee05b123228c35ce1f78c66da6c9d380e2b7eda2 [INFO] running `Command { std: "docker" "start" "-a" "318172a9da8689fcf9e230b0ee05b123228c35ce1f78c66da6c9d380e2b7eda2", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling embassy-futures v0.1.2 [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 2.68s [INFO] running `Command { std: "docker" "inspect" "318172a9da8689fcf9e230b0ee05b123228c35ce1f78c66da6c9d380e2b7eda2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "318172a9da8689fcf9e230b0ee05b123228c35ce1f78c66da6c9d380e2b7eda2", kill_on_drop: false }` [INFO] [stdout] 318172a9da8689fcf9e230b0ee05b123228c35ce1f78c66da6c9d380e2b7eda2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58883366a182be7ac7ca31a4a5d940ca1a7cc9f3c6fb7110f69e257ed6f3e923 [INFO] running `Command { std: "docker" "start" "-a" "58883366a182be7ac7ca31a4a5d940ca1a7cc9f3c6fb7110f69e257ed6f3e923", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling colored v2.2.0 [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 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 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 13.33s [INFO] running `Command { std: "docker" "inspect" "58883366a182be7ac7ca31a4a5d940ca1a7cc9f3c6fb7110f69e257ed6f3e923", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58883366a182be7ac7ca31a4a5d940ca1a7cc9f3c6fb7110f69e257ed6f3e923", kill_on_drop: false }` [INFO] [stdout] 58883366a182be7ac7ca31a4a5d940ca1a7cc9f3c6fb7110f69e257ed6f3e923 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7506a7c7162f3c20f1532d2f42cb9e9c0f49b2dcb5ed000d02631e4e91f3e6b0 [INFO] running `Command { std: "docker" "start" "-a" "7506a7c7162f3c20f1532d2f42cb9e9c0f49b2dcb5ed000d02631e4e91f3e6b0", 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-63260a1021f243c5) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test ll::blocks::tests::empty_block_reports_not_formatted ... ok [INFO] [stdout] test ll::blocks::tests::test_written_data_can_be_read ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_written_block_increases_erase_count ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_formatted_but_empty_block_does_not_increase_erase_count ... ok [INFO] [stdout] test test::fails_to_write_file_if_not_enough_space ... ok [INFO] [stdout] test ll::blocks::tests::test_formatting_empty_block_sets_erase_count_to_0 ... ok [INFO] [stdout] test test::lookup_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test ll::blocks::tests::formatted_block_reports_some_used_bytes ... ok [INFO] [stdout] test ll::blocks::tests::test_format_storage_formats_every_block ... ok [INFO] [stdout] test test::content_can_be_longer_than_block_size ... ok [INFO] [stdout] test test::delete_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::failure_to_overwrite_preserves_original_file ... ok [INFO] [stdout] test test::reading_reads_from_the_correct_file ... ok [INFO] [stdout] test test::file_size_reports_content_size ... ok [INFO] [stdout] test test::deleted_file_can_no_longer_be_read ... ok [INFO] [stdout] test test::written_file_can_be_read ... ok [INFO] [stdout] test test::reading_overwritten_file_reads_newer_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [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" "7506a7c7162f3c20f1532d2f42cb9e9c0f49b2dcb5ed000d02631e4e91f3e6b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7506a7c7162f3c20f1532d2f42cb9e9c0f49b2dcb5ed000d02631e4e91f3e6b0", kill_on_drop: false }` [INFO] [stdout] 7506a7c7162f3c20f1532d2f42cb9e9c0f49b2dcb5ed000d02631e4e91f3e6b0