[INFO] fetching crate norfs 0.0.0... [INFO] testing norfs-0.0.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate norfs 0.0.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate norfs 0.0.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] 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.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f32e3abffb1eb6ed68f3651e245d6b9d0d8c9909cc1667abd6696ad2b216871b [INFO] running `Command { std: "docker" "start" "-a" "f32e3abffb1eb6ed68f3651e245d6b9d0d8c9909cc1667abd6696ad2b216871b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f32e3abffb1eb6ed68f3651e245d6b9d0d8c9909cc1667abd6696ad2b216871b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32e3abffb1eb6ed68f3651e245d6b9d0d8c9909cc1667abd6696ad2b216871b", kill_on_drop: false }` [INFO] [stdout] f32e3abffb1eb6ed68f3651e245d6b9d0d8c9909cc1667abd6696ad2b216871b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b25da7848bea97dd20ea079c6a652e03908618f7073b47cb08902776b22b412 [INFO] running `Command { std: "docker" "start" "-a" "3b25da7848bea97dd20ea079c6a652e03908618f7073b47cb08902776b22b412", kill_on_drop: false }` [INFO] [stderr] Compiling embassy-futures v0.1.2 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [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.02s [INFO] running `Command { std: "docker" "inspect" "3b25da7848bea97dd20ea079c6a652e03908618f7073b47cb08902776b22b412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b25da7848bea97dd20ea079c6a652e03908618f7073b47cb08902776b22b412", kill_on_drop: false }` [INFO] [stdout] 3b25da7848bea97dd20ea079c6a652e03908618f7073b47cb08902776b22b412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0426b93c4af3746a8746e6a7bd39c03b767fef9acde6771cb2c66a5b5cdfc288 [INFO] running `Command { std: "docker" "start" "-a" "0426b93c4af3746a8746e6a7bd39c03b767fef9acde6771cb2c66a5b5cdfc288", kill_on_drop: false }` [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling fastrand v2.4.1 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling num-conv v0.2.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling piper v0.2.5 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling quote v1.0.45 [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 syn v1.0.109 [INFO] [stderr] Compiling async-executor v1.14.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling time v0.3.47 [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.45s [INFO] running `Command { std: "docker" "inspect" "0426b93c4af3746a8746e6a7bd39c03b767fef9acde6771cb2c66a5b5cdfc288", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0426b93c4af3746a8746e6a7bd39c03b767fef9acde6771cb2c66a5b5cdfc288", kill_on_drop: false }` [INFO] [stdout] 0426b93c4af3746a8746e6a7bd39c03b767fef9acde6771cb2c66a5b5cdfc288 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38af34bb9f8ab7dcba75fadcc644fe6e9457d8cb533228cd856fc1980abe96a8 [INFO] running `Command { std: "docker" "start" "-a" "38af34bb9f8ab7dcba75fadcc644fe6e9457d8cb533228cd856fc1980abe96a8", 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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/norfs-329a417aaa53b821) [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_formatting_written_block_increases_erase_count ... ok [INFO] [stdout] test ll::blocks::tests::test_written_data_can_be_read ... 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::delete_returns_error_if_file_does_not_exist ... ok [INFO] [stdout] test test::written_file_can_be_read ... ok [INFO] [stdout] test test::reading_reads_from_the_correct_file ... ok [INFO] [stdout] test test::reading_overwritten_file_reads_newer_data ... ok [INFO] [stdout] test test::deleted_file_can_no_longer_be_read ... ok [INFO] [stdout] test test::lookup_returns_error_if_file_does_not_exist ... 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::file_size_reports_content_size ... 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" "38af34bb9f8ab7dcba75fadcc644fe6e9457d8cb533228cd856fc1980abe96a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38af34bb9f8ab7dcba75fadcc644fe6e9457d8cb533228cd856fc1980abe96a8", kill_on_drop: false }` [INFO] [stdout] 38af34bb9f8ab7dcba75fadcc644fe6e9457d8cb533228cd856fc1980abe96a8