[INFO] fetching crate otarustlings 1.0.0... [INFO] checking otarustlings-1.0.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate otarustlings 1.0.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate otarustlings 1.0.0 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 crates.io crate otarustlings 1.0.0 [INFO] finished tweaking crates.io crate otarustlings 1.0.0 [INFO] tweaked toml for crates.io crate otarustlings 1.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate otarustlings 1.0.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d558468911a7a0b57520fc7719a05910103f4ecb2437bd7dc5737aafdf428f3 [INFO] running `Command { std: "docker" "start" "-a" "7d558468911a7a0b57520fc7719a05910103f4ecb2437bd7dc5737aafdf428f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d558468911a7a0b57520fc7719a05910103f4ecb2437bd7dc5737aafdf428f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d558468911a7a0b57520fc7719a05910103f4ecb2437bd7dc5737aafdf428f3", kill_on_drop: false }` [INFO] [stdout] 7d558468911a7a0b57520fc7719a05910103f4ecb2437bd7dc5737aafdf428f3 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 743845d099dbf3b664dff08836a147b62b980c7fcfecf9306787882089cdc039 [INFO] running `Command { std: "docker" "start" "-a" "743845d099dbf3b664dff08836a147b62b980c7fcfecf9306787882089cdc039", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Checking object v0.28.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking filetime v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking crossterm v0.23.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking rust-embed-utils v7.2.0 [INFO] [stderr] Checking backtrace v0.3.65 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling rust-embed-impl v6.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Checking rust-embed v6.4.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking clap v3.1.15 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking otarustlings v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib/state.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn group_by_folder<'s>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 267 | &'s self, [INFO] [stdout] 268 | ) -> GroupBy<&'_ str, btree_set::Iter<'_, Exercise>, impl FnMut(&'_ &'s Exercise) -> &'s str> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib/state.rs:268:43 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn group_by_folder<'s>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 267 | &'s self, [INFO] [stdout] 268 | ) -> GroupBy<&'_ str, btree_set::Iter<'_, Exercise>, impl FnMut(&'_ &'s Exercise) -> &'s str> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib/state.rs:268:19 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn group_by_folder<'s>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 267 | &'s self, [INFO] [stdout] 268 | ) -> GroupBy<&'_ str, btree_set::Iter<'_, Exercise>, impl FnMut(&'_ &'s Exercise) -> &'s str> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lib/state.rs:268:43 [INFO] [stdout] | [INFO] [stdout] 266 | pub fn group_by_folder<'s>( [INFO] [stdout] | -- lifetime `'s` declared here [INFO] [stdout] 267 | &'s self, [INFO] [stdout] 268 | ) -> GroupBy<&'_ str, btree_set::Iter<'_, Exercise>, impl FnMut(&'_ &'s Exercise) -> &'s str> [INFO] [stdout] | ^^ this elided lifetime gets resolved as `'s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/tester.rs:313:27 [INFO] [stdout] | [INFO] [stdout] 264 | fn handle_message(mut self: Box, msg: Message) -> anyhow::Result> { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | match compile(exercise_path) { [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `otarustlings` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this value of type `std::result::Result` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib/tester.rs:313:27 [INFO] [stdout] | [INFO] [stdout] 264 | fn handle_message(mut self: Box, msg: Message) -> anyhow::Result> { [INFO] [stdout] | --- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 313 | match compile(exercise_path) { [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; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `otarustlings` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "743845d099dbf3b664dff08836a147b62b980c7fcfecf9306787882089cdc039", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "743845d099dbf3b664dff08836a147b62b980c7fcfecf9306787882089cdc039", kill_on_drop: false }` [INFO] [stdout] 743845d099dbf3b664dff08836a147b62b980c7fcfecf9306787882089cdc039