[INFO] cloning repository https://github.com/White-Green/selecting_flow_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/White-Green/selecting_flow_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhite-Green%2Fselecting_flow_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWhite-Green%2Fselecting_flow_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13451a224cd2087738916a203ee12a3f11057014 [INFO] checking White-Green/selecting_flow_example/13451a224cd2087738916a203ee12a3f11057014 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%2FWhite-Green%2Fselecting_flow_example" "/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/White-Green/selecting_flow_example 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/White-Green/selecting_flow_example [INFO] finished tweaking git repo https://github.com/White-Green/selecting_flow_example [INFO] tweaked toml for git repo https://github.com/White-Green/selecting_flow_example written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/White-Green/selecting_flow_example 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-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] 0deccbf2b7a443ff6a85847b4cd77526a990e0d689a7c1ff5d1bdfc9f60b16a0 [INFO] running `Command { std: "docker" "start" "-a" "0deccbf2b7a443ff6a85847b4cd77526a990e0d689a7c1ff5d1bdfc9f60b16a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0deccbf2b7a443ff6a85847b4cd77526a990e0d689a7c1ff5d1bdfc9f60b16a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0deccbf2b7a443ff6a85847b4cd77526a990e0d689a7c1ff5d1bdfc9f60b16a0", kill_on_drop: false }` [INFO] [stdout] 0deccbf2b7a443ff6a85847b4cd77526a990e0d689a7c1ff5d1bdfc9f60b16a0 [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] ce163c3489d24cf1fb72038ac0a7850a7dd6193fffd2aa9da90248b087fea296 [INFO] running `Command { std: "docker" "start" "-a" "ce163c3489d24cf1fb72038ac0a7850a7dd6193fffd2aa9da90248b087fea296", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand_distr v0.4.0 [INFO] [stderr] Checking selecting_flow v0.1.0 (https://github.com/White-Green/selecting_flow?rev=cc30a092c2f175087d08008f4ec420d68142ffbe#cc30a092) [INFO] [stderr] Checking selecting_flow_example 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/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | construct_layers: impl Sync + Fn() -> (GraphNode, 1>, GraphNode, 0>, 0... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> (f64, f64) { [INFO] [stdout] 117 | / crossbeam::scope(|scope| { [INFO] [stdout] 118 | | let mut threads = Vec::with_capacity(parallel_num); [INFO] [stdout] 119 | | for t in 0..parallel_num { [INFO] [stdout] 120 | | let range = t * data_pair.len() / parallel_num..(t + 1) * data_pair.len() / parallel_num; [INFO] [stdout] ... | [INFO] [stdout] 167 | | }) [INFO] [stdout] 168 | | }) [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/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut threads = Vec::with_capacity(parallel_num); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | threads.into_iter().fold((0f64, 0f64), |(sum_loss, sum_accuracy), handle| { [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 `selecting_flow_example` (bin "selecting_flow_example" 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] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 115 | construct_layers: impl Sync + Fn() -> (GraphNode, 1>, GraphNode, 0>, 0... [INFO] [stdout] | -------------------------------------------------------------------------------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 116 | ) -> (f64, f64) { [INFO] [stdout] 117 | / crossbeam::scope(|scope| { [INFO] [stdout] 118 | | let mut threads = Vec::with_capacity(parallel_num); [INFO] [stdout] 119 | | for t in 0..parallel_num { [INFO] [stdout] 120 | | let range = t * data_pair.len() / parallel_num..(t + 1) * data_pair.len() / parallel_num; [INFO] [stdout] ... | [INFO] [stdout] 167 | | }) [INFO] [stdout] 168 | | }) [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/main.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 118 | let mut threads = Vec::with_capacity(parallel_num); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 164 | threads.into_iter().fold((0f64, 0f64), |(sum_loss, sum_accuracy), handle| { [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 `selecting_flow_example` (bin "selecting_flow_example") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ce163c3489d24cf1fb72038ac0a7850a7dd6193fffd2aa9da90248b087fea296", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce163c3489d24cf1fb72038ac0a7850a7dd6193fffd2aa9da90248b087fea296", kill_on_drop: false }` [INFO] [stdout] ce163c3489d24cf1fb72038ac0a7850a7dd6193fffd2aa9da90248b087fea296