[INFO] cloning repository https://github.com/Asafrose/random-algorithms-homework [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Asafrose/random-algorithms-homework" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsafrose%2Frandom-algorithms-homework", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAsafrose%2Frandom-algorithms-homework'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0b5b73c9fc2e8685e58b6996fc92f419c475d6d [INFO] checking Asafrose/random-algorithms-homework/f0b5b73c9fc2e8685e58b6996fc92f419c475d6d 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%2FAsafrose%2Frandom-algorithms-homework" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Asafrose/random-algorithms-homework 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/Asafrose/random-algorithms-homework [INFO] finished tweaking git repo https://github.com/Asafrose/random-algorithms-homework [INFO] tweaked toml for git repo https://github.com/Asafrose/random-algorithms-homework written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Asafrose/random-algorithms-homework 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] 699ff1cc5d1468e41d77cb2771c06f1cfd793aa3798e6ad0b0bf81f0b7183d3b [INFO] running `Command { std: "docker" "start" "-a" "699ff1cc5d1468e41d77cb2771c06f1cfd793aa3798e6ad0b0bf81f0b7183d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "699ff1cc5d1468e41d77cb2771c06f1cfd793aa3798e6ad0b0bf81f0b7183d3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699ff1cc5d1468e41d77cb2771c06f1cfd793aa3798e6ad0b0bf81f0b7183d3b", kill_on_drop: false }` [INFO] [stdout] 699ff1cc5d1468e41d77cb2771c06f1cfd793aa3798e6ad0b0bf81f0b7183d3b [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] a759cc148a5aed7adcbfe4264facaffa6cf37083104d913ba6f93cf1c1851f5d [INFO] running `Command { std: "docker" "start" "-a" "a759cc148a5aed7adcbfe4264facaffa6cf37083104d913ba6f93cf1c1851f5d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling pulldown-cmark v0.9.1 [INFO] [stderr] Compiling rayon-core v1.9.2 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling rayon v1.5.2 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking console v0.15.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking pulldown-cmark-to-cmark v10.0.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking nameof v1.2.2 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Checking clap v3.1.11 [INFO] [stderr] Checking clap-md v0.1.0 (https://github.com/Asafrose/clap-md#f39fa6e8) [INFO] [stderr] Checking random-algorithms-homework 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/common/reduce.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_internal(&self, update_progress: F) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok((self.reducer)(self.algorithm.run_internal(update_progress)?)?) [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/extensions/vec_extensions.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | (0..length).map(|_| thread_rng.gen_range(range())).collect() [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/q2/hash_function.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 10 | source: TSource, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | target: TTarget, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | map: source [INFO] [stdout] | __________________^ [INFO] [stdout] 19 | | .into_iter() [INFO] [stdout] 20 | | .map(|item| (item, target[thread_rng.gen_range(0..target.len())])) [INFO] [stdout] 21 | | .collect(), [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/q3/mod.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|matrix| match (*matrix).clone() * array.clone() { [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/q3/matrix.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 136 | fn from(source: Vec) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | inner: source.into_iter().map(|item| vec![item]).collect(), [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `random-algorithms-homework` (bin "random-algorithms-homework" test) due to 6 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/common/reduce.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 32 | fn run_internal(&self, update_progress: F) -> Result { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 33 | Ok((self.reducer)(self.algorithm.run_internal(update_progress)?)?) [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/extensions/vec_extensions.rs:21:50 [INFO] [stdout] | [INFO] [stdout] 21 | (0..length).map(|_| thread_rng.gen_range(range())).collect() [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/q2/hash_function.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 10 | source: TSource, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 11 | target: TTarget, [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 18 | map: source [INFO] [stdout] | __________________^ [INFO] [stdout] 19 | | .into_iter() [INFO] [stdout] 20 | | .map(|item| (item, target[thread_rng.gen_range(0..target.len())])) [INFO] [stdout] 21 | | .collect(), [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/q3/mod.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(|matrix| match (*matrix).clone() * array.clone() { [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/q3/matrix.rs:140:20 [INFO] [stdout] | [INFO] [stdout] 136 | fn from(source: Vec) -> Self { [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | inner: source.into_iter().map(|item| vec![item]).collect(), [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `random-algorithms-homework` (bin "random-algorithms-homework") due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "a759cc148a5aed7adcbfe4264facaffa6cf37083104d913ba6f93cf1c1851f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a759cc148a5aed7adcbfe4264facaffa6cf37083104d913ba6f93cf1c1851f5d", kill_on_drop: false }` [INFO] [stdout] a759cc148a5aed7adcbfe4264facaffa6cf37083104d913ba6f93cf1c1851f5d