[INFO] fetching crate self-meter 0.6.0... [INFO] checking self-meter-0.6.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate self-meter 0.6.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate self-meter 0.6.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 self-meter 0.6.0 [INFO] finished tweaking crates.io crate self-meter 0.6.0 [INFO] tweaked toml for crates.io crate self-meter 0.6.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 15 packages to latest compatible versions [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [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] 035c0aae7501f01e5085f8f750ec56cae4ae4bc0644ece8a7899ce6c1c1196cf [INFO] running `Command { std: "docker" "start" "-a" "035c0aae7501f01e5085f8f750ec56cae4ae4bc0644ece8a7899ce6c1c1196cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "035c0aae7501f01e5085f8f750ec56cae4ae4bc0644ece8a7899ce6c1c1196cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "035c0aae7501f01e5085f8f750ec56cae4ae4bc0644ece8a7899ce6c1c1196cf", kill_on_drop: false }` [INFO] [stdout] 035c0aae7501f01e5085f8f750ec56cae4ae4bc0644ece8a7899ce6c1c1196cf [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] 45ba1233ce007d13bf21c0f07be54a4c1c65296bc6f684eeee86d7fa7d0f8155 [INFO] running `Command { std: "docker" "start" "-a" "45ba1233ce007d13bf21c0f07be54a4c1c65296bc6f684eeee86d7fa7d0f8155", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking self-meter v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | try!(self.read_cpu_times(&mut snap.process, [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/scan.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | try!(self.read_memory(&mut snap)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | try!(self.read_io(&mut snap)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | try!(File::open("/proc/uptime") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | try!(read_stat(&mut self.text_buf, "/proc/self/stat", process) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let seconds = try!(iter.next() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | let idle_sec = try!(iter.next() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:64:23 [INFO] [stdout] | [INFO] [stdout] 64 | *uptime = try!(parse_uptime(seconds)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | *idle_time = try!(parse_uptime(idle_sec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | try!(read_stat(&mut self.text_buf, &self.path_buf[..], [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(File::open("/proc/self/status") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:100:47 [INFO] [stdout] | [INFO] [stdout] 100 | => snap.memory_virtual_peak = try!(parse_memory(text)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | => snap.memory_virtual = try!(parse_memory(text)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:104:38 [INFO] [stdout] | [INFO] [stdout] 104 | => snap.memory_rss = try!(parse_memory(text)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | => snap.memory_swap = try!(parse_memory(text)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | let value = try!(try!(pair.next().ok_or(StatusError::BadFormat)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:165:22 [INFO] [stdout] | [INFO] [stdout] 165 | let value = try!(try!(pair.next().ok_or(StatusError::BadFormat)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | Ok(try!(integer.parse::()) * 100 + [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | try!(decimals[1..].parse::())*10) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | try!(decimals[1..].parse::())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | Ok(try!(integer.parse::()) * 100 + [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 194 | try!(File::open(path) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:196:23 [INFO] [stdout] | [INFO] [stdout] 196 | let right_paren = try!(text_buf.rfind(')') [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:199:29 [INFO] [stdout] | [INFO] [stdout] 199 | thread_info.user_time = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(iter.nth(11).ok_or(StatError::BadFormat)).parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:201:31 [INFO] [stdout] | [INFO] [stdout] 201 | thread_info.system_time = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | try!(iter.next().ok_or(StatError::BadFormat)).parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:203:35 [INFO] [stdout] | [INFO] [stdout] 203 | thread_info.child_user_time = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | try!(iter.next().ok_or(StatError::BadFormat)).parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | thread_info.child_system_time = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/scan.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | try!(iter.next().ok_or(StatError::BadFormat)).parse()); [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/meter.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | let io_file = File::open("/proc/self/io").map_err(IoStatError::Io)?; [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | Ok(Meter { [INFO] [stdout] | ____________^ [INFO] [stdout] 29 | | scan_interval: scan_interval, [INFO] [stdout] 30 | | num_cpus: num_cpus::get(), [INFO] [stdout] 31 | | num_snapshots: 10, [INFO] [stdout] ... | [INFO] [stdout] 40 | | memory_rss_peak: 0, [INFO] [stdout] 41 | | }) [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] | [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/scan.rs:57:41 [INFO] [stdout] | [INFO] [stdout] 57 | .map_err(|e| Error::Uptime(e.into()))); [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/scan.rs:124:53 [INFO] [stdout] | [INFO] [stdout] 124 | let err = &|e: ParseIntError| Error::IoStat(e.into()); [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 3 previous errors; 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `self-meter` (lib) due to 4 previous errors; 31 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "45ba1233ce007d13bf21c0f07be54a4c1c65296bc6f684eeee86d7fa7d0f8155", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ba1233ce007d13bf21c0f07be54a4c1c65296bc6f684eeee86d7fa7d0f8155", kill_on_drop: false }` [INFO] [stdout] 45ba1233ce007d13bf21c0f07be54a4c1c65296bc6f684eeee86d7fa7d0f8155