[INFO] fetching crate stackbox 0.2.2... [INFO] testing stackbox-0.2.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate stackbox 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate stackbox 0.2.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d75b6e2a6d64ee125bb435ff23f733c496c103a998aaee08ba7cf6be3297d5 [INFO] running `Command { std: "docker" "start" "-a" "66d75b6e2a6d64ee125bb435ff23f733c496c103a998aaee08ba7cf6be3297d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d75b6e2a6d64ee125bb435ff23f733c496c103a998aaee08ba7cf6be3297d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d75b6e2a6d64ee125bb435ff23f733c496c103a998aaee08ba7cf6be3297d5", kill_on_drop: false }` [INFO] [stdout] 66d75b6e2a6d64ee125bb435ff23f733c496c103a998aaee08ba7cf6be3297d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b144e5ebcc3486b42215d59de83a6f172fb34bb6818377375e6b946ef29c0719 [INFO] running `Command { std: "docker" "start" "-a" "b144e5ebcc3486b42215d59de83a6f172fb34bb6818377375e6b946ef29c0719", kill_on_drop: false }` [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 0.36s [INFO] running `Command { std: "docker" "inspect" "b144e5ebcc3486b42215d59de83a6f172fb34bb6818377375e6b946ef29c0719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b144e5ebcc3486b42215d59de83a6f172fb34bb6818377375e6b946ef29c0719", kill_on_drop: false }` [INFO] [stdout] b144e5ebcc3486b42215d59de83a6f172fb34bb6818377375e6b946ef29c0719 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6424d735cc2b052ad11cf5439ee481555896ac6e4c58396887acfe2050f6ac48 [INFO] running `Command { std: "docker" "start" "-a" "6424d735cc2b052ad11cf5439ee481555896ac6e4c58396887acfe2050f6ac48", 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 6.06s [INFO] running `Command { std: "docker" "inspect" "6424d735cc2b052ad11cf5439ee481555896ac6e4c58396887acfe2050f6ac48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6424d735cc2b052ad11cf5439ee481555896ac6e4c58396887acfe2050f6ac48", kill_on_drop: false }` [INFO] [stdout] 6424d735cc2b052ad11cf5439ee481555896ac6e4c58396887acfe2050f6ac48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b4b4fcf12acce828fef0fb66d7c5efd083a612e63c02177d6906ffa8613585c5 [INFO] running `Command { std: "docker" "start" "-a" "b4b4fcf12acce828fef0fb66d7c5efd083a612e63c02177d6906ffa8613585c5", 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/stackbox-429bfeb158119b1e) [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_unsync_unsend_into_any ... ok [INFO] [stdout] test dyn_traits::tests::any::test_drops ... ok [INFO] [stdout] test dyn_traits::my_test::manual_any_non_owned_receiver ... ok [INFO] [stdout] test dyn_traits::tests::custom_dyn::fn_once::fn_once_higher_order_param ... 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::any::coerce_send_sync_into_send_sync_any ... ok [INFO] [stdout] test dyn_traits::tests::any::coerce_sync_unsend_into_sync_any ... ok [INFO] [stdout] test dyn_traits::tests::fn_once::test_drops ... ok [INFO] [stdout] test stackbox_mod::slice::iter::tests::doctest_for_miri ... ok [INFO] [stdout] test dyn_traits::tests::any::coerce_send_unsync_into_send_any ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests stackbox [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 544) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/tests.rs - dyn_traits::tests::any::cannot_coerce_unsync_into_sync_send_any (line 96) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/tests.rs - dyn_traits::tests::any::cannot_coerce_unsync_into_sync_any (line 82) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/tests.rs - dyn_traits::tests::custom_dyn::fn_once::auto_traits (line 209) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/tests.rs - dyn_traits::tests::fn_once::move_semantics_2 (line 127) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 32) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/tests.rs - dyn_traits::tests::any::cannot_coerce_unsend_into_sync_send_any (line 103) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 487) ... ok [INFO] [stdout] test src/dyn_traits/tests.rs - dyn_traits::tests::any::cannot_coerce_unsend_into_send_any (line 89) - compile fail ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 476) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 440) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox (line 129) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 13) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 454) ... ok [INFO] [stdout] test src/marker.rs - marker::Syncness (line 62) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 518) ... ok [INFO] [stdout] test src/slot.rs - slot::mk_slots (line 99) ... ok [INFO] [stdout] test src/marker.rs - marker::Sendness (line 34) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 462) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 97) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox (line 50) ... ok [INFO] [stdout] test src/dyn_traits/custom_dyn.rs - dyn_traits::custom_dyn::custom_dyn (line 591) ... ok [INFO] [stdout] test src/slot.rs - slot::mk_slots (line 91) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox<'frame,T>::new_in (line 170) ... ok [INFO] [stdout] test src/stackbox/slice/mod.rs - stackbox_mod::slice::StackBox<'frame,[Item;N]>::into_slice (line 135) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox (line 68) ... ok [INFO] [stdout] test src/stackbox/slice/mod.rs - stackbox_mod::slice::StackBox<'frame,[Item]>::stackbox_pop_first (line 49) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox<'frame,T>::with_new (line 196) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox<'frame,T>::with_new (line 213) ... ok [INFO] [stdout] test src/stackbox/mod.rs - stackbox_mod::StackBox (line 98) ... ok [INFO] [stdout] test src/stackbox/slice/mod.rs - stackbox_mod::slice::StackBox<'frame,[Item]>::stackbox_pop_last (line 73) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b4b4fcf12acce828fef0fb66d7c5efd083a612e63c02177d6906ffa8613585c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b4fcf12acce828fef0fb66d7c5efd083a612e63c02177d6906ffa8613585c5", kill_on_drop: false }` [INFO] [stdout] b4b4fcf12acce828fef0fb66d7c5efd083a612e63c02177d6906ffa8613585c5