[INFO] fetching crate abi_stable 0.11.3... [INFO] checking abi_stable-0.11.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate abi_stable 0.11.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate abi_stable 0.11.3 [INFO] finished tweaking crates.io crate abi_stable 0.11.3 [INFO] tweaked toml for crates.io crate abi_stable 0.11.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate abi_stable 0.11.3 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 90 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding hashbrown v0.13.2 (available: v0.15.5) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.8) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `const_panic` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `core_extensions` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `repr_offset` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded trybuild v1.0.110 [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded tstr v0.2.4 [INFO] [stderr] Downloaded tstr_proc_macros v0.2.2 [INFO] [stderr] Downloaded repr_offset v0.2.2 [INFO] [stderr] Downloaded abi_stable_shared v0.11.0 [INFO] [stderr] Downloaded as_derive_utils v0.11.0 [INFO] [stderr] Downloaded typewit v1.13.0 [INFO] [stderr] Downloaded abi_stable_derive v0.11.3 [INFO] [stderr] Downloaded core_extensions v1.5.4 [INFO] [stderr] Downloaded const_panic v0.2.14 [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 749cc1d515300c4393901ffd5f984ca0ae09f563d8f39b71268a99a06fbdab46 [INFO] running `Command { std: "docker" "start" "-a" "749cc1d515300c4393901ffd5f984ca0ae09f563d8f39b71268a99a06fbdab46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "749cc1d515300c4393901ffd5f984ca0ae09f563d8f39b71268a99a06fbdab46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "749cc1d515300c4393901ffd5f984ca0ae09f563d8f39b71268a99a06fbdab46", kill_on_drop: false }` [INFO] [stdout] 749cc1d515300c4393901ffd5f984ca0ae09f563d8f39b71268a99a06fbdab46 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc39aab83b5de5273310d4b7c8dccc6d5f8448b20bdc519c400ef7a66fe3db5b [INFO] running `Command { std: "docker" "start" "-a" "bc39aab83b5de5273310d4b7c8dccc6d5f8448b20bdc519c400ef7a66fe3db5b", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `const_panic` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `core_extensions` dependency) [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `repr_offset` dependency) [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.4 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking toml_writer v1.0.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking typewit v1.13.0 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking const_panic v0.2.14 [INFO] [stderr] Checking glob v0.3.3 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tstr v0.2.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking repr_offset v0.2.2 [INFO] [stderr] Compiling core_extensions v1.5.4 [INFO] [stderr] Checking abi_stable_shared v0.11.0 [INFO] [stderr] Checking toml_parser v1.0.2 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling as_derive_utils v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling abi_stable_derive v0.11.3 [INFO] [stderr] Checking serde_spanned v1.0.0 [INFO] [stderr] Checking toml_datetime v0.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml v0.9.5 [INFO] [stderr] Checking abi_stable v0.11.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking trybuild v1.0.110 [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/external_types/parking_lot.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(target_pointer_width = "128", repr(C, align(16)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/library/raw_library.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | cfg!(any(x86_64, powerpc64, aarch64)) || ::std::mem::size_of::() == 8; [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `powerpc64` [INFO] [stdout] --> src/library/raw_library.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | cfg!(any(x86_64, powerpc64, aarch64)) || ::std::mem::size_of::() == 8; [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `target_arch = "powerpc64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(powerpc64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(powerpc64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `aarch64` [INFO] [stdout] --> src/library/raw_library.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | cfg!(any(x86_64, powerpc64, aarch64)) || ::std::mem::size_of::() == 8; [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "aarch64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/inline_storage.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg_attr(target_pointer_width = "128", repr(C, align(16)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: tests must be run with the "testing" feature [INFO] [stdout] --> src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | compile_error! { "tests must be run with the \"testing\" feature" } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::nonexhaustive_enum::examples` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | examples::{ [INFO] [stdout] | ^^^^^^^^ could not find `examples` in `nonexhaustive_enum` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/nonexhaustive_enum.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(any(feature = "testing", feature = "nonexhaustive_examples"))] [INFO] [stdout] | --------------------------------------------------------- the item is gated here [INFO] [stdout] 13 | pub mod examples; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/erased_types/dyn_trait/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | test_utils::{GetImpls, GetImplsHelper}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/external_types/parking_lot/mutex.rs:358:16 [INFO] [stdout] | [INFO] [stdout] 358 | use crate::test_utils::check_formatting_equivalence; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/external_types/parking_lot/rw_lock.rs:536:16 [INFO] [stdout] | [INFO] [stdout] 536 | use crate::test_utils::check_formatting_equivalence; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/multikey_map.rs:396:16 [INFO] [stdout] | [INFO] [stdout] 396 | use crate::test_utils::must_panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/nonexhaustive_enum/nonexhaustive/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | test_utils::{check_formatting_equivalence, must_panic}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/type_layout/printing/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | test_utils::AlwaysDisplay, type_layout::TypeLayout, StableAbi, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/boxed/test.rs:5:34 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{sabi_types::MovePtr, test_utils::must_panic}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/std_error/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | test_utils::{check_formatting_equivalence, deref_address, Stringy}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/std_io.rs:469:16 [INFO] [stdout] | [INFO] [stdout] 469 | use crate::test_utils::{check_formatting_equivalence, deref_address, Stringy}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/string/tests.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::test_utils::must_panic; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/std_types/vec/tests.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | test_utils::{must_panic, ShouldHavePanickedAt}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::test_utils` [INFO] [stdout] --> src/sabi_trait/test_supertraits.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | test_utils::{GetImpls, GetImplsHelper}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `abi_stable_shared::test_utils` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [INFO] [stdout] | ------------------- the item is gated behind the `testing` feature [INFO] [stdout] 249 | #[macro_use] [INFO] [stdout] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/external_types/parking_lot.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg_attr(target_pointer_width = "128", repr(C, align(16)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `x86_64` [INFO] [stdout] --> src/library/raw_library.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | cfg!(any(x86_64, powerpc64, aarch64)) || ::std::mem::size_of::() == 8; [INFO] [stdout] | ^^^^^^ help: found config with similar value: `target_arch = "x86_64"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(x86_64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(x86_64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `powerpc64` [INFO] [stdout] --> src/library/raw_library.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | cfg!(any(x86_64, powerpc64, aarch64)) || ::std::mem::size_of::() == 8; [INFO] [stdout] | ^^^^^^^^^ help: found config with similar value: `target_arch = "powerpc64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(powerpc64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(powerpc64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `aarch64` [INFO] [stdout] --> src/library/raw_library.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | cfg!(any(x86_64, powerpc64, aarch64)) || ::std::mem::size_of::() == 8; [INFO] [stdout] | ^^^^^^^ help: found config with similar value: `target_arch = "aarch64"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(aarch64)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(aarch64)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `128` [INFO] [stdout] --> src/inline_storage.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 153 | #[cfg_attr(target_pointer_width = "128", repr(C, align(16)))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_pointer_width` are: `16`, `32`, and `64` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/external_types/parking_lot/once.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let mut this = unsafe { this.transmute_into_mut::() }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `debug_pad` is never used [INFO] [stdout] --> src/utils.rs:261:8 [INFO] [stdout] | [INFO] [stdout] 252 | pub(crate) trait FmtPadding { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 261 | fn debug_pad<'a, T>(&'a mut self, padding: usize, v: &T) -> Result, fmt::Error> [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/const_utils.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | struct GetEmptySlice<'a, T>(&'a T); [INFO] [stdout] | ------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/abi_stability/get_static_equivalent.rs:30:31 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Unsized(fn(&T)); [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/external_types/crossbeam_channel.rs:810:26 [INFO] [stdout] | [INFO] [stdout] 810 | struct MakeVTable<'a, T>(&'a T); [INFO] [stdout] | ---------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/marker_type/stable_abi_impls.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct _static_(extern "C" fn()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/marker_type.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | monomorphic_marker_type! {UnsyncUnsend, UnsafeIgnoredType>} [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `monomorphic_marker_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/marker_type/stable_abi_impls.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct _static_(extern "C" fn()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/marker_type.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | monomorphic_marker_type! {UnsyncSend, UnsafeIgnoredType>} [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `monomorphic_marker_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/marker_type/stable_abi_impls.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct _static_(extern "C" fn()); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] ::: src/marker_type.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | monomorphic_marker_type! {SyncUnsend, UnsyncUnsend} [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: this warning originates in the macro `monomorphic_marker_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/std_types/arc.rs:408:43 [INFO] [stdout] | [INFO] [stdout] 408 | pub(super) struct VTableGetter<'a, T>(&'a T); [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/std_types/boxed.rs:622:28 [INFO] [stdout] | [INFO] [stdout] 622 | struct VTableGetter<'a, T>(&'a T); [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/std_types/vec.rs:1459:28 [INFO] [stdout] | [INFO] [stdout] 1459 | struct VTableGetter<'a, T>(&'a T); [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [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/for_examples.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(StableAbi, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ValidTag_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_ValidTag` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/abi_stability/extra_checks.rs:608:1 [INFO] [stdout] | [INFO] [stdout] 608 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `TypeChecker_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (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/abi_stability/extra_checks.rs:654:1 [INFO] [stdout] | [INFO] [stdout] 654 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ExtraChecks_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (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/erased_types/interfaces.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_CloneInterface` and up 2 bodies [INFO] [stdout] 7 | #[sabi(impl_InterfaceType(Send, Sync, Clone))] [INFO] [stdout] 8 | pub struct CloneInterface; [INFO] [stdout] | -------------- `CloneInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_CloneEqInterface` and up 2 bodies [INFO] [stdout] 15 | #[sabi(impl_InterfaceType(Send, Sync, Debug, Clone, Eq))] [INFO] [stdout] 16 | pub struct CloneEqInterface; [INFO] [stdout] | ---------------- `CloneEqInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_DEIteratorCloneInterface` and up 2 bodies [INFO] [stdout] 23 | #[sabi(impl_InterfaceType(Send, Sync, Debug, Clone, DoubleEndedIterator))] [INFO] [stdout] 24 | pub struct DEIteratorCloneInterface(PhantomData); [INFO] [stdout] | ------------------------ `DEIteratorCloneInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_DefaultInterface` and up 2 bodies [INFO] [stdout] 40 | #[sabi(impl_InterfaceType(Send, Sync, Default))] [INFO] [stdout] 41 | pub struct DefaultInterface; [INFO] [stdout] | ---------------- `DefaultInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_UnpinInterface` and up 2 bodies [INFO] [stdout] 48 | #[sabi(impl_InterfaceType(Unpin))] [INFO] [stdout] 49 | pub struct UnpinInterface; [INFO] [stdout] | -------------- `UnpinInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_DebugDefEqInterface` and up 2 bodies [INFO] [stdout] 56 | #[sabi(impl_InterfaceType(Send, Sync, Debug, Eq, Default))] [INFO] [stdout] 57 | pub struct DebugDefEqInterface; [INFO] [stdout] | ------------------- `DebugDefEqInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_PartialEqInterface` and up 2 bodies [INFO] [stdout] 64 | #[sabi(impl_InterfaceType(Send, Sync, Debug, PartialEq))] [INFO] [stdout] 65 | pub struct PartialEqInterface; [INFO] [stdout] | ------------------ `PartialEqInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_FmtWriteInterface` and up 2 bodies [INFO] [stdout] 72 | #[sabi(impl_InterfaceType(Send, Sync, Debug, FmtWrite))] [INFO] [stdout] 73 | pub struct FmtWriteInterface; [INFO] [stdout] | ----------------- `FmtWriteInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_IoWriteInterface` and up 2 bodies [INFO] [stdout] 80 | #[sabi(impl_InterfaceType(IoWrite))] [INFO] [stdout] 81 | pub struct IoWriteInterface; [INFO] [stdout] | ---------------- `IoWriteInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_DebugDisplayInterface` and up 2 bodies [INFO] [stdout] 88 | #[sabi(impl_InterfaceType(Send, Sync, Debug, Display))] [INFO] [stdout] 89 | pub struct DebugDisplayInterface; [INFO] [stdout] | --------------------- `DebugDisplayInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_IteratorInterface` and up 2 bodies [INFO] [stdout] 96 | #[sabi(impl_InterfaceType(Send, Sync, Iterator))] [INFO] [stdout] 97 | pub struct IteratorInterface(PhantomData); [INFO] [stdout] | ----------------- `IteratorInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/interfaces.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_DEIteratorInterface` and up 2 bodies [INFO] [stdout] 113 | #[sabi(impl_InterfaceType(Send, Sync, DoubleEndedIterator))] [INFO] [stdout] 114 | pub struct DEIteratorInterface(PhantomData); [INFO] [stdout] | ------------------- `DEIteratorInterface` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/erased_types/traits.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 431 | / crate::impl_InterfaceType! { [INFO] [stdout] 432 | | impl crate::erased_types::InterfaceType for () { [INFO] [stdout] | | ^^^^^----------------------------------^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | `InterfaceType` is not local [INFO] [stdout] 433 | | type Send= True; [INFO] [stdout] 434 | | type Sync= True; [INFO] [stdout] 435 | | } [INFO] [stdout] 436 | | } [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |_move the `impl` block outside of this constant `_impl_InterfaceType` [INFO] [stdout] | help: use a const-anon item to suppress this lint: `_` [INFO] [stdout] | [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [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/nonexhaustive_enum/doc_enums.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(StableAbi, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Foo_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_Foo` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/nonexhaustive_enum/doc_enums.rs:36:14 [INFO] [stdout] | [INFO] [stdout] 36 | #[derive(StableAbi, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Foo_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_Foo` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/nonexhaustive_enum/doc_enums.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(StableAbi, Debug, Clone, PartialEq, Eq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Foo_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_Foo` and up 2 bodies [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` (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/std_types/map/iterator_stuff.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_RefIterInterface` and up 2 bodies [INFO] [stdout] 17 | $(#[$attr])* [INFO] [stdout] 18 | pub struct $interface<$k, $v>(PhantomData<($k, $v)>); [INFO] [stdout] | ---------- `RefIterInterface` is not local [INFO] [stdout] ... [INFO] [stdout] 32 | / declare_iter_interface! { [INFO] [stdout] 33 | | K => V; [INFO] [stdout] 34 | | /// The `InterfaceType` of the `Iter` iterator for `RHashMap`. [INFO] [stdout] 35 | | #[sabi(impl_InterfaceType(Iterator, Clone))] [INFO] [stdout] 36 | | interface = RefIterInterface; [INFO] [stdout] 37 | | type Item = Tuple2<&'a K, &'a V>; [INFO] [stdout] 38 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` which comes from the expansion of the macro `declare_iter_interface` (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/std_types/map/iterator_stuff.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_MutIterInterface` and up 2 bodies [INFO] [stdout] 17 | $(#[$attr])* [INFO] [stdout] 18 | pub struct $interface<$k, $v>(PhantomData<($k, $v)>); [INFO] [stdout] | ---------- `MutIterInterface` is not local [INFO] [stdout] ... [INFO] [stdout] 40 | / declare_iter_interface! { [INFO] [stdout] 41 | | K => V; [INFO] [stdout] 42 | | /// The `InterfaceType` of the `IterMut` iterator for `RHashMap`. [INFO] [stdout] 43 | | #[sabi(impl_InterfaceType(Iterator))] [INFO] [stdout] 44 | | interface = MutIterInterface; [INFO] [stdout] 45 | | type Item = Tuple2<&'a K, &'a mut V>; [INFO] [stdout] 46 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` which comes from the expansion of the macro `declare_iter_interface` (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/std_types/map/iterator_stuff.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(StableAbi)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_impl_InterfaceType_constant_ValIterInterface` and up 2 bodies [INFO] [stdout] 17 | $(#[$attr])* [INFO] [stdout] 18 | pub struct $interface<$k, $v>(PhantomData<($k, $v)>); [INFO] [stdout] | ---------- `ValIterInterface` is not local [INFO] [stdout] ... [INFO] [stdout] 48 | / declare_iter_interface! { [INFO] [stdout] 49 | | K => V; [INFO] [stdout] 50 | | /// The `InterfaceType` of the `Drain` iterator for `RHashMap`. [INFO] [stdout] 51 | | #[sabi(impl_InterfaceType(Iterator))] [INFO] [stdout] ... | [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `StableAbi` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `StableAbi` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `StableAbi` which comes from the expansion of the macro `declare_iter_interface` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/std_types/vec.rs:810:30 [INFO] [stdout] | [INFO] [stdout] 810 | let count = unsafe { (*other).len() }; [INFO] [stdout] | ^^-----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [T]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[T]` [INFO] [stdout] --> src/std_types/vec.rs:810:30 [INFO] [stdout] | [INFO] [stdout] 810 | let count = unsafe { (*other).len() }; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 810 | let count = unsafe { (&(*other)).len() }; [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/sabi_trait/doc_examples.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `ConstExample_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (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/sabi_trait/doc_examples.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Doer_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (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/sabi_trait/doc_examples.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | #[sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `DocHiddenTrait_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `sabi_trait` (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/sabi_trait/doc_examples.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 59 | #[abi_stable::sabi_trait] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Action_Interface` is not local [INFO] [stdout] | `InterfaceType` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__inside_generated_mod` [INFO] [stdout] | [INFO] [stdout] = note: the attribute macro `abi_stable::sabi_trait` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the attribute macro `abi_stable::sabi_trait` may come from an old version of the `abi_stable_derive` crate, try updating your dependency with `cargo update -p abi_stable_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the attribute macro `abi_stable::sabi_trait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `abi_stable` (lib) due to 1 previous error; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/external_types/parking_lot/once.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | let mut this = unsafe { this.transmute_into_mut::() }; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `abi_stable` (lib test) due to 14 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bc39aab83b5de5273310d4b7c8dccc6d5f8448b20bdc519c400ef7a66fe3db5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc39aab83b5de5273310d4b7c8dccc6d5f8448b20bdc519c400ef7a66fe3db5b", kill_on_drop: false }` [INFO] [stdout] bc39aab83b5de5273310d4b7c8dccc6d5f8448b20bdc519c400ef7a66fe3db5b