[INFO] fetching crate sdkms 0.5.0... [INFO] testing sdkms-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate sdkms 0.5.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate sdkms 0.5.0 [INFO] finished tweaking crates.io crate sdkms 0.5.0 [INFO] tweaked toml for crates.io crate sdkms 0.5.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate sdkms 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.18 [INFO] [stderr] Downloaded percent-encoding v1.0.1 [INFO] [stderr] Downloaded tinyvec_macros v0.1.0 [INFO] [stderr] Downloaded matches v0.1.9 [INFO] [stderr] Downloaded openssl-probe v0.1.5 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded itoa v1.0.2 [INFO] [stderr] Downloaded headers-core v0.2.0 [INFO] [stderr] Downloaded openssl-sys v0.9.74 [INFO] [stderr] Downloaded termcolor v1.1.3 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded base64 v0.13.0 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded aho-corasick v0.7.18 [INFO] [stderr] Downloaded ryu v1.0.10 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded futures-util v0.3.21 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded regex-syntax v0.6.26 [INFO] [stderr] Downloaded regex v1.5.6 [INFO] [stderr] Downloaded idna v0.1.5 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded http v0.2.7 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded memchr v2.5.0 [INFO] [stderr] Downloaded mio v0.8.3 [INFO] [stderr] Downloaded tokio-util v0.7.2 [INFO] [stderr] Downloaded schannel v0.1.20 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded futures-channel v0.3.21 [INFO] [stderr] Downloaded openssl v0.10.40 [INFO] [stderr] Downloaded tracing-attributes v0.1.21 [INFO] [stderr] Downloaded tokio v1.18.2 [INFO] [stderr] Downloaded tracing-core v0.1.26 [INFO] [stderr] Downloaded cc v1.0.73 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.36.1 [INFO] [stderr] Downloaded pkg-config v0.3.25 [INFO] [stderr] Downloaded socket2 v0.4.4 [INFO] [stderr] Downloaded unicode-bidi v0.3.8 [INFO] [stderr] Downloaded generic-array v0.14.5 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.36.1 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded windows_i686_msvc v0.36.1 [INFO] [stderr] Downloaded httparse v1.7.1 [INFO] [stderr] Downloaded httpdate v1.0.2 [INFO] [stderr] Downloaded simple-hyper-client v0.1.0 [INFO] [stderr] Downloaded time-macros v0.2.4 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded core-foundation v0.9.3 [INFO] [stderr] Downloaded core-foundation-sys v0.8.3 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded remove_dir_all v0.5.3 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.36.1 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded unicode-normalization v0.1.19 [INFO] [stderr] Downloaded mime v0.3.16 [INFO] [stderr] Downloaded cpufeatures v0.2.2 [INFO] [stderr] Downloaded typenum v1.15.0 [INFO] [stderr] Downloaded sha-1 v0.10.0 [INFO] [stderr] Downloaded futures-task v0.3.21 [INFO] [stderr] Downloaded windows_i686_gnu v0.36.1 [INFO] [stderr] Downloaded tracing v0.1.34 [INFO] [stderr] Downloaded want v0.3.0 [INFO] [stderr] Downloaded openssl-macros v0.1.0 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded pin-project-lite v0.2.9 [INFO] [stderr] Downloaded tokio-native-tls v0.3.0 [INFO] [stderr] Downloaded url v1.7.2 [INFO] [stderr] Downloaded uuid v1.1.1 [INFO] [stderr] Downloaded futures-sink v0.3.21 [INFO] [stderr] Downloaded tower-service v0.3.1 [INFO] [stderr] Downloaded try-lock v0.2.3 [INFO] [stderr] Downloaded futures-core v0.3.21 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] [stderr] Downloaded num_threads v0.1.6 [INFO] [stderr] Downloaded tempfile v3.3.0 [INFO] [stderr] Downloaded bytes v1.1.0 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded getrandom v0.2.6 [INFO] [stderr] Downloaded windows-sys v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ff5517c3597f7ef56897d10637a5c255d5fa77cfe2f3880ae550a18d95a6a24 [INFO] running `Command { std: "docker" "start" "-a" "7ff5517c3597f7ef56897d10637a5c255d5fa77cfe2f3880ae550a18d95a6a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ff5517c3597f7ef56897d10637a5c255d5fa77cfe2f3880ae550a18d95a6a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ff5517c3597f7ef56897d10637a5c255d5fa77cfe2f3880ae550a18d95a6a24", kill_on_drop: false }` [INFO] [stdout] 7ff5517c3597f7ef56897d10637a5c255d5fa77cfe2f3880ae550a18d95a6a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b6ed5c1290f8b322320386c12a5a32fc265fae26f29ff8f934fc54a6b1a79ba [INFO] running `Command { std: "docker" "start" "-a" "6b6ed5c1290f8b322320386c12a5a32fc265fae26f29ff8f934fc54a6b1a79ba", 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 bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [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 quote v1.0.18 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling want v0.3.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 tower-service v0.3.1 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling futures-executor v0.3.21 [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 uuid v1.1.1 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling simple-hyper-client v0.1.0 [INFO] [stderr] Compiling sdkms v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] 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 1m 04s [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" "6b6ed5c1290f8b322320386c12a5a32fc265fae26f29ff8f934fc54a6b1a79ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b6ed5c1290f8b322320386c12a5a32fc265fae26f29ff8f934fc54a6b1a79ba", kill_on_drop: false }` [INFO] [stdout] 6b6ed5c1290f8b322320386c12a5a32fc265fae26f29ff8f934fc54a6b1a79ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4705e6c7800b7480d06b40f51471bc9d6eb5917528802e69edd5c97381c40a14 [INFO] running `Command { std: "docker" "start" "-a" "4705e6c7800b7480d06b40f51471bc9d6eb5917528802e69edd5c97381c40a14", 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_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [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 17.86s [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" "4705e6c7800b7480d06b40f51471bc9d6eb5917528802e69edd5c97381c40a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4705e6c7800b7480d06b40f51471bc9d6eb5917528802e69edd5c97381c40a14", kill_on_drop: false }` [INFO] [stdout] 4705e6c7800b7480d06b40f51471bc9d6eb5917528802e69edd5c97381c40a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c073e707144e36e6effa22f174da67dcde5aaa3cc4b93be2cbbf3a8b4f5cb914 [INFO] running `Command { std: "docker" "start" "-a" "c073e707144e36e6effa22f174da67dcde5aaa3cc4b93be2cbbf3a8b4f5cb914", 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.24s [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 api_model::tests::app_groups_legacy ... ok [INFO] [stdout] test api_model::tests::time ... ok [INFO] [stdout] test client::tests::client_is_send_and_sync ... 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.00s [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.13s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c073e707144e36e6effa22f174da67dcde5aaa3cc4b93be2cbbf3a8b4f5cb914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c073e707144e36e6effa22f174da67dcde5aaa3cc4b93be2cbbf3a8b4f5cb914", kill_on_drop: false }` [INFO] [stdout] c073e707144e36e6effa22f174da67dcde5aaa3cc4b93be2cbbf3a8b4f5cb914