[INFO] fetching crate traquer 0.5.0... [INFO] checking traquer-0.5.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate traquer 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate traquer 0.5.0 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 traquer 0.5.0 [INFO] finished tweaking crates.io crate traquer 0.5.0 [INFO] tweaked toml for crates.io crate traquer 0.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate traquer 0.5.0 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 3806aaf07deb4edb216438b57dd5e65e8dea8101c304447617aa0a17ed3f8dc9 [INFO] running `Command { std: "docker" "start" "-a" "3806aaf07deb4edb216438b57dd5e65e8dea8101c304447617aa0a17ed3f8dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3806aaf07deb4edb216438b57dd5e65e8dea8101c304447617aa0a17ed3f8dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3806aaf07deb4edb216438b57dd5e65e8dea8101c304447617aa0a17ed3f8dc9", kill_on_drop: false }` [INFO] [stdout] 3806aaf07deb4edb216438b57dd5e65e8dea8101c304447617aa0a17ed3f8dc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 76bc3602c1184558864f4382e8b060a804ba12a6c7aa1b9884c0ae5094117bfe [INFO] running `Command { std: "docker" "start" "-a" "76bc3602c1184558864f4382e8b060a804ba12a6c7aa1b9884c0ae5094117bfe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling rustls v0.23.11 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking clap_builder v4.5.8 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap v4.5.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking traquer v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking regex v1.10.5 [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/momentum.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 89 | let rsi_series = rsi(data, rsi_win); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | let streak_rsi = iter::once(f64::NAN).chain(rsi(&streaks, streak_win)); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / izip!(rsi_series, streak_rsi, rank) [INFO] [stdout] 116 | | .map(|(x, y, z)| (x + y + z) / 3.0) [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/momentum.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 146 | let short_ma = smooth::ewma(close, short); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | let long_ma = smooth::ewma(close, long); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 148 | short_ma.zip(long_ma).map(|(x, y)| x - y) [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/momentum.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 326 | let short_ma = smooth::ewma(data, short); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 327 | let long_ma = smooth::ewma(data, long); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 328 | short_ma.zip(long_ma).map(|(x, y)| 100.0 * (x / y - 1.0)) [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/momentum.rs:356:5 [INFO] [stdout] | [INFO] [stdout] 354 | let short_ma = smooth::ewma(data, short); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 355 | let long_ma = smooth::ewma(data, long); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 356 | short_ma.zip(long_ma).map(|(x, y)| x - y) [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/momentum.rs:500:5 [INFO] [stdout] | [INFO] [stdout] 498 | let atr = iter::once(f64::NAN).chain(smooth::ewma(&tr, window)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 499 | let sma_close = smooth::sma(close, window); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 500 | / izip!(close, sma_close, atr) [INFO] [stdout] 501 | | .map(|(c, c_ma, tr_ma)| (c - c_ma) / tr_ma) [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/momentum.rs:1277:9 [INFO] [stdout] | [INFO] [stdout] 1264 | let pcds = smooth::ewma(&long_diff, short); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1268 | let abs_pcds = smooth::ewma(&abs_long_diff, short); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1273 | let signal = iter::repeat(f64::NAN) [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1277 | / tsi.iter() [INFO] [stdout] 1278 | | .zip(signal) [INFO] [stdout] 1279 | | .map(|(&x, y)| (x, y)) [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/momentum.rs:1409:9 [INFO] [stdout] | [INFO] [stdout] 1407 | let signal_line = smooth::sma(&result, signal); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1408 | iter::repeat(f64::NAN).take(win1 + (win1 - 1)).chain( [INFO] [stdout] 1409 | / signal_line [INFO] [stdout] 1410 | | .zip(&result) [INFO] [stdout] 1411 | | .map(|(sig, val)| val - sig) [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/momentum.rs:1568:9 [INFO] [stdout] | [INFO] [stdout] 1566 | let ma3 = smooth::ewma(&dsp[2 * window - 1..], window); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 1567 | iter::repeat(f64::NAN).take(2 * window).chain( [INFO] [stdout] 1568 | / dsp[2 * window - 1..] [INFO] [stdout] 1569 | | .iter() [INFO] [stdout] 1570 | | .zip(ma3) [INFO] [stdout] 1571 | | .map(|(x, y)| x - y) [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/smooth.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 273 | let ma = wma(data, window); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 274 | let ma2 = wma(data, window.div_ceil(2)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 275 | / wma( [INFO] [stdout] 276 | | &ma2.zip(ma).map(|(x, y)| 2.0 * x - y).collect::>(), [INFO] [stdout] 277 | | (window as f64).sqrt().floor() as usize, [INFO] [stdout] 278 | | ) [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/smooth.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 351 | let vi = _cmo(data, cmo_win); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 352 | iter::repeat(f64::NAN).take(window.max(cmo_win)).chain( [INFO] [stdout] 353 | / izip!(vi, data.iter().skip(cmo_win)) [INFO] [stdout] 354 | | .scan(0.0, move |state, (vi, d)| { [INFO] [stdout] 355 | | *state = alpha * vi.abs() * (d - *state) + *state; [INFO] [stdout] 356 | | Some(*state) [INFO] [stdout] 357 | | }) [INFO] [stdout] 358 | | .skip(window.max(cmo_win) - cmo_win), [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/trend.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 330 | let atr = iter::once(f64::NAN).chain(smooth::wilder(&tr, window)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 331 | / izip!(high, low, close, atr) [INFO] [stdout] 332 | | .scan( [INFO] [stdout] 333 | | (f64::NAN, f64::NAN, f64::MIN_POSITIVE, 1), [INFO] [stdout] 334 | | |state, (h, l, c, tr)| { [INFO] [stdout] ... | [INFO] [stdout] 357 | | }, [INFO] [stdout] 358 | | ) [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/trend.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 515 | let ma = smooth::ma(data, window, mamode.unwrap_or(smooth::MaMode::SMA)); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 518 | / data[window - lag - 1..] [INFO] [stdout] 519 | | .iter() [INFO] [stdout] 520 | | .zip(ma.skip(window - 1)) [INFO] [stdout] 521 | | .map(|(x, y)| x - y), [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/volatility.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 54 | let ma2 = smooth::ewma(&ma1[short - 1..], short); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | iter::repeat(f64::NAN).take((long - 1) + (short - 1)).chain( [INFO] [stdout] 56 | / ma1.iter() [INFO] [stdout] 57 | | .skip(short - 1) [INFO] [stdout] 58 | | .zip(ma2) [INFO] [stdout] 59 | | .map(|(num, denom)| num / denom) [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/volume.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 94 | let short_ma = smooth::ewma(&vf, short); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 95 | let long_ma = smooth::ewma(&vf, long); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | iter::once(f64::NAN).chain( [INFO] [stdout] 97 | / short_ma [INFO] [stdout] 98 | | .zip(long_ma) [INFO] [stdout] 99 | | .map(|(x, y)| x - y) [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 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `traquer` (lib) due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "76bc3602c1184558864f4382e8b060a804ba12a6c7aa1b9884c0ae5094117bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76bc3602c1184558864f4382e8b060a804ba12a6c7aa1b9884c0ae5094117bfe", kill_on_drop: false }` [INFO] [stdout] 76bc3602c1184558864f4382e8b060a804ba12a6c7aa1b9884c0ae5094117bfe