[INFO] fetching crate shmem 0.2.0... [INFO] checking shmem-0.2.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate shmem 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate shmem 0.2.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 shmem 0.2.0 [INFO] finished tweaking crates.io crate shmem 0.2.0 [INFO] tweaked toml for crates.io crate shmem 0.2.0 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.4.0 (latest: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding nix v0.6.0 (latest: v0.29.0) [INFO] [stderr] Adding rustc_version v0.1.7 (latest: v0.4.1) [INFO] [stderr] Adding semver v0.1.20 (latest: v1.0.23) [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] 17f6c126295ea19820686cccdbafa48caa0a26254b8ac6d2aadf112e53696e1e [INFO] running `Command { std: "docker" "start" "-a" "17f6c126295ea19820686cccdbafa48caa0a26254b8ac6d2aadf112e53696e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f6c126295ea19820686cccdbafa48caa0a26254b8ac6d2aadf112e53696e1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f6c126295ea19820686cccdbafa48caa0a26254b8ac6d2aadf112e53696e1e", kill_on_drop: false }` [INFO] [stdout] 17f6c126295ea19820686cccdbafa48caa0a26254b8ac6d2aadf112e53696e1e [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] 4e139468ae8a0fba39b8f1c14ead2cf55bf6b1a746c364ed011afa42cb590e87 [INFO] running `Command { std: "docker" "start" "-a" "4e139468ae8a0fba39b8f1c14ead2cf55bf6b1a746c364ed011afa42cb590e87", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Checking shmem v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | try!(ftruncate(fd, size as off_t)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | let fd = try!(shm_open(path.as_ref(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | let fd = try!(shm_open(path.as_ref(), O_RDWR, S_IRUSR | S_IWUSR)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let stat = try!(fstat(fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/owned.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/reference.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/mutable.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Owned::new(try!(Object::create(path, (mem::size_of::() * size) as isize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Owned::new(try!(Object::open(path))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/owned.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/reference.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/mutable.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let address = try!(mmap(ptr::null_mut(), size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Owned::new(try!(Object::create(path, mem::size_of::() as isize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Owned::new(try!(Object::open(path))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | try!(ftruncate(fd, size as off_t)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | let fd = try!(shm_open(path.as_ref(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | let fd = try!(shm_open(path.as_ref(), O_RDWR, S_IRUSR | S_IWUSR)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/object.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | let stat = try!(fstat(fd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/owned.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/reference.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/mutable.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Owned::new(try!(Object::create(path, (mem::size_of::() * size) as isize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/array/mod.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Owned::new(try!(Object::open(path))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/owned.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/reference.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let address = try!(mmap(ptr::null_mut(), object.size as size_t, PROT_READ, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/mutable.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | let address = try!(mmap(ptr::null_mut(), size as size_t, PROT_READ | PROT_WRITE, MAP_SHARED, object.fd, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Owned::new(try!(Object::create(path, mem::size_of::() as isize))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/map/mod.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Owned::new(try!(Object::open(path))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/owned.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | (self.address as *const _ as *const _).as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/owned.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | (self.address as *mut _).as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/reference.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | (self.address as *const _ as *const _).as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/mutable.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | (self.address as *const _ as *const _).as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/mutable.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | (self.address as *mut _).as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/owned.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | (self.address as *const _ as *const _).as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/owned.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | (self.address as *mut _).as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/reference.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | (self.address as *const _ as *const _).as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/mutable.rs:49:43 [INFO] [stdout] | [INFO] [stdout] 49 | (self.address as *const _ as *const _).as_ref().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/map/mutable.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | (self.address as *mut _).as_mut().unwrap() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 [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/object.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn create>(path: P, size: isize) -> error::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | path: path.as_ref().to_path_buf(), [INFO] [stdout] 31 | | fd: fd, [INFO] [stdout] 32 | | size: size, [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | created: true, [INFO] [stdout] 35 | | }) [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/object.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn open>(path: P) -> error::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | path: path.as_ref().to_path_buf(), [INFO] [stdout] 45 | | fd: fd, [INFO] [stdout] 46 | | size: stat.st_size as isize, [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | created: false, [INFO] [stdout] 49 | | }) [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/array/owned.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(object: Object) -> error::Result> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Owned { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | object: object, [INFO] [stdout] 38 | | address: address, [INFO] [stdout] ... | [INFO] [stdout] 41 | | }) [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/owned.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(object: Object) -> error::Result> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Owned { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | object: object, [INFO] [stdout] 37 | | address: address, [INFO] [stdout] ... | [INFO] [stdout] 40 | | }) [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 4 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shmem` (lib test) due to 5 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/object.rs:29:6 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn create>(path: P, size: isize) -> error::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 30 | | path: path.as_ref().to_path_buf(), [INFO] [stdout] 31 | | fd: fd, [INFO] [stdout] 32 | | size: size, [INFO] [stdout] 33 | | [INFO] [stdout] 34 | | created: true, [INFO] [stdout] 35 | | }) [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/object.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn open>(path: P) -> error::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Ok(Object { [INFO] [stdout] | ____________^ [INFO] [stdout] 44 | | path: path.as_ref().to_path_buf(), [INFO] [stdout] 45 | | fd: fd, [INFO] [stdout] 46 | | size: stat.st_size as isize, [INFO] [stdout] 47 | | [INFO] [stdout] 48 | | created: false, [INFO] [stdout] 49 | | }) [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/array/owned.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn new(object: Object) -> error::Result> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Owned { [INFO] [stdout] | ____________^ [INFO] [stdout] 37 | | object: object, [INFO] [stdout] 38 | | address: address, [INFO] [stdout] ... | [INFO] [stdout] 41 | | }) [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/owned.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(object: Object) -> error::Result> { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | Ok(Owned { [INFO] [stdout] | ____________^ [INFO] [stdout] 36 | | object: object, [INFO] [stdout] 37 | | address: address, [INFO] [stdout] ... | [INFO] [stdout] 40 | | }) [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 4 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shmem` (lib) due to 5 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e139468ae8a0fba39b8f1c14ead2cf55bf6b1a746c364ed011afa42cb590e87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e139468ae8a0fba39b8f1c14ead2cf55bf6b1a746c364ed011afa42cb590e87", kill_on_drop: false }` [INFO] [stdout] 4e139468ae8a0fba39b8f1c14ead2cf55bf6b1a746c364ed011afa42cb590e87