[INFO] fetching crate list_tools 0.1.9-features... [INFO] checking list_tools-0.1.9-features against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate list_tools 0.1.9-features into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate list_tools 0.1.9-features 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 list_tools 0.1.9-features [INFO] finished tweaking crates.io crate list_tools 0.1.9-features [INFO] tweaked toml for crates.io crate list_tools 0.1.9-features written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Blocking waiting for file lock on package cache [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] b3620955a8eba5d28e9d0efe525a24eeaaab2d7124a36ba2cc4f5bd524af6d2b [INFO] running `Command { std: "docker" "start" "-a" "b3620955a8eba5d28e9d0efe525a24eeaaab2d7124a36ba2cc4f5bd524af6d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3620955a8eba5d28e9d0efe525a24eeaaab2d7124a36ba2cc4f5bd524af6d2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3620955a8eba5d28e9d0efe525a24eeaaab2d7124a36ba2cc4f5bd524af6d2b", kill_on_drop: false }` [INFO] [stdout] b3620955a8eba5d28e9d0efe525a24eeaaab2d7124a36ba2cc4f5bd524af6d2b [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] 5cbded3f3ef4d7f78f0a47a32191407479e3dec134018c46273fb974db70cab7 [INFO] running `Command { std: "docker" "start" "-a" "5cbded3f3ef4d7f78f0a47a32191407479e3dec134018c46273fb974db70cab7", kill_on_drop: false }` [INFO] [stderr] Checking list_tools v0.1.9-features (/opt/rustwide/workdir) [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[cfg(feature = "tools")] [INFO] [stdout] 12 | / macro_rules! clist { [INFO] [stdout] 13 | | () => { [INFO] [stdout] 14 | | list_tools::List::new() [INFO] [stdout] 15 | | }; [INFO] [stdout] ... | [INFO] [stdout] 21 | | }; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | #[cfg(feature = "tools")] [INFO] [stdout] 36 | / pub mod fast_tools { [INFO] [stdout] 37 | | use crate::List; [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | /// This function can do [`Vec`] to [`crate::List`] [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | / pub fn vec_to_list(v: Vec) -> List { [INFO] [stdout] 42 | | List::vec_to_list(v) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | / pub fn slice_to_list(s: &[T]) -> List { [INFO] [stdout] 47 | | List::slice_to_list(s) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | / pub fn string_to_list(t: String, split_test: S) -> List { [INFO] [stdout] 52 | | let split_test = split_test.to_string(); [INFO] [stdout] 53 | | let split = t.split(&split_test); [INFO] [stdout] 54 | | let collect = split.collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | l [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | / pub fn str_to_list(t: &str, split_test: S) -> List { [INFO] [stdout] 64 | | let split_test = split_test.to_string(); [INFO] [stdout] 65 | | let split = t.split(&split_test); [INFO] [stdout] 66 | | let collect = split.collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | l [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | / pub fn string_to_list_char(t: String, split_test: char) -> List { [INFO] [stdout] 77 | | let split = t.split(split_test); [INFO] [stdout] 78 | | let collect = split.collect::>(); [INFO] [stdout] 79 | | let mut l = List::new(); [INFO] [stdout] ... | [INFO] [stdout] 84 | | l [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | / pub mod debug_tools { [INFO] [stdout] 5 | | use crate::system_break; [INFO] [stdout] 6 | | use std::fmt::Debug; [INFO] [stdout] 7 | | #[repr(Rust)] [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | / macro_rules! system_break { [INFO] [stdout] 52 | | ($($t:expr),*) => { [INFO] [stdout] 53 | | crate::tools::debug_tools::exit(format!($($t),*)) [INFO] [stdout] 54 | | }; [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | #[allow(dead_code)] [INFO] [stdout] 9 | / pub fn debug_bool(r#is: bool, line: Option) { [INFO] [stdout] 10 | | match r#is { [INFO] [stdout] 11 | | true => true, [INFO] [stdout] 12 | | false => match line { [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | / pub fn debug_result(r#is: Result, line: Option) -> T { [INFO] [stdout] 21 | | match r#is { [INFO] [stdout] 22 | | Ok(t) => t, [INFO] [stdout] 23 | | Err(e) => match line { [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | #[allow(dead_code)] [INFO] [stdout] 32 | / pub fn debug_option(r#is: Option, line: Option) -> T { [INFO] [stdout] 33 | | match r#is { [INFO] [stdout] 34 | | Some(t) => t, [INFO] [stdout] 35 | | None => match line { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | / pub fn exit(t: T) -> ! { [INFO] [stdout] 44 | | println!("Exit Test: {:?}", t); [INFO] [stdout] 45 | | std::process::exit(0); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | #[cfg(feature = "tools")] [INFO] [stdout] 12 | / macro_rules! clist { [INFO] [stdout] 13 | | () => { [INFO] [stdout] 14 | | list_tools::List::new() [INFO] [stdout] 15 | | }; [INFO] [stdout] ... | [INFO] [stdout] 21 | | }; [INFO] [stdout] 22 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 35 | #[cfg(feature = "tools")] [INFO] [stdout] 36 | / pub mod fast_tools { [INFO] [stdout] 37 | | use crate::List; [INFO] [stdout] 38 | | [INFO] [stdout] 39 | | /// This function can do [`Vec`] to [`crate::List`] [INFO] [stdout] ... | [INFO] [stdout] 85 | | } [INFO] [stdout] 86 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 41 | / pub fn vec_to_list(v: Vec) -> List { [INFO] [stdout] 42 | | List::vec_to_list(v) [INFO] [stdout] 43 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | / pub fn slice_to_list(s: &[T]) -> List { [INFO] [stdout] 47 | | List::slice_to_list(s) [INFO] [stdout] 48 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | / pub fn string_to_list(t: String, split_test: S) -> List { [INFO] [stdout] 52 | | let split_test = split_test.to_string(); [INFO] [stdout] 53 | | let split = t.split(&split_test); [INFO] [stdout] 54 | | let collect = split.collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 59 | | l [INFO] [stdout] 60 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 63 | / pub fn str_to_list(t: &str, split_test: S) -> List { [INFO] [stdout] 64 | | let split_test = split_test.to_string(); [INFO] [stdout] 65 | | let split = t.split(&split_test); [INFO] [stdout] 66 | | let collect = split.collect::>(); [INFO] [stdout] ... | [INFO] [stdout] 71 | | l [INFO] [stdout] 72 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/fasts.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 76 | / pub fn string_to_list_char(t: String, split_test: char) -> List { [INFO] [stdout] 77 | | let split = t.split(split_test); [INFO] [stdout] 78 | | let collect = split.collect::>(); [INFO] [stdout] 79 | | let mut l = List::new(); [INFO] [stdout] ... | [INFO] [stdout] 84 | | l [INFO] [stdout] 85 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | / pub mod debug_tools { [INFO] [stdout] 5 | | use crate::system_break; [INFO] [stdout] 6 | | use std::fmt::Debug; [INFO] [stdout] 7 | | #[repr(Rust)] [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] 47 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | / macro_rules! system_break { [INFO] [stdout] 52 | | ($($t:expr),*) => { [INFO] [stdout] 53 | | crate::tools::debug_tools::exit(format!($($t),*)) [INFO] [stdout] 54 | | }; [INFO] [stdout] ... | [INFO] [stdout] 60 | | }; [INFO] [stdout] 61 | | } [INFO] [stdout] | |_- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | #[allow(dead_code)] [INFO] [stdout] 9 | / pub fn debug_bool(r#is: bool, line: Option) { [INFO] [stdout] 10 | | match r#is { [INFO] [stdout] 11 | | true => true, [INFO] [stdout] 12 | | false => match line { [INFO] [stdout] ... | [INFO] [stdout] 16 | | }; [INFO] [stdout] 17 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | / pub fn debug_result(r#is: Result, line: Option) -> T { [INFO] [stdout] 21 | | match r#is { [INFO] [stdout] 22 | | Ok(t) => t, [INFO] [stdout] 23 | | Err(e) => match line { [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] 28 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | #[allow(dead_code)] [INFO] [stdout] 32 | / pub fn debug_option(r#is: Option, line: Option) -> T { [INFO] [stdout] 33 | | match r#is { [INFO] [stdout] 34 | | Some(t) => t, [INFO] [stdout] 35 | | None => match line { [INFO] [stdout] ... | [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to a struct, enum, or union [INFO] [stdout] --> src/tools.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | #[repr(Rust)] [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | / pub fn exit(t: T) -> ! { [INFO] [stdout] 44 | | println!("Exit Test: {:?}", t); [INFO] [stdout] 45 | | std::process::exit(0); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_____- not a struct, enum, or union [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `E` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tools.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn debug_result(r#is: Result, line: Option) -> T { [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] | 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] 23 | Err(e) => match line { [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: this value of type `O` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tools.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn debug_option(r#is: Option, line: Option) -> T { [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] | 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] 36 | Some(n) => system_break!("Can't get option,( break test {:?} )", n), [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: this value of type `E` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tools.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn debug_result(r#is: Result, line: Option) -> T { [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] | 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] 23 | Err(e) => match line { [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: this value of type `O` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/tools.rs:36:22 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn debug_option(r#is: Option, line: Option) -> T { [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] | 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] 36 | Some(n) => system_break!("Can't get option,( break test {:?} )", n), [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 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0517`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0517`. [INFO] [stdout] [INFO] [stderr] error: could not compile `list_tools` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `list_tools` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "5cbded3f3ef4d7f78f0a47a32191407479e3dec134018c46273fb974db70cab7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cbded3f3ef4d7f78f0a47a32191407479e3dec134018c46273fb974db70cab7", kill_on_drop: false }` [INFO] [stdout] 5cbded3f3ef4d7f78f0a47a32191407479e3dec134018c46273fb974db70cab7