[INFO] fetching crate sdkms 0.5.0... [INFO] checking sdkms-0.5.0 against try#e90f1ff63e694965281f833819a486da29772bdf for pr-146167 [INFO] extracting crate sdkms 0.5.0 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sdkms 0.5.0 on toolchain e90f1ff63e694965281f833819a486da29772bdf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "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" "+e90f1ff63e694965281f833819a486da29772bdf" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dedeb8575b6ba6e7b22507eb066d53fdf3180ddbb44b16b79451c976a63b2846 [INFO] running `Command { std: "docker" "start" "-a" "dedeb8575b6ba6e7b22507eb066d53fdf3180ddbb44b16b79451c976a63b2846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dedeb8575b6ba6e7b22507eb066d53fdf3180ddbb44b16b79451c976a63b2846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dedeb8575b6ba6e7b22507eb066d53fdf3180ddbb44b16b79451c976a63b2846", kill_on_drop: false }` [INFO] [stdout] dedeb8575b6ba6e7b22507eb066d53fdf3180ddbb44b16b79451c976a63b2846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+e90f1ff63e694965281f833819a486da29772bdf" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ba4a5072ef88d277738cf5c883ce262db80a439647932a0159bf1019880629f [INFO] running `Command { std: "docker" "start" "-a" "3ba4a5072ef88d277738cf5c883ce262db80a439647932a0159bf1019880629f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [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 futures-core v0.3.21 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex-syntax v0.6.26 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking mio v0.8.3 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking headers v0.3.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.5.6 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking env_logger v0.6.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 serde_derive v1.0.137 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking serde v1.0.137 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking uuid v1.1.1 [INFO] [stderr] Checking simple-hyper-client v0.1.0 [INFO] [stderr] Checking 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] 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 test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "3ba4a5072ef88d277738cf5c883ce262db80a439647932a0159bf1019880629f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba4a5072ef88d277738cf5c883ce262db80a439647932a0159bf1019880629f", kill_on_drop: false }` [INFO] [stdout] 3ba4a5072ef88d277738cf5c883ce262db80a439647932a0159bf1019880629f