[INFO] fetching crate volmem 0.1.1... [INFO] checking volmem-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate volmem 0.1.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate volmem 0.1.1 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate volmem 0.1.1 [INFO] finished tweaking crates.io crate volmem 0.1.1 [INFO] tweaked toml for crates.io crate volmem 0.1.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dcbc3a5d4e55b302df5598b2c4c932b7c49bf26f217e75640076f88a07ae4b4b [INFO] running `Command { std: "docker" "start" "-a" "dcbc3a5d4e55b302df5598b2c4c932b7c49bf26f217e75640076f88a07ae4b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcbc3a5d4e55b302df5598b2c4c932b7c49bf26f217e75640076f88a07ae4b4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcbc3a5d4e55b302df5598b2c4c932b7c49bf26f217e75640076f88a07ae4b4b", kill_on_drop: false }` [INFO] [stdout] dcbc3a5d4e55b302df5598b2c4c932b7c49bf26f217e75640076f88a07ae4b4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc6ab70e571f6572e845771e63581da250c99fc52d7ba391f440ae76edad6508 [INFO] running `Command { std: "docker" "start" "-a" "cc6ab70e571f6572e845771e63581da250c99fc52d7ba391f440ae76edad6508", kill_on_drop: false }` [INFO] [stderr] Checking volmem v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: missing documentation for the crate [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![no_std] [INFO] [stdout] 2 | | #![warn(missing_docs)] [INFO] [stdout] 3 | | #![cfg_attr(feature = "unstable", feature(core_intrinsics))] [INFO] [stdout] 4 | | #![cfg_attr(feature = "unstable", feature(const_generics))] [INFO] [stdout] ... | [INFO] [stdout] 274 | | } [INFO] [stdout] 275 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub mod access; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Volmem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:37:2 [INFO] [stdout] | [INFO] [stdout] 37 | pub const fn new(refer: R) -> Volmem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:45:2 [INFO] [stdout] | [INFO] [stdout] 45 | pub const fn new_rdonly(refer: R) -> Volmem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:53:2 [INFO] [stdout] | [INFO] [stdout] 53 | pub const fn new_wronly(refer: R) -> Volmem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:68:2 [INFO] [stdout] | [INFO] [stdout] 68 | / pub fn read(&self) -> T [INFO] [stdout] 69 | | where [INFO] [stdout] 70 | | A: Readable, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:77:2 [INFO] [stdout] | [INFO] [stdout] 77 | / pub fn write(&mut self, value: T) [INFO] [stdout] 78 | | where [INFO] [stdout] 79 | | A: Writable, [INFO] [stdout] 80 | | R: DerefMut, [INFO] [stdout] | |____________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:87:2 [INFO] [stdout] | [INFO] [stdout] 87 | / pub fn update(&mut self, f: F) [INFO] [stdout] 88 | | where [INFO] [stdout] 89 | | A: Readable + Writable, [INFO] [stdout] 90 | | R: DerefMut, [INFO] [stdout] 91 | | F: FnOnce(&mut T), [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:101:2 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn extractinner(self) -> R [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:112:2 [INFO] [stdout] | [INFO] [stdout] 112 | / pub fn map<'a, F, U>(&'a self, f: F) -> Volmem<&'a U, A> [INFO] [stdout] 113 | | where [INFO] [stdout] 114 | | F: FnOnce(&'a T) -> &'a U, [INFO] [stdout] 115 | | U: ?Sized, [INFO] [stdout] 116 | | T: 'a, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:124:2 [INFO] [stdout] | [INFO] [stdout] 124 | / pub fn map_mut<'a, F, U>(&'a mut self, f: F) -> Volmem<&'a mut U, A> [INFO] [stdout] 125 | | where [INFO] [stdout] 126 | | F: FnOnce(&mut T) -> &mut U, [INFO] [stdout] 127 | | R: DerefMut, [INFO] [stdout] 128 | | U: ?Sized, [INFO] [stdout] 129 | | T: 'a, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:143:2 [INFO] [stdout] | [INFO] [stdout] 143 | / pub fn idx<'a, I>(&'a self, idx: I) -> Volmem<&'a I::Output, A> [INFO] [stdout] 144 | | where [INFO] [stdout] 145 | | I: SliceIndex<[T]>, [INFO] [stdout] 146 | | T: 'a, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn idx<'a, I>(&'a self, idx: I) -> Volmem<&'a I::Output, A> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | self.map(|slice| slice.index(idx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:150:2 [INFO] [stdout] | [INFO] [stdout] 150 | / pub fn idxmut<'a, I>(&'a mut self, idx: I) -> Volmem<&mut I::Output, A> [INFO] [stdout] 151 | | where [INFO] [stdout] 152 | | I: SliceIndex<[T]>, [INFO] [stdout] 153 | | R: DerefMut, [INFO] [stdout] 154 | | T: 'a, [INFO] [stdout] | |______________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn idx<'a, I>(&'a self, idx: I) -> Volmem<&'a I::Output, A> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | self.map(|slice| slice.index(idx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn idxmut<'a, I>(&'a mut self, idx: I) -> Volmem<&mut I::Output, A> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | self.map_mut(|slice| slice.index_mut(idx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:237:2 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn readonly(self) -> Volmem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:156:16 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn idxmut<'a, I>(&'a mut self, idx: I) -> Volmem<&mut I::Output, A> [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | self.map_mut(|slice| slice.index_mut(idx)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:245:2 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn writeonly(self) -> Volmem [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/access.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Readable {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a trait [INFO] [stdout] --> src/access.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait Writable {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/access.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ReadWrite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/access.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ReadOnly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/access.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WriteOnly; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `volmem` (lib) due to 3 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `volmem` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "cc6ab70e571f6572e845771e63581da250c99fc52d7ba391f440ae76edad6508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc6ab70e571f6572e845771e63581da250c99fc52d7ba391f440ae76edad6508", kill_on_drop: false }` [INFO] [stdout] cc6ab70e571f6572e845771e63581da250c99fc52d7ba391f440ae76edad6508