[INFO] fetching crate abi_stable 0.11.3... [INFO] checking abi_stable-0.11.3 against master#191df20fcad9331d3a948aa8e8556775ec3fe69d for pr-133502-3 [INFO] extracting crate abi_stable 0.11.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate abi_stable 0.11.3 on toolchain 191df20fcad9331d3a948aa8e8556775ec3fe69d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 80 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.2) [INFO] [stderr] Adding libloading v0.7.4 (available: v0.8.6) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded equivalent v1.0.2 [INFO] [stderr] Downloaded target-triple v0.1.4 [INFO] [stderr] Downloaded glob v0.3.2 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded lock_api v0.4.12 [INFO] [stderr] Downloaded smallvec v1.15.0 [INFO] [stderr] Downloaded rustc_version v0.4.1 [INFO] [stderr] Downloaded indexmap v2.9.0 [INFO] [stderr] Downloaded abi_stable_shared v0.11.0 [INFO] [stderr] Downloaded as_derive_utils v0.11.0 [INFO] [stderr] Downloaded paste v1.0.15 [INFO] [stderr] Downloaded core_extensions v1.5.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.21 [INFO] [stderr] Downloaded ahash v0.8.11 [INFO] [stderr] Downloaded abi_stable_derive v0.11.3 [INFO] [stderr] Downloaded hashbrown v0.13.2 [INFO] [stderr] Downloaded rand v0.8.5 [INFO] [stderr] Downloaded crossbeam-channel v0.5.15 [INFO] [stderr] Downloaded zerocopy v0.7.35 [INFO] [stderr] Downloaded zerocopy-derive v0.8.24 [INFO] [stderr] Downloaded libloading v0.7.4 [INFO] [stderr] Downloaded parking_lot_core v0.9.10 [INFO] [stderr] Downloaded zerocopy v0.8.24 [INFO] [stderr] Downloaded repr_offset v0.2.2 [INFO] [stderr] Downloaded tstr v0.2.4 [INFO] [stderr] Downloaded fnv v1.0.7 [INFO] [stderr] Downloaded generational-arena v0.2.9 [INFO] [stderr] Downloaded zerocopy-derive v0.7.35 [INFO] [stderr] Downloaded parking_lot v0.12.3 [INFO] [stderr] Downloaded ppv-lite86 v0.2.21 [INFO] [stderr] Downloaded rand_chacha v0.3.1 [INFO] [stderr] Downloaded tstr_proc_macros v0.2.2 [INFO] [stderr] Downloaded semver v1.0.26 [INFO] [stderr] Downloaded bincode v1.3.3 [INFO] [stderr] Downloaded scopeguard v1.2.0 [INFO] [stderr] Downloaded bitflags v2.9.0 [INFO] [stderr] Downloaded redox_syscall v0.5.11 [INFO] [stderr] Downloaded winnow v0.7.6 [INFO] [stderr] Downloaded toml_edit v0.22.24 [INFO] [stderr] Downloaded toml v0.8.20 [INFO] [stderr] Downloaded trybuild v1.0.104 [INFO] [stderr] Downloaded const_panic v0.2.12 [INFO] [stderr] Downloaded core_extensions_proc_macros v1.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcd7ea7cda1d4b35ace753b09d61b7c08c0dffe09174229e169d70e1cd6731c9 [INFO] running `Command { std: "docker" "start" "-a" "fcd7ea7cda1d4b35ace753b09d61b7c08c0dffe09174229e169d70e1cd6731c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcd7ea7cda1d4b35ace753b09d61b7c08c0dffe09174229e169d70e1cd6731c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcd7ea7cda1d4b35ace753b09d61b7c08c0dffe09174229e169d70e1cd6731c9", kill_on_drop: false }` [INFO] [stdout] fcd7ea7cda1d4b35ace753b09d61b7c08c0dffe09174229e169d70e1cd6731c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+191df20fcad9331d3a948aa8e8556775ec3fe69d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c704ddec6d62ddd1428de29c0a40ded1756c8bfc64435326c630a15aa6ac4cc5 [INFO] running `Command { std: "docker" "start" "-a" "c704ddec6d62ddd1428de29c0a40ded1756c8bfc64435326c630a15aa6ac4cc5", 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] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling core_extensions_proc_macros v1.5.3 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling tstr_proc_macros v0.2.2 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking generational-arena v0.2.9 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Checking tstr v0.2.4 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking const_panic v0.2.12 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking repr_offset v0.2.2 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling core_extensions v1.5.3 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking abi_stable_shared v0.11.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling as_derive_utils v0.11.0 [INFO] [stderr] Compiling abi_stable_derive v0.11.3 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking abi_stable v0.11.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.8.20 [INFO] [stderr] Checking trybuild v1.0.104 [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] 13 | pub mod examples; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> src/nonexhaustive_enum.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg(any(feature = "testing", feature = "nonexhaustive_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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 250 | pub mod test_utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: the item is gated behind the `testing` feature [INFO] [stdout] --> src/lib.rs:248:7 [INFO] [stdout] | [INFO] [stdout] 248 | #[cfg(feature = "testing")] [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] 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] [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" "c704ddec6d62ddd1428de29c0a40ded1756c8bfc64435326c630a15aa6ac4cc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c704ddec6d62ddd1428de29c0a40ded1756c8bfc64435326c630a15aa6ac4cc5", kill_on_drop: false }` [INFO] [stdout] c704ddec6d62ddd1428de29c0a40ded1756c8bfc64435326c630a15aa6ac4cc5