[INFO] fetching crate safer_ffi-proc_macros 0.1.13... [INFO] checking safer_ffi-proc_macros-0.1.13 against master#336209eef13882bd1e211b24779584cb7ef911eb for pr-129249 [INFO] extracting crate safer_ffi-proc_macros 0.1.13 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate safer_ffi-proc_macros 0.1.13 on toolchain 336209eef13882bd1e211b24779584cb7ef911eb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "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-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "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 prettyplease v0.1.25 (available: v0.2.28) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.96) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2418aa08edbcecaaa32e51bfc118c80a440315551cdc61995887959e50d2a75b [INFO] running `Command { std: "docker" "start" "-a" "2418aa08edbcecaaa32e51bfc118c80a440315551cdc61995887959e50d2a75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2418aa08edbcecaaa32e51bfc118c80a440315551cdc61995887959e50d2a75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2418aa08edbcecaaa32e51bfc118c80a440315551cdc61995887959e50d2a75b", kill_on_drop: false }` [INFO] [stdout] 2418aa08edbcecaaa32e51bfc118c80a440315551cdc61995887959e50d2a75b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+336209eef13882bd1e211b24779584cb7ef911eb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dfaa49c6c0cb0c501437e01d479c44625ceba66c8d3318a570857863dcb01cb9 [INFO] running `Command { std: "docker" "start" "-a" "dfaa49c6c0cb0c501437e01d479c44625ceba66c8d3318a570857863dcb01cb9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling paste v1.0.15 [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 quote v1.0.38 [INFO] [stderr] Checking macro_rules_attribute v0.1.3 [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: `#[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] ... | [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] [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] [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: `#[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] ... | [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] [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.89s [INFO] running `Command { std: "docker" "inspect" "dfaa49c6c0cb0c501437e01d479c44625ceba66c8d3318a570857863dcb01cb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dfaa49c6c0cb0c501437e01d479c44625ceba66c8d3318a570857863dcb01cb9", kill_on_drop: false }` [INFO] [stdout] dfaa49c6c0cb0c501437e01d479c44625ceba66c8d3318a570857863dcb01cb9