[INFO] fetching crate oxineat 0.3.2... [INFO] checking oxineat-0.3.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate oxineat 0.3.2 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate oxineat 0.3.2 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 oxineat 0.3.2 [INFO] finished tweaking crates.io crate oxineat 0.3.2 [INFO] tweaked toml for crates.io crate oxineat 0.3.2 written to /workspace/builds/worker-7-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 27 packages to latest compatible versions [INFO] [stderr] Adding ahash v0.7.8 (latest: v0.8.11) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 370d1b2de14dfd10dc6323d20cb83c07b1ddcacc88620e6b16d170c8eea9a772 [INFO] running `Command { std: "docker" "start" "-a" "370d1b2de14dfd10dc6323d20cb83c07b1ddcacc88620e6b16d170c8eea9a772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "370d1b2de14dfd10dc6323d20cb83c07b1ddcacc88620e6b16d170c8eea9a772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "370d1b2de14dfd10dc6323d20cb83c07b1ddcacc88620e6b16d170c8eea9a772", kill_on_drop: false }` [INFO] [stdout] 370d1b2de14dfd10dc6323d20cb83c07b1ddcacc88620e6b16d170c8eea9a772 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9320c594262ad7a286cef53eb9d82a79353bfdd1d89c84ea66e963f06dfa1f13 [INFO] running `Command { std: "docker" "start" "-a" "9320c594262ad7a286cef53eb9d82a79353bfdd1d89c84ea66e963f06dfa1f13", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking oxineat v0.3.2 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking oxineat v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `population_config` [INFO] [stdout] --> src/populations/rt_population.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | population_config: PopulationConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `genetic_config` [INFO] [stdout] --> src/populations/rt_population.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | genetic_config: C, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_genetic_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/populations/rt_population.rs:43:54 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn remove_genomes(&mut self, tokens: &[GenomeToken; N]) -> Option { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tokens` [INFO] [stdout] --> src/populations/rt_population.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | tokens: &[GenomeToken; N], [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_tokens` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/populations/rt_population.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | f: F, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/populations/rt_population.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | p: P, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent1` [INFO] [stdout] --> src/populations/rt_population.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | parent1: GenomeToken, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent2` [INFO] [stdout] --> src/populations/rt_population.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | parent2: GenomeToken, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/populations/rt_population.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | p: P, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RealTimePopulation` is never constructed [INFO] [stdout] --> src/populations/rt_population.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RealTimePopulation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/populations/rt_population.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl RealTimePopulation [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | G: Genome + Clone, [INFO] [stdout] | |_________________________________________________________- associated items in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn remove_genomes(&mut self, tokens: &[GenomeToken; N]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn replace_genomes( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn add_child( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn reset(&mut self) [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get(&self, token: GenomeToken) -> Option<&G> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn genomes(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn species(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn history(&self) -> &H [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/populations.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(population_config: PopulationConfig, genetic_config: C) -> Population [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | species: { [INFO] [stdout] | ______________________^ [INFO] [stdout] 63 | | let mut s0 = Species::new(SpeciesID(0, 0), G::new(&genetic_config)); [INFO] [stdout] 64 | | s0.genomes [INFO] [stdout] 65 | | .extend((1..population_config.size.get()).map(|_| G::new(&genetic_config))); [INFO] [stdout] 66 | | vec![s0] [INFO] [stdout] 67 | | }, [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/populations.rs:68:22 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn new(population_config: PopulationConfig, genetic_config: C) -> Population [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 68 | history: H::new(&genetic_config), [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/populations.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 119 | genomes: Vec>, [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | population_config: PopulationConfig, [INFO] [stdout] 121 | genetic_config: C, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | let species: Vec> = std::iter::once({ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let mut s0 = Species::new(SpeciesID(0, 0), G::new(&genetic_config)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 163 | Some(Population { [INFO] [stdout] | ______________^ [INFO] [stdout] 164 | | species: species, [INFO] [stdout] 165 | | history: H::new(&genetic_config), [INFO] [stdout] 166 | | generation: 0, [INFO] [stdout] ... | [INFO] [stdout] 169 | | genetic_config, [INFO] [stdout] 170 | | }) [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/populations/logging.rs:188:43 [INFO] [stdout] | [INFO] [stdout] 188 | .map(|s| (s.id(), s.genomes().cloned().collect(), s.time_stagnated())) [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/populations/logging.rs:194:43 [INFO] [stdout] | [INFO] [stdout] 194 | .map(|s| (s.id(), s.champion().clone(), s.time_stagnated())) [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/populations/offspring_factory.rs:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | .map(|(i, s)| (s.id(), Vec::with_capacity(allotted_offspring[i]))) [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 6 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking oxineat-nn v0.1.1 [INFO] [stderr] error: could not compile `oxineat` (lib) due to 7 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "9320c594262ad7a286cef53eb9d82a79353bfdd1d89c84ea66e963f06dfa1f13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9320c594262ad7a286cef53eb9d82a79353bfdd1d89c84ea66e963f06dfa1f13", kill_on_drop: false }` [INFO] [stdout] 9320c594262ad7a286cef53eb9d82a79353bfdd1d89c84ea66e963f06dfa1f13