[INFO] cloning repository https://github.com/Lukasz825700516/mcfrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Lukasz825700516/mcfrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasz825700516%2Fmcfrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukasz825700516%2Fmcfrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11bc09899c845cf3dd709ace32b2173b0255d0dc [INFO] checking Lukasz825700516/mcfrs/11bc09899c845cf3dd709ace32b2173b0255d0dc 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%2FLukasz825700516%2Fmcfrs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lukasz825700516/mcfrs 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/Lukasz825700516/mcfrs [INFO] finished tweaking git repo https://github.com/Lukasz825700516/mcfrs [INFO] tweaked toml for git repo https://github.com/Lukasz825700516/mcfrs written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Lukasz825700516/mcfrs 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 616905b5e6ad02ff9d73be71a190e75835d6dd6d593a7951260ab48782cc5421 [INFO] running `Command { std: "docker" "start" "-a" "616905b5e6ad02ff9d73be71a190e75835d6dd6d593a7951260ab48782cc5421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "616905b5e6ad02ff9d73be71a190e75835d6dd6d593a7951260ab48782cc5421", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "616905b5e6ad02ff9d73be71a190e75835d6dd6d593a7951260ab48782cc5421", kill_on_drop: false }` [INFO] [stdout] 616905b5e6ad02ff9d73be71a190e75835d6dd6d593a7951260ab48782cc5421 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 27706eefde63e82ae385e4182adc67a260fa4af34f7e147c3414eb8214a1528d [INFO] running `Command { std: "docker" "start" "-a" "27706eefde63e82ae385e4182adc67a260fa4af34f7e147c3414eb8214a1528d", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking mcfrs1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/mcfrs/compiler/macro_compiler.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, iter::{Peekable, Rev, repeat}, ops::Range}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/mcfrs/compiler/macro_compiler.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{HashMap, HashSet}, iter::{Peekable, Rev, repeat}, ops::Range}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::generic_array::sequence::Split` [INFO] [stdout] --> src/mcfrs/compiler/macro_compiler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::digest::generic_array::sequence::Split; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sha2::digest::generic_array::sequence::Split` [INFO] [stdout] --> src/mcfrs/compiler/macro_compiler.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sha2::digest::generic_array::sequence::Split; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `burn` is never used [INFO] [stdout] --> src/mcfrs/compiler/scope_burner.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ScopeBurnerExt<'a>: Sized + Iterator> { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 6 | fn burn(self) -> Result<(), std::io::Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> src/mcfrs/compiler/macro_compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MacroDefinition<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | namespace: &'a Namespace<'a>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_reference_id` is never used [INFO] [stdout] --> src/mcfrs/scope.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> Scope<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_reference_id(&mut self, id: usize) { [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/mcfrs/compiler/scopes_compiler.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | buffered: Vec::new(), [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/mcfrs/compiler/substitutions_compiler.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | score_regex: Regex::new(r"([a-z0-9\\-_]+)@([a-z0-9\\-_]+)").unwrap(), [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/mcfrs/compiler/substitutions_compiler.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | hash_regex: Regex::new(r"#\[([a-z0-9\-_.]+)\]").unwrap(), [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/mcfrs/compiler/macro_compiler.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | buffered: Vec::new(), [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcfrs1` (bin "mcfrs1" test) due to 5 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `burn` is never used [INFO] [stdout] --> src/mcfrs/compiler/scope_burner.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ScopeBurnerExt<'a>: Sized + Iterator> { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 6 | fn burn(self) -> Result<(), std::io::Error>; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `namespace` is never read [INFO] [stdout] --> src/mcfrs/compiler/macro_compiler.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MacroDefinition<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 9 | namespace: &'a Namespace<'a>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_reference_id` is never used [INFO] [stdout] --> src/mcfrs/scope.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> Scope<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set_reference_id(&mut self, id: usize) { [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/mcfrs/compiler/scopes_compiler.rs:57:23 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 57 | buffered: Vec::new(), [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/mcfrs/compiler/substitutions_compiler.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 58 | score_regex: Regex::new(r"([a-z0-9\\-_]+)@([a-z0-9\\-_]+)").unwrap(), [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/mcfrs/compiler/substitutions_compiler.rs:59:25 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | hash_regex: Regex::new(r"#\[([a-z0-9\-_.]+)\]").unwrap(), [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/mcfrs/compiler/macro_compiler.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn new(source: I) -> Self { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | buffered: Vec::new(), [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mcfrs1` (bin "mcfrs1") due to 5 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "27706eefde63e82ae385e4182adc67a260fa4af34f7e147c3414eb8214a1528d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27706eefde63e82ae385e4182adc67a260fa4af34f7e147c3414eb8214a1528d", kill_on_drop: false }` [INFO] [stdout] 27706eefde63e82ae385e4182adc67a260fa4af34f7e147c3414eb8214a1528d