[INFO] fetching crate sdkms 0.5.0... [INFO] testing sdkms-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate sdkms 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate sdkms 0.5.0 [INFO] finished tweaking crates.io crate sdkms 0.5.0 [INFO] tweaked toml for crates.io crate sdkms 0.5.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sdkms 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate sdkms 0.5.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 324fd6f91deff499ae63b2ad4286052e00802fdc61cb346909b96d8d8525076d [INFO] running `Command { std: "docker" "start" "-a" "324fd6f91deff499ae63b2ad4286052e00802fdc61cb346909b96d8d8525076d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "324fd6f91deff499ae63b2ad4286052e00802fdc61cb346909b96d8d8525076d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "324fd6f91deff499ae63b2ad4286052e00802fdc61cb346909b96d8d8525076d", kill_on_drop: false }` [INFO] [stdout] 324fd6f91deff499ae63b2ad4286052e00802fdc61cb346909b96d8d8525076d [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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 000ffef27e117a350f3780139ff2521297a0688a5cbeaef16d5fb7afd6efb941 [INFO] running `Command { std: "docker" "start" "-a" "000ffef27e117a350f3780139ff2521297a0688a5cbeaef16d5fb7afd6efb941", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling uuid v1.1.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling simple-hyper-client v0.1.0 [INFO] [stderr] Compiling sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/client.rs:243:5 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn terminate(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stdout] --> src/client.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | self.json_request(Method::POST, "/sys/v1/session/terminate", None::<&()>)?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 245 | self.json_request::<_, ()>(Method::POST, "/sys/v1/session/terminate", None::<&()>)?; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct $n: $t { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | $(const $f = $v;)* [INFO] [stdout] ... | [INFO] [stdout] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stdout] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stdout] ... | [INFO] [stdout] 47 | | impl Serialize for $n { [INFO] [stdout] | | ^^^^^---------^^^^-^^ [INFO] [stdout] | |__________________|____________| [INFO] [stdout] | | `AppPermissions` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/apps_generated.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags_set! { [INFO] [stdout] 14 | | pub struct AppPermissions: u64 { [INFO] [stdout] 15 | | const SIGN = 0x0000000000000001; [INFO] [stdout] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct $n: $t { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | $(const $f = $v;)* [INFO] [stdout] ... | [INFO] [stdout] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stdout] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stdout] ... | [INFO] [stdout] 61 | | impl<'de> Deserialize<'de> for $n { [INFO] [stdout] | | ^^^^^^^^^^-----------^^^^^^^^^-^^ [INFO] [stdout] | |_______________________|___________________| [INFO] [stdout] | | `AppPermissions` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/apps_generated.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags_set! { [INFO] [stdout] 14 | | pub struct AppPermissions: u64 { [INFO] [stdout] 15 | | const SIGN = 0x0000000000000001; [INFO] [stdout] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum $n { [INFO] [stdout] | __________________- [INFO] [stdout] 111 | | $($v,)* [INFO] [stdout] ... | [INFO] [stdout] 115 | | fn $n() { [INFO] [stdout] | | ------- move the `impl` block outside of this function `UserGroupRole` [INFO] [stdout] ... | [INFO] [stdout] 127 | | impl serde::Serialize for $n { [INFO] [stdout] | | ^^^^^----------------^^^^-^^ [INFO] [stdout] | |__________________|___________________| [INFO] [stdout] | | `UserGroupRole` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/common_generated.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / singleton_backcompat! { [INFO] [stdout] 126 | | /// User's role in a group. [INFO] [stdout] 127 | | #[derive(Debug, Eq, PartialEq, Copy, Clone)] [INFO] [stdout] 128 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `singleton_backcompat` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `singleton_backcompat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum $n { [INFO] [stdout] | __________________- [INFO] [stdout] 111 | | $($v,)* [INFO] [stdout] ... | [INFO] [stdout] 115 | | fn $n() { [INFO] [stdout] | | ------- move the `impl` block outside of this function `UserGroupRole` [INFO] [stdout] ... | [INFO] [stdout] 132 | | impl<'de> serde::Deserialize<'de> for $n { [INFO] [stdout] | | ^^^^^^^^^^------------------^^^^^^^^^-^^ [INFO] [stdout] | |_______________________|__________________________| [INFO] [stdout] | | `UserGroupRole` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/common_generated.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / singleton_backcompat! { [INFO] [stdout] 126 | | /// User's role in a group. [INFO] [stdout] 127 | | #[derive(Debug, Eq, PartialEq, Copy, Clone)] [INFO] [stdout] 128 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stdout] ... | [INFO] [stdout] 133 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `singleton_backcompat` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `singleton_backcompat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct $n: $t { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | $(const $f = $v;)* [INFO] [stdout] ... | [INFO] [stdout] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stdout] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stdout] ... | [INFO] [stdout] 47 | | impl Serialize for $n { [INFO] [stdout] | | ^^^^^---------^^^^-^^ [INFO] [stdout] | |__________________|____________| [INFO] [stdout] | | `KeyOperations` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/common_generated.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags_set! { [INFO] [stdout] 14 | | pub struct KeyOperations: u64 { [INFO] [stdout] 15 | | const SIGN = 0x0000000000000001; [INFO] [stdout] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct $n: $t { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | $(const $f = $v;)* [INFO] [stdout] ... | [INFO] [stdout] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stdout] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stdout] ... | [INFO] [stdout] 61 | | impl<'de> Deserialize<'de> for $n { [INFO] [stdout] | | ^^^^^^^^^^-----------^^^^^^^^^-^^ [INFO] [stdout] | |_______________________|___________________| [INFO] [stdout] | | `KeyOperations` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/common_generated.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | / bitflags_set! { [INFO] [stdout] 14 | | pub struct KeyOperations: u64 { [INFO] [stdout] 15 | | const SIGN = 0x0000000000000001; [INFO] [stdout] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stdout] ... | [INFO] [stdout] 29 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct $n: $t { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | $(const $f = $v;)* [INFO] [stdout] ... | [INFO] [stdout] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stdout] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stdout] ... | [INFO] [stdout] 47 | | impl Serialize for $n { [INFO] [stdout] | | ^^^^^---------^^^^-^^ [INFO] [stdout] | |__________________|____________| [INFO] [stdout] | | `UserAccountFlags` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/users_generated.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags_set! { [INFO] [stdout] 20 | | pub struct UserAccountFlags: u64 { [INFO] [stdout] 21 | | const ACCOUNTADMINISTRATOR = 0x0000000000000001; [INFO] [stdout] 22 | | const ACCOUNTMEMBER = 0x0000000000000002; [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/macros.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct $n: $t { [INFO] [stdout] | ________________________- [INFO] [stdout] 36 | | $(const $f = $v;)* [INFO] [stdout] ... | [INFO] [stdout] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stdout] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stdout] ... | [INFO] [stdout] 61 | | impl<'de> Deserialize<'de> for $n { [INFO] [stdout] | | ^^^^^^^^^^-----------^^^^^^^^^-^^ [INFO] [stdout] | |_______________________|___________________| [INFO] [stdout] | | `UserAccountFlags` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | [INFO] [stdout] ::: src/generated/users_generated.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / bitflags_set! { [INFO] [stdout] 20 | | pub struct UserAccountFlags: u64 { [INFO] [stdout] 21 | | const ACCOUNTADMINISTRATOR = 0x0000000000000001; [INFO] [stdout] 22 | | const ACCOUNTMEMBER = 0x0000000000000002; [INFO] [stdout] ... | [INFO] [stdout] 27 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdkms` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "000ffef27e117a350f3780139ff2521297a0688a5cbeaef16d5fb7afd6efb941", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "000ffef27e117a350f3780139ff2521297a0688a5cbeaef16d5fb7afd6efb941", kill_on_drop: false }` [INFO] [stdout] 000ffef27e117a350f3780139ff2521297a0688a5cbeaef16d5fb7afd6efb941