[INFO] cloning repository https://github.com/chfi/gfainject [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chfi/gfainject" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchfi%2Fgfainject", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchfi%2Fgfainject'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e56cba362047e7137352858dfba5f56e944cbf06 [INFO] checking chfi/gfainject/e56cba362047e7137352858dfba5f56e944cbf06 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%2Fchfi%2Fgfainject" "/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/chfi/gfainject 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/chfi/gfainject [INFO] finished tweaking git repo https://github.com/chfi/gfainject [INFO] tweaked toml for git repo https://github.com/chfi/gfainject written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/chfi/gfainject 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] d789ee3ddb8a3b8b88e4606c38072f2c7fc7ae93a6f2f4e44aac6efbd380c21f [INFO] running `Command { std: "docker" "start" "-a" "d789ee3ddb8a3b8b88e4606c38072f2c7fc7ae93a6f2f4e44aac6efbd380c21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d789ee3ddb8a3b8b88e4606c38072f2c7fc7ae93a6f2f4e44aac6efbd380c21f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d789ee3ddb8a3b8b88e4606c38072f2c7fc7ae93a6f2f4e44aac6efbd380c21f", kill_on_drop: false }` [INFO] [stdout] d789ee3ddb8a3b8b88e4606c38072f2c7fc7ae93a6f2f4e44aac6efbd380c21f [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] f57b82933b7cd9748c8933bf5a0ad7e37f55578e86bb9965d255dbb1b937a653 [INFO] running `Command { std: "docker" "start" "-a" "f57b82933b7cd9748c8933bf5a0ad7e37f55578e86bb9965d255dbb1b937a653", kill_on_drop: false }` [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.12 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking noodles-core v0.9.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking retain_mut v0.1.7 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking roaring v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking noodles-bgzf v0.17.0 [INFO] [stderr] Checking noodles-fasta v0.16.0 [INFO] [stderr] Checking noodles-csi v0.11.0 [INFO] [stderr] Checking btoi v0.4.2 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking noodles-sam v0.21.0 [INFO] [stderr] Checking noodles-bam v0.24.0 [INFO] [stderr] Checking noodles v0.29.0 [INFO] [stderr] Checking gfainject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | let Ok(args) = parse_args() else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_seqs` [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let ref_seqs = bam.read_reference_sequences()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_seqs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_id` and `pos_range` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct PathStepRangeIter<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 34 | path_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | pos_range: std::ops::Range, [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/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 65 | let steps = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Some(PathStepRangeIter { [INFO] [stdout] | ______________^ [INFO] [stdout] 82 | | path_id, [INFO] [stdout] 83 | | pos_range, [INFO] [stdout] 84 | | steps, [INFO] [stdout] 85 | | // first_step_start_pos, [INFO] [stdout] 86 | | // last_step_end_pos, [INFO] [stdout] 87 | | }) [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/main.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 90 | fn from_gfa(gfa_path: impl AsRef) -> Result { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let gfa = std::fs::File::open(&gfa_path)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut gfa_reader = BufReader::new(gfa); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | let gfa = std::fs::File::open(&gfa_path)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let mut gfa_reader = BufReader::new(gfa); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut path_step_offsets: Vec = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | path_names, [INFO] [stdout] 209 | | path_steps, [INFO] [stdout] 210 | | path_step_offsets, [INFO] [stdout] ... | [INFO] [stdout] 213 | | segment_lens: seg_lens, [INFO] [stdout] 214 | | }) [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] | |_________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: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gfainject` (bin "gfainject" test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/main.rs:300:12 [INFO] [stdout] | [INFO] [stdout] 300 | let Ok(args) = parse_args() else { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ref_seqs` [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let ref_seqs = bam.read_reference_sequences()?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ref_seqs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path_id` and `pos_range` are never read [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 33 | struct PathStepRangeIter<'a> { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 34 | path_id: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 35 | pos_range: std::ops::Range, [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/main.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 65 | let steps = { [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | Some(PathStepRangeIter { [INFO] [stdout] | ______________^ [INFO] [stdout] 82 | | path_id, [INFO] [stdout] 83 | | pos_range, [INFO] [stdout] 84 | | steps, [INFO] [stdout] 85 | | // first_step_start_pos, [INFO] [stdout] 86 | | // last_step_end_pos, [INFO] [stdout] 87 | | }) [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/main.rs:207:12 [INFO] [stdout] | [INFO] [stdout] 90 | fn from_gfa(gfa_path: impl AsRef) -> Result { [INFO] [stdout] | ------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | let gfa = std::fs::File::open(&gfa_path)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let mut gfa_reader = BufReader::new(gfa); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 142 | let gfa = std::fs::File::open(&gfa_path)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let mut gfa_reader = BufReader::new(gfa); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | let mut path_step_offsets: Vec = Vec::new(); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 207 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 208 | | path_names, [INFO] [stdout] 209 | | path_steps, [INFO] [stdout] 210 | | path_step_offsets, [INFO] [stdout] ... | [INFO] [stdout] 213 | | segment_lens: seg_lens, [INFO] [stdout] 214 | | }) [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] | |_________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: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gfainject` (bin "gfainject") due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f57b82933b7cd9748c8933bf5a0ad7e37f55578e86bb9965d255dbb1b937a653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57b82933b7cd9748c8933bf5a0ad7e37f55578e86bb9965d255dbb1b937a653", kill_on_drop: false }` [INFO] [stdout] f57b82933b7cd9748c8933bf5a0ad7e37f55578e86bb9965d255dbb1b937a653