[INFO] fetching crate sdkms 0.5.0... [INFO] testing sdkms-0.5.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate sdkms 0.5.0 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sdkms 0.5.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded simple-hyper-client v0.1.0 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded uuid v1.1.1 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded tokio-util v0.7.2 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded http v0.2.7 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c0868dadaeeb8c65949d44f8fc9300fc3efb92bf4fdfe1f6b729e2b2e3c4ffb [INFO] running `Command { std: "docker" "start" "-a" "0c0868dadaeeb8c65949d44f8fc9300fc3efb92bf4fdfe1f6b729e2b2e3c4ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c0868dadaeeb8c65949d44f8fc9300fc3efb92bf4fdfe1f6b729e2b2e3c4ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c0868dadaeeb8c65949d44f8fc9300fc3efb92bf4fdfe1f6b729e2b2e3c4ffb", kill_on_drop: false }` [INFO] [stdout] 0c0868dadaeeb8c65949d44f8fc9300fc3efb92bf4fdfe1f6b729e2b2e3c4ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee606cdac504e97d6fb16e480175696dd569ed10bd90f94b024f814e2393ad49 [INFO] running `Command { std: "docker" "start" "-a" "ee606cdac504e97d6fb16e480175696dd569ed10bd90f94b024f814e2393ad49", 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 itoa v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [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 serde_derive v1.0.137 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling url v1.7.2 [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-stream v0.1.8 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [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" "ee606cdac504e97d6fb16e480175696dd569ed10bd90f94b024f814e2393ad49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee606cdac504e97d6fb16e480175696dd569ed10bd90f94b024f814e2393ad49", kill_on_drop: false }` [INFO] [stdout] ee606cdac504e97d6fb16e480175696dd569ed10bd90f94b024f814e2393ad49