[INFO] fetching crate norfs 0.0.0... [INFO] testing norfs-0.0.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate norfs 0.0.0 into /workspace/builds/worker-3-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate norfs 0.0.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91fcb31901c870bf5e713299706f1c89eb85d9d47324336264ebb29698d83bea [INFO] running `Command { std: "docker" "start" "-a" "91fcb31901c870bf5e713299706f1c89eb85d9d47324336264ebb29698d83bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91fcb31901c870bf5e713299706f1c89eb85d9d47324336264ebb29698d83bea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91fcb31901c870bf5e713299706f1c89eb85d9d47324336264ebb29698d83bea", kill_on_drop: false }` [INFO] [stdout] 91fcb31901c870bf5e713299706f1c89eb85d9d47324336264ebb29698d83bea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ac7e80632ce1679b618de4cf122ed8d3c031023002d001a1c72811b16655af9 [INFO] running `Command { std: "docker" "start" "-a" "1ac7e80632ce1679b618de4cf122ed8d3c031023002d001a1c72811b16655af9", 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.47s [INFO] running `Command { std: "docker" "inspect" "1ac7e80632ce1679b618de4cf122ed8d3c031023002d001a1c72811b16655af9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ac7e80632ce1679b618de4cf122ed8d3c031023002d001a1c72811b16655af9", kill_on_drop: false }` [INFO] [stdout] 1ac7e80632ce1679b618de4cf122ed8d3c031023002d001a1c72811b16655af9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ec641d8dec7ed0d7dad0fbc806b2e047f61dc1dc9bc2fb81ef209d306d146f [INFO] running `Command { std: "docker" "start" "-a" "70ec641d8dec7ed0d7dad0fbc806b2e047f61dc1dc9bc2fb81ef209d306d146f", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling deranged v0.5.4 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling concurrent-queue v2.5.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 event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [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 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 21.09s [INFO] running `Command { std: "docker" "inspect" "70ec641d8dec7ed0d7dad0fbc806b2e047f61dc1dc9bc2fb81ef209d306d146f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ec641d8dec7ed0d7dad0fbc806b2e047f61dc1dc9bc2fb81ef209d306d146f", kill_on_drop: false }` [INFO] [stdout] 70ec641d8dec7ed0d7dad0fbc806b2e047f61dc1dc9bc2fb81ef209d306d146f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6d6b09e37ded0fde7547fdf3ddc32bb619c2c7ff42b072c8580304ca6fef3b52 [INFO] running `Command { std: "docker" "start" "-a" "6d6b09e37ded0fde7547fdf3ddc32bb619c2c7ff42b072c8580304ca6fef3b52", 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.11s [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_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::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_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 test::content_can_be_longer_than_block_size ... ok [INFO] [stdout] test test::failure_to_overwrite_preserves_original_file ... ok [INFO] [stdout] test test::lookup_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::deleted_file_can_no_longer_be_read ... ok [INFO] [stdout] test test::delete_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::file_size_reports_content_size ... 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.06s [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" "6d6b09e37ded0fde7547fdf3ddc32bb619c2c7ff42b072c8580304ca6fef3b52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d6b09e37ded0fde7547fdf3ddc32bb619c2c7ff42b072c8580304ca6fef3b52", kill_on_drop: false }` [INFO] [stdout] 6d6b09e37ded0fde7547fdf3ddc32bb619c2c7ff42b072c8580304ca6fef3b52