[INFO] cloning repository https://github.com/Gnarus-G/n_choose_k [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Gnarus-G/n_choose_k" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGnarus-G%2Fn_choose_k", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGnarus-G%2Fn_choose_k'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1fe6a812e13c9193e5ee3fde52018aea1a6908c4 [INFO] checking Gnarus-G/n_choose_k/1fe6a812e13c9193e5ee3fde52018aea1a6908c4 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGnarus-G%2Fn_choose_k" "/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/Gnarus-G/n_choose_k on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Gnarus-G/n_choose_k [INFO] finished tweaking git repo https://github.com/Gnarus-G/n_choose_k [INFO] tweaked toml for git repo https://github.com/Gnarus-G/n_choose_k written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Gnarus-G/n_choose_k 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-7-tc2/source/crates/nck/Cargo.toml: file `/workspace/builds/worker-7-tc2/source/crates/nck/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `n-choose-k` [INFO] [stderr] * `bin` target `nck` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1102acca0462347243e9dac750df8c5ee0cda1edc3c25d91a0c5d36662d3af95 [INFO] running `Command { std: "docker" "start" "-a" "1102acca0462347243e9dac750df8c5ee0cda1edc3c25d91a0c5d36662d3af95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1102acca0462347243e9dac750df8c5ee0cda1edc3c25d91a0c5d36662d3af95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1102acca0462347243e9dac750df8c5ee0cda1edc3c25d91a0c5d36662d3af95", kill_on_drop: false }` [INFO] [stdout] 1102acca0462347243e9dac750df8c5ee0cda1edc3c25d91a0c5d36662d3af95 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a65b6037c2d1f0a4e9fb65d8caffe51ed57172bb16102356dc2ffe1c8e6b1907 [INFO] running `Command { std: "docker" "start" "-a" "a65b6037c2d1f0a4e9fb65d8caffe51ed57172bb16102356dc2ffe1c8e6b1907", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/crates/nck/Cargo.toml: file `/opt/rustwide/workdir/crates/nck/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `n-choose-k` [INFO] [stderr] * `bin` target `nck` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking memo v0.1.0 (/opt/rustwide/workdir/crates/memo) [INFO] [stderr] Checking clap_lex v0.1.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking factorial v0.1.2 (/opt/rustwide/workdir/crates/factorial) [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/factorial/src/lib.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&mut self, n: I) -> I { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | match self.cache.get(n.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `factorial` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `Option` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/factorial/src/lib.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn get(&mut self, n: I) -> I { [INFO] [stdout] | - these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | match self.cache.get(n.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] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `factorial` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "a65b6037c2d1f0a4e9fb65d8caffe51ed57172bb16102356dc2ffe1c8e6b1907", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a65b6037c2d1f0a4e9fb65d8caffe51ed57172bb16102356dc2ffe1c8e6b1907", kill_on_drop: false }` [INFO] [stdout] a65b6037c2d1f0a4e9fb65d8caffe51ed57172bb16102356dc2ffe1c8e6b1907