[INFO] fetching crate autogen 0.2.3... [INFO] checking autogen-0.2.3 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate autogen 0.2.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate autogen 0.2.3 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 autogen 0.2.3 [INFO] finished tweaking crates.io crate autogen 0.2.3 [INFO] tweaked toml for crates.io crate autogen 0.2.3 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" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [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] 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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4785d5e318d34d5f912081632eb297a4457773db96a9493424b26ebb2248c674 [INFO] running `Command { std: "docker" "start" "-a" "4785d5e318d34d5f912081632eb297a4457773db96a9493424b26ebb2248c674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4785d5e318d34d5f912081632eb297a4457773db96a9493424b26ebb2248c674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4785d5e318d34d5f912081632eb297a4457773db96a9493424b26ebb2248c674", kill_on_drop: false }` [INFO] [stdout] 4785d5e318d34d5f912081632eb297a4457773db96a9493424b26ebb2248c674 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38b535b604b9c5d924554c6758cf9197dc0668cb23290b863ab841c58184797c [INFO] running `Command { std: "docker" "start" "-a" "38b535b604b9c5d924554c6758cf9197dc0668cb23290b863ab841c58184797c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.79 [INFO] [stderr] Checking autogen v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/enums.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | fn variants() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `variants` [INFO] [stdout] 26 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Enum` is not local [INFO] [stdout] 27 | impl Trait for Enum { [INFO] [stdout] | ----- `Trait` 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] = note: this warning originates in the attribute macro `autogen::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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] --> tests/structs.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | fn regular() { [INFO] [stdout] | ------------ move the `impl` block outside of this function `regular` [INFO] [stdout] 18 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 19 | impl Trait for Struct { [INFO] [stdout] | ----- `Trait` 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] = note: this warning originates in the attribute macro `autogen::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/structs.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | fn reference() { [INFO] [stdout] | -------------- move the `impl` block outside of this function `reference` [INFO] [stdout] 31 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 32 | impl Trait for &Struct { [INFO] [stdout] | ----- `Trait` 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: this warning originates in the attribute macro `autogen::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/structs.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn array() { [INFO] [stdout] | ---------- move the `impl` block outside of this function `array` [INFO] [stdout] 44 | #[autogen::apply] [INFO] [stdout] | - `Struct` is not local [INFO] [stdout] 45 | impl Trait for [Struct; 1] { [INFO] [stdout] | ^^^^^-----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Trait` 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] --> tests/structs.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 56 | fn slice() { [INFO] [stdout] | ---------- move the `impl` block outside of this function `slice` [INFO] [stdout] 57 | #[autogen::apply] [INFO] [stdout] | - `Struct` is not local [INFO] [stdout] 58 | impl Trait for [Struct] { [INFO] [stdout] | ^^^^^-----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Trait` 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] --> tests/structs.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 69 | fn pointer() { [INFO] [stdout] | ------------ move the `impl` block outside of this function `pointer` [INFO] [stdout] 70 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 71 | impl Trait for *const Struct { [INFO] [stdout] | ----- `Trait` 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: this warning originates in the attribute macro `autogen::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [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] --> tests/structs.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 83 | fn tuple() { [INFO] [stdout] | ---------- move the `impl` block outside of this function `tuple` [INFO] [stdout] 84 | #[autogen::apply] [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 85 | impl Trait for (&'static str, Struct, Struct) { [INFO] [stdout] | ^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Trait` 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] --> tests/structs.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 101 | fn generic_arg() { [INFO] [stdout] | ---------------- move the `impl` block outside of this function `generic_arg` [INFO] [stdout] 102 | #[autogen::apply] [INFO] [stdout] | - `Struct` is not local [INFO] [stdout] 103 | impl Trait for Result { [INFO] [stdout] | ^^^^^-----^^^^^------^^^^^^^^^------^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `String` is not local [INFO] [stdout] | | `Result` is not local [INFO] [stdout] | `Trait` 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] --> tests/structs.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 120 | fn combo() { [INFO] [stdout] | ---------- move the `impl` block outside of this function `combo` [INFO] [stdout] 121 | #[autogen::apply] [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 122 | impl Trait for [([Option<&Struct>; 1], Struct, String)] { [INFO] [stdout] | ^^^^^-----^^^^^^^^------^^^^^^^^^^^^^^^^^^^^^^^------^^ [INFO] [stdout] | | | | [INFO] [stdout] | | `Option` is not local `String` is not local [INFO] [stdout] | `Trait` 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `Command { std: "docker" "inspect" "38b535b604b9c5d924554c6758cf9197dc0668cb23290b863ab841c58184797c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38b535b604b9c5d924554c6758cf9197dc0668cb23290b863ab841c58184797c", kill_on_drop: false }` [INFO] [stdout] 38b535b604b9c5d924554c6758cf9197dc0668cb23290b863ab841c58184797c