[INFO] fetching crate mmarinus 0.4.0... [INFO] checking mmarinus-0.4.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate mmarinus 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate mmarinus 0.4.0 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 mmarinus 0.4.0 [INFO] finished tweaking crates.io crate mmarinus 0.4.0 [INFO] tweaked toml for crates.io crate mmarinus 0.4.0 written to /workspace/builds/worker-4-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] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] da29aa47907e576a0dc49e2159165f350429ddce9be6a1d374f308b01fdbcb49 [INFO] running `Command { std: "docker" "start" "-a" "da29aa47907e576a0dc49e2159165f350429ddce9be6a1d374f308b01fdbcb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da29aa47907e576a0dc49e2159165f350429ddce9be6a1d374f308b01fdbcb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da29aa47907e576a0dc49e2159165f350429ddce9be6a1d374f308b01fdbcb49", kill_on_drop: false }` [INFO] [stdout] da29aa47907e576a0dc49e2159165f350429ddce9be6a1d374f308b01fdbcb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] c53ed68b67b1c4177fbcfe4ecf4247ec7d36cbc60ee7ed76ab0639d0de97a7d4 [INFO] running `Command { std: "docker" "start" "-a" "c53ed68b67b1c4177fbcfe4ecf4247ec7d36cbc60ee7ed76ab0639d0de97a7d4", kill_on_drop: false }` [INFO] [stderr] Checking mmarinus v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Executable` is never used [INFO] [stdout] --> src/map.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Executable: Known {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/builder.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn anywhere(self) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 54 | | prev: self.0, [INFO] [stdout] 55 | | addr: Address::None, [INFO] [stdout] 56 | | }) [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/builder.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn at(self, addr: usize) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 65 | | prev: self.0, [INFO] [stdout] 66 | | addr: Address::At(addr), [INFO] [stdout] 67 | | }) [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] 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/builder.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn near(self, addr: usize) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 76 | | prev: self.0, [INFO] [stdout] 77 | | addr: Address::Near(addr), [INFO] [stdout] 78 | | }) [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] 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/builder.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn onto(self, addr: usize) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 92 | | prev: self.0, [INFO] [stdout] 93 | | addr: Address::Onto(addr), [INFO] [stdout] 94 | | }) [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] 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/builder.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn anonymously(self) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Builder(Source { [INFO] [stdout] | _________________^ [INFO] [stdout] 106 | | kind: Private, [INFO] [stdout] 107 | | prev: self.0, [INFO] [stdout] 108 | | huge: None, [INFO] [stdout] 109 | | offset: 0, [INFO] [stdout] 110 | | fd: -1, [INFO] [stdout] 111 | | }) [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] 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/builder.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from(self, file: &mut U, offset: i64) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Builder(Source { [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | fd: file.as_raw_fd(), [INFO] [stdout] 121 | | kind: Private, [INFO] [stdout] 122 | | prev: self.0, [INFO] [stdout] 123 | | huge: None, [INFO] [stdout] 124 | | offset, [INFO] [stdout] 125 | | }) [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] 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/builder.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn with_kind(self, kind: X) -> Builder> { [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | Builder(Source { [INFO] [stdout] | _________________^ [INFO] [stdout] 145 | | offset: self.0.offset, [INFO] [stdout] 146 | | prev: self.0.prev, [INFO] [stdout] 147 | | huge: self.0.huge, [INFO] [stdout] 148 | | fd: self.0.fd, [INFO] [stdout] 149 | | kind, [INFO] [stdout] 150 | | }) [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] 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/builder.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn with(self, perms: T) -> Result, Error> { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let einval = ErrorKind::InvalidInput.into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Map { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | addr: ret as usize, [INFO] [stdout] 209 | | size: self.0.prev.prev.size, [INFO] [stdout] 210 | | data: PhantomData, [INFO] [stdout] 211 | | }) [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] 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/map.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load>(path: U, kind: K, perms: T) -> Result> { [INFO] [stdout] | ------- ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | let err = Err(ErrorKind::InvalidData); [INFO] [stdout] 131 | let mut file = std::fs::File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let size = file.metadata()?.len().try_into().or(err)?; [INFO] [stdout] 133 | / Map::bytes(size) [INFO] [stdout] 134 | | .anywhere() [INFO] [stdout] 135 | | .from(&mut file, 0) [INFO] [stdout] 136 | | .with_kind(kind) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 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/map.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn remap(self) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 159 | | addr: Address::Onto(self.addr), [INFO] [stdout] 160 | | prev: Size { [INFO] [stdout] 161 | | size: self.size, [INFO] [stdout] 162 | | prev: self, [INFO] [stdout] 163 | | }, [INFO] [stdout] 164 | | }) [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] 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/map.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn split(self, offset: usize) -> Result<(Self, Self), Error> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | Err(Error { [INFO] [stdout] | _____________^ [INFO] [stdout] 232 | | map: self, [INFO] [stdout] 233 | | err: std::io::Error::from_raw_os_error(libc::EINVAL), [INFO] [stdout] 234 | | }) [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] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mmarinus` (lib) due to 12 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait `Executable` is never used [INFO] [stdout] --> src/map.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Executable: Known {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/builder.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn anywhere(self) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 53 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 54 | | prev: self.0, [INFO] [stdout] 55 | | addr: Address::None, [INFO] [stdout] 56 | | }) [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/builder.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn at(self, addr: usize) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 65 | | prev: self.0, [INFO] [stdout] 66 | | addr: Address::At(addr), [INFO] [stdout] 67 | | }) [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] 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/builder.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn near(self, addr: usize) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 75 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 76 | | prev: self.0, [INFO] [stdout] 77 | | addr: Address::Near(addr), [INFO] [stdout] 78 | | }) [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] 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/builder.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub unsafe fn onto(self, addr: usize) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 92 | | prev: self.0, [INFO] [stdout] 93 | | addr: Address::Onto(addr), [INFO] [stdout] 94 | | }) [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] 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/builder.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn anonymously(self) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | Builder(Source { [INFO] [stdout] | _________________^ [INFO] [stdout] 106 | | kind: Private, [INFO] [stdout] 107 | | prev: self.0, [INFO] [stdout] 108 | | huge: None, [INFO] [stdout] 109 | | offset: 0, [INFO] [stdout] 110 | | fd: -1, [INFO] [stdout] 111 | | }) [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] 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/builder.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn from(self, file: &mut U, offset: i64) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | Builder(Source { [INFO] [stdout] | _________________^ [INFO] [stdout] 120 | | fd: file.as_raw_fd(), [INFO] [stdout] 121 | | kind: Private, [INFO] [stdout] 122 | | prev: self.0, [INFO] [stdout] 123 | | huge: None, [INFO] [stdout] 124 | | offset, [INFO] [stdout] 125 | | }) [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] 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/builder.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn with_kind(self, kind: X) -> Builder> { [INFO] [stdout] | ---- ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | Builder(Source { [INFO] [stdout] | _________________^ [INFO] [stdout] 145 | | offset: self.0.offset, [INFO] [stdout] 146 | | prev: self.0.prev, [INFO] [stdout] 147 | | huge: self.0.huge, [INFO] [stdout] 148 | | fd: self.0.fd, [INFO] [stdout] 149 | | kind, [INFO] [stdout] 150 | | }) [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] 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/builder.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn with(self, perms: T) -> Result, Error> { [INFO] [stdout] | ---- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 160 | let einval = ErrorKind::InvalidInput.into(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Map { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | addr: ret as usize, [INFO] [stdout] 209 | | size: self.0.prev.prev.size, [INFO] [stdout] 210 | | data: PhantomData, [INFO] [stdout] 211 | | }) [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] 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/map.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn load>(path: U, kind: K, perms: T) -> Result> { [INFO] [stdout] | ------- ------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | let err = Err(ErrorKind::InvalidData); [INFO] [stdout] 131 | let mut file = std::fs::File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | let size = file.metadata()?.len().try_into().or(err)?; [INFO] [stdout] 133 | / Map::bytes(size) [INFO] [stdout] 134 | | .anywhere() [INFO] [stdout] 135 | | .from(&mut file, 0) [INFO] [stdout] 136 | | .with_kind(kind) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |____________________________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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] 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/map.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn remap(self) -> Builder> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 158 | Builder(Destination { [INFO] [stdout] | _________________^ [INFO] [stdout] 159 | | addr: Address::Onto(self.addr), [INFO] [stdout] 160 | | prev: Size { [INFO] [stdout] 161 | | size: self.size, [INFO] [stdout] 162 | | prev: self, [INFO] [stdout] 163 | | }, [INFO] [stdout] 164 | | }) [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] 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/map.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn split(self, offset: usize) -> Result<(Self, Self), Error> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 231 | Err(Error { [INFO] [stdout] | _____________^ [INFO] [stdout] 232 | | map: self, [INFO] [stdout] 233 | | err: std::io::Error::from_raw_os_error(libc::EINVAL), [INFO] [stdout] 234 | | }) [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] error: aborting due to 11 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mmarinus` (lib test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c53ed68b67b1c4177fbcfe4ecf4247ec7d36cbc60ee7ed76ab0639d0de97a7d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53ed68b67b1c4177fbcfe4ecf4247ec7d36cbc60ee7ed76ab0639d0de97a7d4", kill_on_drop: false }` [INFO] [stdout] c53ed68b67b1c4177fbcfe4ecf4247ec7d36cbc60ee7ed76ab0639d0de97a7d4