[INFO] fetching crate list_tools 0.1.9-features... [INFO] testing list_tools-0.1.9-features against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate list_tools 0.1.9-features into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate list_tools 0.1.9-features on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "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" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df404c60b3b26168fb3cd683076450dfefe964aeaaa33bd155b51a3eabfaf9bd [INFO] running `Command { std: "docker" "start" "-a" "df404c60b3b26168fb3cd683076450dfefe964aeaaa33bd155b51a3eabfaf9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df404c60b3b26168fb3cd683076450dfefe964aeaaa33bd155b51a3eabfaf9bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df404c60b3b26168fb3cd683076450dfefe964aeaaa33bd155b51a3eabfaf9bd", kill_on_drop: false }` [INFO] [stdout] df404c60b3b26168fb3cd683076450dfefe964aeaaa33bd155b51a3eabfaf9bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f52aeca4e79e5f82ca37a1abb8834fa5e06a53caae9add4efa3c9a2d38e1932c [INFO] running `Command { std: "docker" "start" "-a" "f52aeca4e79e5f82ca37a1abb8834fa5e06a53caae9add4efa3c9a2d38e1932c", kill_on_drop: false }` [INFO] [stderr] Compiling 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] For more information about this error, try `rustc --explain E0517`. [INFO] [stdout] [INFO] [stderr] error: could not compile `list_tools` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "f52aeca4e79e5f82ca37a1abb8834fa5e06a53caae9add4efa3c9a2d38e1932c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f52aeca4e79e5f82ca37a1abb8834fa5e06a53caae9add4efa3c9a2d38e1932c", kill_on_drop: false }` [INFO] [stdout] f52aeca4e79e5f82ca37a1abb8834fa5e06a53caae9add4efa3c9a2d38e1932c