[INFO] fetching crate stackbox 0.1.2... [INFO] checking stackbox-0.1.2 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate stackbox 0.1.2 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate stackbox 0.1.2 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate stackbox 0.1.2 [INFO] finished tweaking crates.io crate stackbox 0.1.2 [INFO] tweaked toml for crates.io crate stackbox 0.1.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded func_wrap v0.1.3 [INFO] [stderr] Downloaded with_locals-proc_macros v0.3.2 [INFO] [stderr] Downloaded with_locals v0.3.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc959731240ac1f6ee0bbc6b18e0162c0e49e0594b2b1064e9efc25fdc5dc45e [INFO] running `Command { std: "docker" "start" "-a" "cc959731240ac1f6ee0bbc6b18e0162c0e49e0594b2b1064e9efc25fdc5dc45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc959731240ac1f6ee0bbc6b18e0162c0e49e0594b2b1064e9efc25fdc5dc45e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc959731240ac1f6ee0bbc6b18e0162c0e49e0594b2b1064e9efc25fdc5dc45e", kill_on_drop: false }` [INFO] [stdout] cc959731240ac1f6ee0bbc6b18e0162c0e49e0594b2b1064e9efc25fdc5dc45e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc70e27b35c4abcd8a6617b310bf69bafb55a7bbe2d4017003eac2345379bfe7 [INFO] running `Command { std: "docker" "start" "-a" "bc70e27b35c4abcd8a6617b310bf69bafb55a7bbe2d4017003eac2345379bfe7", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking stackbox v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `slice::iter` [INFO] [stdout] --> src/stackbox/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use slice::iter; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling func_wrap v0.1.3 [INFO] [stderr] Compiling with_locals-proc_macros v0.3.2 [INFO] [stderr] Checking with_locals v0.3.2 [INFO] [stdout] warning: unused import: `slice::iter` [INFO] [stdout] --> src/stackbox/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use slice::iter; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/dyn_traits/mod.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | stackbox!(let f = |_: &str| drop(not_send)); [INFO] [stdout] | ^^^^^--------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `i32` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.34s [INFO] running `Command { std: "docker" "inspect" "bc70e27b35c4abcd8a6617b310bf69bafb55a7bbe2d4017003eac2345379bfe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc70e27b35c4abcd8a6617b310bf69bafb55a7bbe2d4017003eac2345379bfe7", kill_on_drop: false }` [INFO] [stdout] bc70e27b35c4abcd8a6617b310bf69bafb55a7bbe2d4017003eac2345379bfe7 [INFO] checking stackbox-0.1.2 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate stackbox 0.1.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate stackbox 0.1.2 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc2/source/.cargo/config [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate stackbox 0.1.2 [INFO] finished tweaking crates.io crate stackbox 0.1.2 [INFO] tweaked toml for crates.io crate stackbox 0.1.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb84e679a0e9951894e12662dd09534a5ecc4ef8850e0fde302029430d09ee70 [INFO] running `Command { std: "docker" "start" "-a" "fb84e679a0e9951894e12662dd09534a5ecc4ef8850e0fde302029430d09ee70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb84e679a0e9951894e12662dd09534a5ecc4ef8850e0fde302029430d09ee70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb84e679a0e9951894e12662dd09534a5ecc4ef8850e0fde302029430d09ee70", kill_on_drop: false }` [INFO] [stdout] fb84e679a0e9951894e12662dd09534a5ecc4ef8850e0fde302029430d09ee70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63d61a264d98c7a6e6e3463a7eff67ca98927609210d41db9139ebd350c4abbd [INFO] running `Command { std: "docker" "start" "-a" "63d61a264d98c7a6e6e3463a7eff67ca98927609210d41db9139ebd350c4abbd", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking stackbox v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `slice::iter` [INFO] [stdout] --> src/stackbox/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use slice::iter; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/dyn_traits/any.rs:203:21 [INFO] [stdout] | [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] 205 | | for [INFO] [stdout] 206 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] ... | [INFO] [stdout] 220 | | } [INFO] [stdout] 221 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `as_Any` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/dyn_traits/any.rs:240:21 [INFO] [stdout] | [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] 242 | | for [INFO] [stdout] 243 | | StackBoxDynAny<'frame, AutoTraits> [INFO] [stdout] ... | [INFO] [stdout] 257 | | } [INFO] [stdout] 258 | | } [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current method `as_Any_mut` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error 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] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stackbox` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "63d61a264d98c7a6e6e3463a7eff67ca98927609210d41db9139ebd350c4abbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63d61a264d98c7a6e6e3463a7eff67ca98927609210d41db9139ebd350c4abbd", kill_on_drop: false }` [INFO] [stdout] 63d61a264d98c7a6e6e3463a7eff67ca98927609210d41db9139ebd350c4abbd