[INFO] fetching crate safer_ffi-proc_macros 0.1.13... [INFO] checking safer_ffi-proc_macros-0.1.13 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [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 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "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" "+38352b01ae4af9300be03b805d6db68c45e51068" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.77) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63e1f01c0790780c7657eddac2c8edf2b0190b70428accc6897a0e658f07679d [INFO] running `Command { std: "docker" "start" "-a" "63e1f01c0790780c7657eddac2c8edf2b0190b70428accc6897a0e658f07679d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63e1f01c0790780c7657eddac2c8edf2b0190b70428accc6897a0e658f07679d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63e1f01c0790780c7657eddac2c8edf2b0190b70428accc6897a0e658f07679d", kill_on_drop: false }` [INFO] [stdout] 63e1f01c0790780c7657eddac2c8edf2b0190b70428accc6897a0e658f07679d [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9407d5e141be448e813487a11e84b3c61ca6103832cb7592ff95f9d8b2d387a1 [INFO] running `Command { std: "docker" "start" "-a" "9407d5e141be448e813487a11e84b3c61ca6103832cb7592ff95f9d8b2d387a1", 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 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: 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 3.88s [INFO] running `Command { std: "docker" "inspect" "9407d5e141be448e813487a11e84b3c61ca6103832cb7592ff95f9d8b2d387a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9407d5e141be448e813487a11e84b3c61ca6103832cb7592ff95f9d8b2d387a1", kill_on_drop: false }` [INFO] [stdout] 9407d5e141be448e813487a11e84b3c61ca6103832cb7592ff95f9d8b2d387a1