[INFO] fetching crate safer_ffi-proc_macros 0.1.13... [INFO] checking safer_ffi-proc_macros-0.1.13 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate safer_ffi-proc_macros 0.1.13 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate safer_ffi-proc_macros 0.1.13 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate safer_ffi-proc_macros 0.1.13 [INFO] finished tweaking crates.io crate safer_ffi-proc_macros 0.1.13 [INFO] tweaked toml for crates.io crate safer_ffi-proc_macros 0.1.13 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding macro_rules_attribute v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding macro_rules_attribute-proc_macro v0.1.3 (available: v0.2.0) [INFO] [stderr] Adding prettyplease v0.1.25 (available: v0.2.22) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded macro_rules_attribute v0.1.3 [INFO] [stderr] Downloaded macro_rules_attribute-proc_macro v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0172ea053cc4ca6152304b6ea816700f3e89e514d57f34d8f7a387b638617a14 [INFO] running `Command { std: "docker" "start" "-a" "0172ea053cc4ca6152304b6ea816700f3e89e514d57f34d8f7a387b638617a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0172ea053cc4ca6152304b6ea816700f3e89e514d57f34d8f7a387b638617a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0172ea053cc4ca6152304b6ea816700f3e89e514d57f34d8f7a387b638617a14", kill_on_drop: false }` [INFO] [stdout] 0172ea053cc4ca6152304b6ea816700f3e89e514d57f34d8f7a387b638617a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a81cc579c3aaf478108e01be34bc0910be4930c2b71f9a4557c3a33726685f30 [INFO] running `Command { std: "docker" "start" "-a" "a81cc579c3aaf478108e01be34bc0910be4930c2b71f9a4557c3a33726685f30", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling prettyplease v0.1.25 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.1.3 [INFO] [stderr] Checking proc-macro2 v1.0.86 [INFO] [stderr] Checking macro_rules_attribute v0.1.3 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking safer_ffi-proc_macros v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> utils/extension_traits.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | / fn vec (self: Self) [INFO] [stdout] 10 | | -> Vec [INFO] [stdout] | |________________________- move the `impl` block outside of this method `vec` [INFO] [stdout] 11 | { [INFO] [stdout] 12 | impl CollectVec for I {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectVec` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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] --> utils/extension_traits.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | / fn extend_ ( [INFO] [stdout] 44 | | &mut self, [INFO] [stdout] 45 | | iterable: I, [INFO] [stdout] 46 | | ) [INFO] [stdout] 47 | | where [INFO] [stdout] 48 | | Self : Extend, [INFO] [stdout] 49 | | I : IntoIterator, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `extend_` [INFO] [stdout] 50 | { [INFO] [stdout] 51 | impl Extend_ for T {} [INFO] [stdout] | ^^^^^^^^-------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Extend_` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] --> utils/extension_traits.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 68 | / fn also (mut self, tweak: impl FnOnce(&mut Self)) [INFO] [stdout] 69 | | -> Self [INFO] [stdout] | |_____________- move the `impl` block outside of this method `also` [INFO] [stdout] 70 | { [INFO] [stdout] 71 | impl Also for T {} [INFO] [stdout] | ^^^^^^^^----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Also` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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] --> utils/extension_traits.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 9 | / fn vec (self: Self) [INFO] [stdout] 10 | | -> Vec [INFO] [stdout] | |________________________- move the `impl` block outside of this method `vec` [INFO] [stdout] 11 | { [INFO] [stdout] 12 | impl CollectVec for I {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CollectVec` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [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] --> utils/extension_traits.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 43 | / fn extend_ ( [INFO] [stdout] 44 | | &mut self, [INFO] [stdout] 45 | | iterable: I, [INFO] [stdout] 46 | | ) [INFO] [stdout] 47 | | where [INFO] [stdout] 48 | | Self : Extend, [INFO] [stdout] 49 | | I : IntoIterator, [INFO] [stdout] | |___________________________________- move the `impl` block outside of this method `extend_` [INFO] [stdout] 50 | { [INFO] [stdout] 51 | impl Extend_ for T {} [INFO] [stdout] | ^^^^^^^^-------^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Extend_` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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] --> utils/extension_traits.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 68 | / fn also (mut self, tweak: impl FnOnce(&mut Self)) [INFO] [stdout] 69 | | -> Self [INFO] [stdout] | |_____________- move the `impl` block outside of this method `also` [INFO] [stdout] 70 | { [INFO] [stdout] 71 | impl Also for T {} [INFO] [stdout] | ^^^^^^^^----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Also` is not local [INFO] [stdout] | [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.86s [INFO] running `Command { std: "docker" "inspect" "a81cc579c3aaf478108e01be34bc0910be4930c2b71f9a4557c3a33726685f30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a81cc579c3aaf478108e01be34bc0910be4930c2b71f9a4557c3a33726685f30", kill_on_drop: false }` [INFO] [stdout] a81cc579c3aaf478108e01be34bc0910be4930c2b71f9a4557c3a33726685f30