[INFO] updating cached repository https://github.com/Angramme/RuNA [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 137f23f6a1cb63e1ea6ff5f3b246d12f3e04065b [INFO] checking Angramme/RuNA/137f23f6a1cb63e1ea6ff5f3b246d12f3e04065b 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%2FAngramme%2FRuNA" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Angramme/RuNA 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] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Angramme/RuNA [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Angramme/RuNA [INFO] tweaked toml for git repo https://github.com/Angramme/RuNA written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Angramme/RuNA 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] b164bc712ac3e0b0b292ac44895707896565480f73af804a3b5e0b08f7f8797d [INFO] running `Command { std: "docker" "start" "-a" "b164bc712ac3e0b0b292ac44895707896565480f73af804a3b5e0b08f7f8797d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b164bc712ac3e0b0b292ac44895707896565480f73af804a3b5e0b08f7f8797d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b164bc712ac3e0b0b292ac44895707896565480f73af804a3b5e0b08f7f8797d", kill_on_drop: false }` [INFO] [stdout] b164bc712ac3e0b0b292ac44895707896565480f73af804a3b5e0b08f7f8797d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fa36e7f37c2981e84708cbaa3d12b388d4a1412c8d1126c6f38ef45b670560d2 [INFO] running `Command { std: "docker" "start" "-a" "fa36e7f37c2981e84708cbaa3d12b388d4a1412c8d1126c6f38ef45b670560d2", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking simple-error v0.1.12 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Checking RuNA v0.1.0 (/opt/rustwide/workdir) [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/math.rs:335:31 [INFO] [stdout] | [INFO] [stdout] 335 | .map(|(r, p)| (r, read_test_inst(p).expect("cannot read instance!"))); [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/math.rs:428:31 [INFO] [stdout] | [INFO] [stdout] 428 | .map(|(t, p)| (t, read_test_inst(p).expect("couldn't read instance!"))); [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RuNA` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] --> tests/exec.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | .map(|(n, f)| (n, Box::new(move || { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 32 | | let res = f(block.0.as_slice(), block.1.as_slice()); [INFO] [stdout] 33 | | println!("distance: {}", res); [INFO] [stdout] 34 | | }) as Box)) [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] --> tests/exec.rs:38:32 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&(n, f)| (n, Box::new(move || { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 39 | | let res = f(block.0.as_slice(), block.1.as_slice()); [INFO] [stdout] 40 | | println!("alignement: \n{}", res); [INFO] [stdout] 41 | | }) as Box)) [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] --> tests/exec.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | .map(|(n, f)| (n, Box::new(move || { [INFO] [stdout] | _______________________________^ [INFO] [stdout] 46 | | let res = f(block.0.as_slice(), block.1.as_slice()); [INFO] [stdout] 47 | | println!("alignement: \n{}", res.1); [INFO] [stdout] 48 | | println!("coût: {}", res.0); [INFO] [stdout] 49 | | }) as Box)) [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] --> benches/bench.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn lapse_sequence<'a, F>(name: &'a str, f: F) -> impl Iterator + 'a [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 32 | let blocks = read_test_insts_by_size(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | [INFO] [stdout] 34 | / blocks [INFO] [stdout] 35 | | .map(move |(size, dna)| (lapse(|| f(dna)), size)) // measure execution time [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] --> benches/bench.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | .map(|(s, f)| (s, Box::new(move |DnaBlock(l, r)| { f(&l, &r); }) as Box)); [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] --> benches/bench.rs:68:27 [INFO] [stdout] | [INFO] [stdout] 68 | .map(|(s, f)| (s, Box::new(move |DnaBlock(l, r)| { f(&l, &r); }) as Box)); [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `RuNA` (bench "bench") due to 4 previous errors [INFO] [stderr] error: could not compile `RuNA` (test "exec") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "fa36e7f37c2981e84708cbaa3d12b388d4a1412c8d1126c6f38ef45b670560d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa36e7f37c2981e84708cbaa3d12b388d4a1412c8d1126c6f38ef45b670560d2", kill_on_drop: false }` [INFO] [stdout] fa36e7f37c2981e84708cbaa3d12b388d4a1412c8d1126c6f38ef45b670560d2