[INFO] fetching crate rebop 0.8.3... [INFO] checking rebop-0.8.3 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rebop 0.8.3 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rebop 0.8.3 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 rebop 0.8.3 [INFO] finished tweaking crates.io crate rebop 0.8.3 [INFO] tweaked toml for crates.io crate rebop 0.8.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate rebop 0.8.3 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-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] 21a8bc4b6d86fe05b52a0f676d7dd8a971f96650b62a5cd5634428868def16e8 [INFO] running `Command { std: "docker" "start" "-a" "21a8bc4b6d86fe05b52a0f676d7dd8a971f96650b62a5cd5634428868def16e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "21a8bc4b6d86fe05b52a0f676d7dd8a971f96650b62a5cd5634428868def16e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21a8bc4b6d86fe05b52a0f676d7dd8a971f96650b62a5cd5634428868def16e8", kill_on_drop: false }` [INFO] [stdout] 21a8bc4b6d86fe05b52a0f676d7dd8a971f96650b62a5cd5634428868def16e8 [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] a240cfb77fc3fb93131190055e73cdf5d0b0a9a42fce247031013c7ea43b320e [INFO] running `Command { std: "docker" "start" "-a" "a240cfb77fc3fb93131190055e73cdf5d0b0a9a42fce247031013c7ea43b320e", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.15 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking unindent v0.2.3 [INFO] [stderr] Checking clap_builder v4.5.9 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Compiling iai-callgrind v0.11.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Compiling pyo3-build-config v0.22.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap v4.5.9 [INFO] [stderr] Compiling pyo3-ffi v0.22.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.22.1 [INFO] [stderr] Compiling pyo3 v0.22.1 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling iai-callgrind-macros v0.2.0 [INFO] [stderr] Compiling pyo3-macros v0.22.1 [INFO] [stderr] Checking rebop v0.8.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_json v1.0.120 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking iai-callgrind-runner v0.11.1 [INFO] [stdout] warning: function `make_rates` is never used [INFO] [stdout] --> src/gillespie.rs:298:4 [INFO] [stdout] | [INFO] [stdout] 298 | fn make_rates(reactions: &[(Rate, Jump)], species: &[isize], rates: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_rate_for` is never used [INFO] [stdout] --> src/gillespie.rs:316:4 [INFO] [stdout] | [INFO] [stdout] 316 | fn choose_rate_for(mut chosen_rate: f64, rates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_cumrate_for` is never used [INFO] [stdout] --> src/gillespie.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn choose_cumrate_for(chosen_rate: f64, cumrates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_rate_sum` is never used [INFO] [stdout] --> src/gillespie.rs:339:4 [INFO] [stdout] | [INFO] [stdout] 339 | fn choose_rate_sum(chosen_rate: f64, rates: &[f64]) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `choose_cumrate_takewhile` is never used [INFO] [stdout] --> src/gillespie.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn choose_cumrate_takewhile(chosen_rate: f64, cumrates: &[f64]) -> 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/gillespie.rs:141:24 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn new>(species: V) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 141 | reactions: 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/gillespie.rs:149:24 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn new_with_seed>(species: V, seed: u64) -> Self { [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | reactions: 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 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rebop` (lib) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a240cfb77fc3fb93131190055e73cdf5d0b0a9a42fce247031013c7ea43b320e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a240cfb77fc3fb93131190055e73cdf5d0b0a9a42fce247031013c7ea43b320e", kill_on_drop: false }` [INFO] [stdout] a240cfb77fc3fb93131190055e73cdf5d0b0a9a42fce247031013c7ea43b320e