[INFO] fetching crate safer_ffi-proc_macros 0.1.13... [INFO] checking safer_ffi-proc_macros-0.1.13 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate safer_ffi-proc_macros 0.1.13 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate safer_ffi-proc_macros 0.1.13 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8efba778b0ae0575dbc48af485a2b8f6cbe890338ae69fa345efc90499d3527b [INFO] running `Command { std: "docker" "start" "-a" "8efba778b0ae0575dbc48af485a2b8f6cbe890338ae69fa345efc90499d3527b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8efba778b0ae0575dbc48af485a2b8f6cbe890338ae69fa345efc90499d3527b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8efba778b0ae0575dbc48af485a2b8f6cbe890338ae69fa345efc90499d3527b", kill_on_drop: false }` [INFO] [stdout] 8efba778b0ae0575dbc48af485a2b8f6cbe890338ae69fa345efc90499d3527b [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 858fc5824dd3a5d55547b582dfc63b737bf7097f7b46a0394fdacd13b6852f61 [INFO] running `Command { std: "docker" "start" "-a" "858fc5824dd3a5d55547b582dfc63b737bf7097f7b46a0394fdacd13b6852f61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling paste v1.0.15 [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 quote v1.0.38 [INFO] [stderr] Checking safer_ffi-proc_macros v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] error: this conversion is useless `proc_macro2::TokenStream` to `proc_macro2::TokenStream` [INFO] [stdout] --> _mod.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | respan(span, tts.into()).into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` 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: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] error: could not compile `safer_ffi-proc_macros` (lib test) due to 1 previous error; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `proc_macro2::TokenStream` to `proc_macro2::TokenStream` [INFO] [stdout] --> _mod.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | respan(span, tts.into()).into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` 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: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] error: could not compile `safer_ffi-proc_macros` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "858fc5824dd3a5d55547b582dfc63b737bf7097f7b46a0394fdacd13b6852f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "858fc5824dd3a5d55547b582dfc63b737bf7097f7b46a0394fdacd13b6852f61", kill_on_drop: false }` [INFO] [stdout] 858fc5824dd3a5d55547b582dfc63b737bf7097f7b46a0394fdacd13b6852f61