[INFO] cloning repository https://github.com/pstroka/autogen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pstroka/autogen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstroka%2Fautogen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstroka%2Fautogen'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstroka%2Fautogen: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/pstroka/autogen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pstroka/autogen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstroka%2Fautogen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstroka%2Fautogen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39377deebe0c24120e47751ae5a35c402484714d [INFO] checking pstroka/autogen against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpstroka%2Fautogen" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pstroka/autogen on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pstroka/autogen [INFO] finished tweaking git repo https://github.com/pstroka/autogen [INFO] tweaked toml for git repo https://github.com/pstroka/autogen written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pstroka/autogen already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99de282111d65f9fc25772dfec70d43e20aa758f99c8c58bf945f4cd806130eb [INFO] running `Command { std: "docker" "start" "-a" "99de282111d65f9fc25772dfec70d43e20aa758f99c8c58bf945f4cd806130eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99de282111d65f9fc25772dfec70d43e20aa758f99c8c58bf945f4cd806130eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99de282111d65f9fc25772dfec70d43e20aa758f99c8c58bf945f4cd806130eb", kill_on_drop: false }` [INFO] [stdout] 99de282111d65f9fc25772dfec70d43e20aa758f99c8c58bf945f4cd806130eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3bde832896e3214c5e95934c7d9747557acdb1fe84749fcbbc4fdf0d2f3f61e [INFO] running `Command { std: "docker" "start" "-a" "e3bde832896e3214c5e95934c7d9747557acdb1fe84749fcbbc4fdf0d2f3f61e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Checking syn v2.0.86 [INFO] [stderr] Compiling try_match_inner v0.5.2 [INFO] [stderr] Checking try_match v0.4.2 [INFO] [stderr] Compiling autogen v1.0.0 (/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: `#[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/replacements.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | fn replace_regular() { [INFO] [stdout] | -------------------- move the `impl` block outside of this function `replace_regular` [INFO] [stdout] 28 | #[autogen::apply(X = String)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Regular` is not local [INFO] [stdout] | `String` 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] = 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/replacements.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | fn replaceme_mixed() { [INFO] [stdout] | -------------------- move the `impl` block outside of this function `replaceme_mixed` [INFO] [stdout] 42 | #[autogen::apply(Y = X)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Mixed` 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 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/replacements.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn replace_where() { [INFO] [stdout] | ------------------ move the `impl` block outside of this function `replace_where` [INFO] [stdout] 55 | #[autogen::apply(X = Y)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Where` 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 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/replacements.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 54 | fn replace_where() { [INFO] [stdout] | ------------------ move the `impl` block outside of this function `replace_where` [INFO] [stdout] ... [INFO] [stdout] 65 | #[autogen::apply(Y = String)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Where` is not local [INFO] [stdout] | `String` 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 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: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: `#[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 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] [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] [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 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, Struct) { [INFO] [stdout] | ^^^^^-----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------^^^^^^------^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | `String` is not local [INFO] [stdout] | `Trait` is not local `Struct` 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] --> tests/structs.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 105 | fn generic_arg() { [INFO] [stdout] | ---------------- move the `impl` block outside of this function `generic_arg` [INFO] [stdout] 106 | #[autogen::apply] [INFO] [stdout] | - `Struct` is not local [INFO] [stdout] 107 | 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] [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:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | fn combo() { [INFO] [stdout] | ---------- move the `impl` block outside of this function `combo` [INFO] [stdout] 125 | #[autogen::apply] [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 126 | 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] [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:200:5 [INFO] [stdout] | [INFO] [stdout] 199 | fn fn_arg() { [INFO] [stdout] | ----------- move the `impl` block outside of this function `fn_arg` [INFO] [stdout] 200 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` 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 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/traits.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn trait_generic_arg_as_input() { [INFO] [stdout] | ------------------------------- move the `impl` block outside of this function `trait_generic_arg_as_input` [INFO] [stdout] 36 | #[autogen::apply] [INFO] [stdout] | - `Struct` is not local [INFO] [stdout] 37 | impl From for String { [INFO] [stdout] | ^^^^^----^^^^^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | `String` is not local [INFO] [stdout] | `From` 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] --> tests/traits.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | fn trait_generic_arg_as_output() { [INFO] [stdout] | -------------------------------- move the `impl` block outside of this function `trait_generic_arg_as_output` [INFO] [stdout] 50 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 51 | impl From for Struct { [INFO] [stdout] | ---- `From` 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 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/traits.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn associated_type_and_const() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `associated_type_and_const` [INFO] [stdout] 68 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 69 | impl Def for Struct { [INFO] [stdout] | --- `Def` 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 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/traits.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 67 | fn associated_type_and_const() { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this function `associated_type_and_const` [INFO] [stdout] ... [INFO] [stdout] 74 | #[autogen::apply(Struct2 = Struct)] [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 75 | impl S for Struct2 { [INFO] [stdout] | - `S` 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 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/traits.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 89 | fn inner_fn() { [INFO] [stdout] | ------------- move the `impl` block outside of this function `inner_fn` [INFO] [stdout] 90 | #[autogen::apply] [INFO] [stdout] | - `Struct` is not local [INFO] [stdout] 91 | impl Def for T { [INFO] [stdout] | ^^^^^---^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Def` 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] --> tests/traits.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | fn expressions() { [INFO] [stdout] | ---------------- move the `impl` block outside of this function `expressions` [INFO] [stdout] 112 | #[autogen::apply] [INFO] [stdout] | -^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Struct` is not local [INFO] [stdout] 113 | impl Iterator for Struct { [INFO] [stdout] | -------- `Iterator` 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 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/traits.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 111 | fn expressions() { [INFO] [stdout] | ---------------- move the `impl` block outside of this function `expressions` [INFO] [stdout] ... [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 From>> for Struct { [INFO] [stdout] | ---- --- -------- `Iterator` is not local [INFO] [stdout] | | | [INFO] [stdout] | | `Box` is not local [INFO] [stdout] | `From` 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 warning originates in the attribute macro `autogen::apply` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.20s [INFO] running `Command { std: "docker" "inspect" "e3bde832896e3214c5e95934c7d9747557acdb1fe84749fcbbc4fdf0d2f3f61e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3bde832896e3214c5e95934c7d9747557acdb1fe84749fcbbc4fdf0d2f3f61e", kill_on_drop: false }` [INFO] [stdout] e3bde832896e3214c5e95934c7d9747557acdb1fe84749fcbbc4fdf0d2f3f61e