[INFO] fetching crate stackbox 0.2.2... [INFO] testing stackbox-0.2.2 against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] extracting crate stackbox 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate stackbox 0.2.2 on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate stackbox 0.2.2 [INFO] finished tweaking crates.io crate stackbox 0.2.2 [INFO] tweaked toml for crates.io crate stackbox 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e724ebc76ce70581d9ac418f20a533d2c65cde3f65eeb70a8068c5fd5e7a19c2 [INFO] running `Command { std: "docker" "start" "-a" "e724ebc76ce70581d9ac418f20a533d2c65cde3f65eeb70a8068c5fd5e7a19c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e724ebc76ce70581d9ac418f20a533d2c65cde3f65eeb70a8068c5fd5e7a19c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e724ebc76ce70581d9ac418f20a533d2c65cde3f65eeb70a8068c5fd5e7a19c2", kill_on_drop: false }` [INFO] [stdout] e724ebc76ce70581d9ac418f20a533d2c65cde3f65eeb70a8068c5fd5e7a19c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9824a298b8975b0d3151dd312e10b60d041858915115b6497f27a2cff79ac6c [INFO] running `Command { std: "docker" "start" "-a" "a9824a298b8975b0d3151dd312e10b60d041858915115b6497f27a2cff79ac6c", kill_on_drop: false }` [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling stackbox v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dyn_traits/any.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 192 | / pub [INFO] [stdout] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stdout] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stdout] 194 | { [INFO] [stdout] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stdout] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stdout] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 204 | | AsRef [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsRef` is not local [INFO] [stdout] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (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/dyn_traits/any.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 192 | / pub [INFO] [stdout] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stdout] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stdout] 194 | { [INFO] [stdout] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stdout] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stdout] | | ---- `Sync` is not local [INFO] [stdout] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 204 | | AsRef [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsRef` is not local [INFO] [stdout] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- `Send` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- `Sync` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- ---- `Sync` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Send` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.44s [INFO] running `Command { std: "docker" "inspect" "a9824a298b8975b0d3151dd312e10b60d041858915115b6497f27a2cff79ac6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9824a298b8975b0d3151dd312e10b60d041858915115b6497f27a2cff79ac6c", kill_on_drop: false }` [INFO] [stdout] a9824a298b8975b0d3151dd312e10b60d041858915115b6497f27a2cff79ac6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb253186646dc1f1a834d709f7869330ba1eb64db40f374ac243f6a18a17172c [INFO] running `Command { std: "docker" "start" "-a" "cb253186646dc1f1a834d709f7869330ba1eb64db40f374ac243f6a18a17172c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dyn_traits/any.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 192 | / pub [INFO] [stdout] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stdout] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stdout] 194 | { [INFO] [stdout] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stdout] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stdout] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 204 | | AsRef [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsRef` is not local [INFO] [stdout] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (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/dyn_traits/any.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 192 | / pub [INFO] [stdout] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stdout] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stdout] 194 | { [INFO] [stdout] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stdout] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stdout] | | ---- `Sync` is not local [INFO] [stdout] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 204 | | AsRef [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsRef` is not local [INFO] [stdout] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- `Send` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- `Sync` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- ---- `Sync` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Send` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling func_wrap v0.1.3 [INFO] [stderr] Compiling with_locals-proc_macros v0.3.3 [INFO] [stderr] Compiling with_locals v0.3.3 [INFO] [stderr] Compiling stackbox v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dyn_traits/any.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 192 | / pub [INFO] [stdout] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stdout] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stdout] 194 | { [INFO] [stdout] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stdout] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stdout] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 204 | | AsRef [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsRef` is not local [INFO] [stdout] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (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/dyn_traits/any.rs:203:21 [INFO] [stdout] | [INFO] [stdout] 192 | / pub [INFO] [stdout] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stdout] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stdout] 194 | { [INFO] [stdout] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stdout] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stdout] | | ---- `Sync` is not local [INFO] [stdout] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 204 | | AsRef [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsRef` is not local [INFO] [stdout] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- `Send` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- `Sync` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (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/dyn_traits/any.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 229 | / pub [INFO] [stdout] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stdout] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stdout] 231 | { [INFO] [stdout] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stdout] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stdout] | | ---- ---- `Sync` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Send` is not local [INFO] [stdout] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stdout] | |_____________- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stdout] 241 | | AsMut [INFO] [stdout] | | ----- --- `Any` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `AsMut` is not local [INFO] [stdout] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] | |_________________________--------------___________________^ [INFO] [stdout] | | [INFO] [stdout] | `StackBoxDynAny` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.12s [INFO] running `Command { std: "docker" "inspect" "cb253186646dc1f1a834d709f7869330ba1eb64db40f374ac243f6a18a17172c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb253186646dc1f1a834d709f7869330ba1eb64db40f374ac243f6a18a17172c", kill_on_drop: false }` [INFO] [stdout] cb253186646dc1f1a834d709f7869330ba1eb64db40f374ac243f6a18a17172c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a3ef4b7645c64b3deb36659dce4cd91a67ceb7d591d19c2ac2b92848ec95daba [INFO] running `Command { std: "docker" "start" "-a" "a3ef4b7645c64b3deb36659dce4cd91a67ceb7d591d19c2ac2b92848ec95daba", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dyn_traits/any.rs:203:21 [INFO] [stderr] | [INFO] [stderr] 192 | / pub [INFO] [stderr] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stderr] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stderr] 194 | { [INFO] [stderr] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stderr] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stderr] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stderr] 204 | | AsRef [INFO] [stderr] | | ----- --- `Any` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `AsRef` is not local [INFO] [stderr] 205 | | for [INFO] [stderr] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stderr] | |_________________________--------------___________________^ [INFO] [stderr] | | [INFO] [stderr] | `StackBoxDynAny` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dyn_traits/any.rs:203:21 [INFO] [stderr] | [INFO] [stderr] 192 | / pub [INFO] [stderr] 193 | | fn as_Any (self: &'_ Self) -> &'_ (dyn Any + 'static) [INFO] [stderr] | |_____________________________________________________________- move the `impl` block outside of this method `as_Any` [INFO] [stderr] 194 | { [INFO] [stderr] 195 | / derive_AsRef_for_auto_trait_combination! { [INFO] [stderr] 196 | | (), (Sync), // (Send), (Send + Sync), /* These should not be required */ [INFO] [stderr] | | ---- `Sync` is not local [INFO] [stderr] 197 | | } macro_rules! derive_AsRef_for_auto_trait_combination {( [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 203 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stderr] 204 | | AsRef [INFO] [stderr] | | ----- --- `Any` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `AsRef` is not local [INFO] [stderr] 205 | | for [INFO] [stderr] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stderr] | |_________________________--------------___________________^ [INFO] [stderr] | | [INFO] [stderr] | `StackBoxDynAny` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `derive_AsRef_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `derive_AsRef_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dyn_traits/any.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 229 | / pub [INFO] [stderr] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stderr] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stderr] 231 | { [INFO] [stderr] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stderr] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stderr] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stderr] 241 | | AsMut [INFO] [stderr] | | ----- --- `Any` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `AsMut` is not local [INFO] [stderr] 242 | | for [INFO] [stderr] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stderr] | |_________________________--------------___________________^ [INFO] [stderr] | | [INFO] [stderr] | `StackBoxDynAny` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dyn_traits/any.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 229 | / pub [INFO] [stderr] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stderr] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stderr] 231 | { [INFO] [stderr] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stderr] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stderr] | | ---- `Send` is not local [INFO] [stderr] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stderr] 241 | | AsMut [INFO] [stderr] | | ----- --- `Any` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `AsMut` is not local [INFO] [stderr] 242 | | for [INFO] [stderr] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stderr] | |_________________________--------------___________________^ [INFO] [stderr] | | [INFO] [stderr] | `StackBoxDynAny` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dyn_traits/any.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 229 | / pub [INFO] [stderr] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stderr] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stderr] 231 | { [INFO] [stderr] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stderr] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stderr] | | ---- `Sync` is not local [INFO] [stderr] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stderr] 241 | | AsMut [INFO] [stderr] | | ----- --- `Any` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `AsMut` is not local [INFO] [stderr] 242 | | for [INFO] [stderr] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stderr] | |_________________________--------------___________________^ [INFO] [stderr] | | [INFO] [stderr] | `StackBoxDynAny` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dyn_traits/any.rs:240:21 [INFO] [stderr] | [INFO] [stderr] 229 | / pub [INFO] [stderr] 230 | | fn as_Any_mut (self: &'_ mut Self) -> &'_ mut (dyn Any + 'static) [INFO] [stderr] | |_________________________________________________________________________- move the `impl` block outside of this method `as_Any_mut` [INFO] [stderr] 231 | { [INFO] [stderr] 232 | / derive_AsMut_for_auto_trait_combination! { [INFO] [stderr] 233 | | (), (Send), (Sync), (Send + Sync) [INFO] [stderr] | | ---- ---- `Sync` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `Send` is not local [INFO] [stderr] 234 | | } macro_rules! derive_AsMut_for_auto_trait_combination {( [INFO] [stderr] | |_____________- in this macro invocation [INFO] [stderr] ... [INFO] [stderr] 240 | / impl<'frame, AutoTraits : ?Sized + T::Sendness + T::Syncness> [INFO] [stderr] 241 | | AsMut [INFO] [stderr] | | ----- --- `Any` is not local [INFO] [stderr] | | | [INFO] [stderr] | | `AsMut` is not local [INFO] [stderr] 242 | | for [INFO] [stderr] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stderr] | |_________________________--------------___________________^ [INFO] [stderr] | | [INFO] [stderr] | `StackBoxDynAny` is not local [INFO] [stderr] | [INFO] [stderr] = note: the macro `derive_AsMut_for_auto_trait_combination` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `derive_AsMut_for_auto_trait_combination` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `stackbox` (lib) generated 6 warnings [INFO] [stderr] warning: `stackbox` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stackbox-9b5480382958696d) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test dyn_traits::my_test::fn_once_higher_order_param ... ok [INFO] [stdout] test dyn_traits::tests::any::coerce_send_sync_into_send_sync_any ... ok [INFO] [stdout] test dyn_traits::tests::any::coerce_send_unsync_into_send_any ... ok [INFO] [stdout] test dyn_traits::tests::any::coerce_unsync_unsend_into_any ... ok [INFO] [stdout] test dyn_traits::tests::any::coerce_sync_unsend_into_sync_any ... ok [INFO] [stdout] test dyn_traits::tests::any::test_drops ... ok [INFO] [stdout] test dyn_traits::tests::custom_dyn::fn_once::fn_once_higher_order_param ... ok [INFO] [stdout] test stackbox_mod::slice::iter::tests::doctest_for_miri ... ok [INFO] [stdout] test dyn_traits::tests::custom_dyn::fn_once::test_drops ... ok [INFO] [stdout] test dyn_traits::tests::custom_dyn::non_owned_receiver ... ok [INFO] [stdout] test dyn_traits::tests::fn_once::move_semantics ... ok [INFO] [stdout] test dyn_traits::tests::fn_once::test_drops ... ok [INFO] [stdout] test dyn_traits::my_test::manual_any_non_owned_receiver ... ok [INFO] [stderr] Doc-tests stackbox [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: DefId(0:65 ~ stackbox[2d1d]::dyn_traits::custom_dyn::custom_dyn) has more than five doctests [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ed7f3d77595b4831fdf085f2529aa13b5b51ff7d/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name stackbox --test src/lib.rs --test-run-directory /opt/rustwide/workdir -L dependency=/opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern paste=/opt/rustwide/target/debug/deps/libpaste-a7d55195f43d4871.so --extern stackbox=/opt/rustwide/target/debug/deps/libstackbox-2b1e3a8f5f1c0237.rlib --extern with_locals=/opt/rustwide/target/debug/deps/libwith_locals-f307acbe5fde87ae.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "docs", "std", "unsize"))' --cap-lints=forbid --error-format human` (exit status: 1) [INFO] [stderr] note: test exited abnormally; to see the full output pass --nocapture to the harness. [INFO] running `Command { std: "docker" "inspect" "a3ef4b7645c64b3deb36659dce4cd91a67ceb7d591d19c2ac2b92848ec95daba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3ef4b7645c64b3deb36659dce4cd91a67ceb7d591d19c2ac2b92848ec95daba", kill_on_drop: false }` [INFO] [stdout] a3ef4b7645c64b3deb36659dce4cd91a67ceb7d591d19c2ac2b92848ec95daba