[INFO] cloning repository https://github.com/chioni16/debugger [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chioni16/debugger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchioni16%2Fdebugger", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchioni16%2Fdebugger'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3ab84c61dde101a0d249c95504137c80ecdc6d5 [INFO] checking chioni16/debugger/c3ab84c61dde101a0d249c95504137c80ecdc6d5 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchioni16%2Fdebugger" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chioni16/debugger 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 git repo https://github.com/chioni16/debugger [INFO] finished tweaking git repo https://github.com/chioni16/debugger [INFO] tweaked toml for git repo https://github.com/chioni16/debugger written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chioni16/debugger already has a lockfile, it will not be regenerated [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fd03a8951545b9c2279df1cd2611c9deeb9f2a01be20c1d251b96e8cc3d11e0a [INFO] running `Command { std: "docker" "start" "-a" "fd03a8951545b9c2279df1cd2611c9deeb9f2a01be20c1d251b96e8cc3d11e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd03a8951545b9c2279df1cd2611c9deeb9f2a01be20c1d251b96e8cc3d11e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd03a8951545b9c2279df1cd2611c9deeb9f2a01be20c1d251b96e8cc3d11e0a", kill_on_drop: false }` [INFO] [stdout] fd03a8951545b9c2279df1cd2611c9deeb9f2a01be20c1d251b96e8cc3d11e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] fe88fdc0151dea8ab5a879cd7a2cf568cc972f52cdb688e22847b51c2ebc9f53 [INFO] running `Command { std: "docker" "start" "-a" "fe88fdc0151dea8ab5a879cd7a2cf568cc972f52cdb688e22847b51c2ebc9f53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.5.0 [INFO] [stderr] Compiling anyhow v1.0.70 [INFO] [stderr] Checking clap_lex v0.3.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Checking nix v0.26.2 [INFO] [stderr] Checking is-terminal v0.4.5 [INFO] [stderr] Checking clap v4.1.13 [INFO] [stderr] Checking debugger v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `get_addr` is never used [INFO] [stdout] --> src/breakpoint.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Breakpoint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_addr(&self) -> ptrace::AddressType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_die_attrs` is never used [INFO] [stdout] --> src/dwarf.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn print_die_attrs(entry: &DebuggingInformationEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dwarf_number_from_reg` is never used [INFO] [stdout] --> src/registers.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_dwarf_number_from_reg(reg: Register) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_reg_from_dwarf_number` is never used [INFO] [stdout] --> src/registers.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_reg_from_dwarf_number(dwarf: u8) -> Result { [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/dwarf.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 144 | let mut iter = dwarf.units(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(None) [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/tracee.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | crate::dwarf::get_line_entry_from_pc(&self.load_dwarf()?, offset_pc) [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/util.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_file_lines(path: impl AsRef) -> Result>> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let file = std::fs::File::open(path.as_ref())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(BufReader::new(file).lines()) [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] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_addr` is never used [INFO] [stdout] --> src/breakpoint.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl Breakpoint { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_addr(&self) -> ptrace::AddressType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_die_attrs` is never used [INFO] [stdout] --> src/dwarf.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn print_die_attrs(entry: &DebuggingInformationEntry) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dwarf_number_from_reg` is never used [INFO] [stdout] --> src/registers.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn get_dwarf_number_from_reg(reg: Register) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_reg_from_dwarf_number` is never used [INFO] [stdout] --> src/registers.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn get_reg_from_dwarf_number(dwarf: u8) -> Result { [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/dwarf.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 144 | let mut iter = dwarf.units(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | Ok(None) [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/tracee.rs:171:47 [INFO] [stdout] | [INFO] [stdout] 171 | crate::dwarf::get_line_entry_from_pc(&self.load_dwarf()?, offset_pc) [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/util.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_file_lines(path: impl AsRef) -> Result>> { [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 42 | let file = std::fs::File::open(path.as_ref())?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 43 | Ok(BufReader::new(file).lines()) [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] = 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; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `debugger` (bin "debugger") due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `debugger` (bin "debugger" test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fe88fdc0151dea8ab5a879cd7a2cf568cc972f52cdb688e22847b51c2ebc9f53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe88fdc0151dea8ab5a879cd7a2cf568cc972f52cdb688e22847b51c2ebc9f53", kill_on_drop: false }` [INFO] [stdout] fe88fdc0151dea8ab5a879cd7a2cf568cc972f52cdb688e22847b51c2ebc9f53