[INFO] fetching crate sdkms 0.5.0... [INFO] testing sdkms-0.5.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate sdkms 0.5.0 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate sdkms 0.5.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83f76ad81a0db2e7b0e8bd0f562a3d6f1f9edad42434a9e7a75fd450b99526e5 [INFO] running `Command { std: "docker" "start" "-a" "83f76ad81a0db2e7b0e8bd0f562a3d6f1f9edad42434a9e7a75fd450b99526e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83f76ad81a0db2e7b0e8bd0f562a3d6f1f9edad42434a9e7a75fd450b99526e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83f76ad81a0db2e7b0e8bd0f562a3d6f1f9edad42434a9e7a75fd450b99526e5", kill_on_drop: false }` [INFO] [stdout] 83f76ad81a0db2e7b0e8bd0f562a3d6f1f9edad42434a9e7a75fd450b99526e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0403727da6bfddfe63aeb0da15b149c033536cfa04906b1e6b5dd7a04c9d826e [INFO] running `Command { std: "docker" "start" "-a" "0403727da6bfddfe63aeb0da15b149c033536cfa04906b1e6b5dd7a04c9d826e", 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 bytes v1.1.0 [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 cc v1.0.73 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [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 openssl-sys v0.9.74 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling time v0.3.9 [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-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling uuid v1.1.1 [INFO] [stderr] Compiling simple-hyper-client v0.1.0 [INFO] [stderr] Compiling sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: `#[warn(dependency_on_unit_never_type_fallback)]` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "0403727da6bfddfe63aeb0da15b149c033536cfa04906b1e6b5dd7a04c9d826e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0403727da6bfddfe63aeb0da15b149c033536cfa04906b1e6b5dd7a04c9d826e", kill_on_drop: false }` [INFO] [stdout] 0403727da6bfddfe63aeb0da15b149c033536cfa04906b1e6b5dd7a04c9d826e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 069f3b269d5bb98e8f0702ec862d0f6a250428d04210491590ed73b8ac1d523e [INFO] running `Command { std: "docker" "start" "-a" "069f3b269d5bb98e8f0702ec862d0f6a250428d04210491590ed73b8ac1d523e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stdout] warning: 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: `#[warn(dependency_on_unit_never_type_fallback)]` 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] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: 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: `#[warn(dependency_on_unit_never_type_fallback)]` 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "069f3b269d5bb98e8f0702ec862d0f6a250428d04210491590ed73b8ac1d523e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "069f3b269d5bb98e8f0702ec862d0f6a250428d04210491590ed73b8ac1d523e", kill_on_drop: false }` [INFO] [stdout] 069f3b269d5bb98e8f0702ec862d0f6a250428d04210491590ed73b8ac1d523e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1024ca2c5bd94d5563058d1b146ba4b11b1675300a5fae4fa6d290daeb2a8946 [INFO] running `Command { std: "docker" "start" "-a" "1024ca2c5bd94d5563058d1b146ba4b11b1675300a5fae4fa6d290daeb2a8946", kill_on_drop: false }` [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/client.rs:243:5 [INFO] [stderr] | [INFO] [stderr] 243 | pub fn terminate(&mut self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: for more information, see [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `for<'de> !: Deserialize<'de>` will fail [INFO] [stderr] --> src/client.rs:245:18 [INFO] [stderr] | [INFO] [stderr] 245 | self.json_request(Method::POST, "/sys/v1/session/terminate", None::<&()>)?; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 245 | self.json_request::<_, ()>(Method::POST, "/sys/v1/session/terminate", None::<&()>)?; [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct $n: $t { [INFO] [stderr] | ________________________- [INFO] [stderr] 36 | | $(const $f = $v;)* [INFO] [stderr] ... | [INFO] [stderr] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stderr] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stderr] ... | [INFO] [stderr] 47 | | impl Serialize for $n { [INFO] [stderr] | | ^^^^^---------^^^^-^^ [INFO] [stderr] | |__________________|____________| [INFO] [stderr] | | `AppPermissions` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/apps_generated.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags_set! { [INFO] [stderr] 14 | | pub struct AppPermissions: u64 { [INFO] [stderr] 15 | | const SIGN = 0x0000000000000001; [INFO] [stderr] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct $n: $t { [INFO] [stderr] | ________________________- [INFO] [stderr] 36 | | $(const $f = $v;)* [INFO] [stderr] ... | [INFO] [stderr] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stderr] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stderr] ... | [INFO] [stderr] 61 | | impl<'de> Deserialize<'de> for $n { [INFO] [stderr] | | ^^^^^^^^^^-----------^^^^^^^^^-^^ [INFO] [stderr] | |_______________________|___________________| [INFO] [stderr] | | `AppPermissions` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/apps_generated.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags_set! { [INFO] [stderr] 14 | | pub struct AppPermissions: u64 { [INFO] [stderr] 15 | | const SIGN = 0x0000000000000001; [INFO] [stderr] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:127:13 [INFO] [stderr] | [INFO] [stderr] 110 | pub enum $n { [INFO] [stderr] | ___________________- [INFO] [stderr] 111 | | $($v,)* [INFO] [stderr] ... | [INFO] [stderr] 115 | | fn $n() { [INFO] [stderr] | | ------- move the `impl` block outside of this function `UserGroupRole` [INFO] [stderr] ... | [INFO] [stderr] 127 | | impl serde::Serialize for $n { [INFO] [stderr] | | ^^^^^----------------^^^^-^^ [INFO] [stderr] | |___________________|___________________| [INFO] [stderr] | | `UserGroupRole` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/common_generated.rs:125:1 [INFO] [stderr] | [INFO] [stderr] 125 | / singleton_backcompat! { [INFO] [stderr] 126 | | /// User's role in a group. [INFO] [stderr] 127 | | #[derive(Debug, Eq, PartialEq, Copy, Clone)] [INFO] [stderr] 128 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stderr] ... | [INFO] [stderr] 133 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `singleton_backcompat` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `singleton_backcompat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 110 | pub enum $n { [INFO] [stderr] | ___________________- [INFO] [stderr] 111 | | $($v,)* [INFO] [stderr] ... | [INFO] [stderr] 115 | | fn $n() { [INFO] [stderr] | | ------- move the `impl` block outside of this function `UserGroupRole` [INFO] [stderr] ... | [INFO] [stderr] 132 | | impl<'de> serde::Deserialize<'de> for $n { [INFO] [stderr] | | ^^^^^^^^^^------------------^^^^^^^^^-^^ [INFO] [stderr] | |________________________|__________________________| [INFO] [stderr] | | `UserGroupRole` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/common_generated.rs:125:1 [INFO] [stderr] | [INFO] [stderr] 125 | / singleton_backcompat! { [INFO] [stderr] 126 | | /// User's role in a group. [INFO] [stderr] 127 | | #[derive(Debug, Eq, PartialEq, Copy, Clone)] [INFO] [stderr] 128 | | #[serde(rename_all = "UPPERCASE")] [INFO] [stderr] ... | [INFO] [stderr] 133 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `singleton_backcompat` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `singleton_backcompat` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct $n: $t { [INFO] [stderr] | ________________________- [INFO] [stderr] 36 | | $(const $f = $v;)* [INFO] [stderr] ... | [INFO] [stderr] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stderr] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stderr] ... | [INFO] [stderr] 47 | | impl Serialize for $n { [INFO] [stderr] | | ^^^^^---------^^^^-^^ [INFO] [stderr] | |__________________|____________| [INFO] [stderr] | | `KeyOperations` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/common_generated.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags_set! { [INFO] [stderr] 14 | | pub struct KeyOperations: u64 { [INFO] [stderr] 15 | | const SIGN = 0x0000000000000001; [INFO] [stderr] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct $n: $t { [INFO] [stderr] | ________________________- [INFO] [stderr] 36 | | $(const $f = $v;)* [INFO] [stderr] ... | [INFO] [stderr] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stderr] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stderr] ... | [INFO] [stderr] 61 | | impl<'de> Deserialize<'de> for $n { [INFO] [stderr] | | ^^^^^^^^^^-----------^^^^^^^^^-^^ [INFO] [stderr] | |_______________________|___________________| [INFO] [stderr] | | `KeyOperations` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/common_generated.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | / bitflags_set! { [INFO] [stderr] 14 | | pub struct KeyOperations: u64 { [INFO] [stderr] 15 | | const SIGN = 0x0000000000000001; [INFO] [stderr] 16 | | const VERIFY = 0x0000000000000002; [INFO] [stderr] ... | [INFO] [stderr] 29 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:47:13 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct $n: $t { [INFO] [stderr] | ________________________- [INFO] [stderr] 36 | | $(const $f = $v;)* [INFO] [stderr] ... | [INFO] [stderr] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stderr] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stderr] ... | [INFO] [stderr] 47 | | impl Serialize for $n { [INFO] [stderr] | | ^^^^^---------^^^^-^^ [INFO] [stderr] | |__________________|____________| [INFO] [stderr] | | `UserAccountFlags` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/users_generated.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / bitflags_set! { [INFO] [stderr] 20 | | pub struct UserAccountFlags: u64 { [INFO] [stderr] 21 | | const ACCOUNTADMINISTRATOR = 0x0000000000000001; [INFO] [stderr] 22 | | const ACCOUNTMEMBER = 0x0000000000000002; [INFO] [stderr] ... | [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/macros.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 35 | pub struct $n: $t { [INFO] [stderr] | ________________________- [INFO] [stderr] 36 | | $(const $f = $v;)* [INFO] [stderr] ... | [INFO] [stderr] 41 | | impl $n { fn _bitflags_set_unused() { [INFO] [stderr] | | ------------------------- move the `impl` block outside of this associated function `_bitflags_set_unused` [INFO] [stderr] ... | [INFO] [stderr] 61 | | impl<'de> Deserialize<'de> for $n { [INFO] [stderr] | | ^^^^^^^^^^-----------^^^^^^^^^-^^ [INFO] [stderr] | |_______________________|___________________| [INFO] [stderr] | | `UserAccountFlags` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | [INFO] [stderr] ::: src/generated/users_generated.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / bitflags_set! { [INFO] [stderr] 20 | | pub struct UserAccountFlags: u64 { [INFO] [stderr] 21 | | const ACCOUNTADMINISTRATOR = 0x0000000000000001; [INFO] [stderr] 22 | | const ACCOUNTMEMBER = 0x0000000000000002; [INFO] [stderr] ... | [INFO] [stderr] 27 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `bitflags_set` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = note: this warning originates in the macro `bitflags_set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `sdkms` (lib) generated 9 warnings (run `cargo fix --lib -p sdkms` to apply 1 suggestion) [INFO] [stderr] warning: `sdkms` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sdkms-d81179ee982b8f5a) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test client::tests::client_is_send_and_sync ... ok [INFO] [stdout] test api_model::tests::app_groups_legacy ... ok [INFO] [stdout] test api_model::tests::time ... ok [INFO] [stdout] test api_model::tests::app_groups_modern ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests sdkms [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/macros.rs - macros::bitflags_set (line 15) ... ignored [INFO] [stdout] test src/lib.rs - (line 16) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1024ca2c5bd94d5563058d1b146ba4b11b1675300a5fae4fa6d290daeb2a8946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1024ca2c5bd94d5563058d1b146ba4b11b1675300a5fae4fa6d290daeb2a8946", kill_on_drop: false }` [INFO] [stdout] 1024ca2c5bd94d5563058d1b146ba4b11b1675300a5fae4fa6d290daeb2a8946