[INFO] fetching crate std_tools 0.1.4... [INFO] checking std_tools-0.1.4 against master#aa067fb984d36462548bb785da221bfaf38253f0 for pr-122470 [INFO] extracting crate std_tools 0.1.4 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate std_tools 0.1.4 on toolchain aa067fb984d36462548bb785da221bfaf38253f0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate std_tools 0.1.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate std_tools 0.1.4 [INFO] tweaked toml for crates.io crate std_tools 0.1.4 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "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 127 packages [INFO] [stderr] Adding clone_dyn v0.1.0 (latest: v0.15.0) [INFO] [stderr] Adding clone_dyn_meta v0.1.1 (latest: v0.15.0) [INFO] [stderr] Adding convert_case v0.4.0 (latest: v0.6.0) [INFO] [stderr] Adding convert_case v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding ctor v0.1.26 (latest: v0.2.7) [INFO] [stderr] Adding data_type v0.1.9 (latest: v0.6.0) [INFO] [stderr] Adding derive_tools v0.1.5 (latest: v0.20.0) [INFO] [stderr] Adding diagnostics_tools v0.1.3 (latest: v0.7.0) [INFO] [stderr] Adding either v1.6.1 (latest: v1.11.0) [INFO] [stderr] Adding error_tools v0.1.4 (latest: v0.12.0) [INFO] [stderr] Adding for_each v0.1.3 (latest: v0.7.0) [INFO] [stderr] Adding former v0.1.12 (latest: v0.16.0) [INFO] [stderr] Adding former_meta v0.1.12 (latest: v0.14.0) [INFO] [stderr] Adding implements v0.1.1 (latest: v0.7.0) [INFO] [stderr] Adding impls_index v0.1.3 (latest: v0.6.0) [INFO] [stderr] Adding impls_index_meta v0.1.1 (latest: v0.6.0) [INFO] [stderr] Adding inspect_type v0.1.2 (latest: v0.9.0) [INFO] [stderr] Adding is_slice v0.1.1 (latest: v0.8.0) [INFO] [stderr] Adding iter_tools v0.1.4 (latest: v0.15.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.12.1) [INFO] [stderr] Adding mem_tools v0.1.1 (latest: v0.5.0) [INFO] [stderr] Adding meta_tools v0.2.18 (latest: v0.9.0) [INFO] [stderr] Adding mod_interface v0.1.16 (latest: v0.17.0) [INFO] [stderr] Adding mod_interface_meta v0.1.11 (latest: v0.17.0) [INFO] [stderr] Adding parse-display v0.5.5 (latest: v0.9.0) [INFO] [stderr] Adding parse-display-derive v0.5.5 (latest: v0.9.0) [INFO] [stderr] Adding pretty_assertions v1.2.1 (latest: v1.4.0) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.3) [INFO] [stderr] Adding strs_tools v0.1.8 (latest: v0.11.0) [INFO] [stderr] Adding structmeta v0.1.6 (latest: v0.3.0) [INFO] [stderr] Adding structmeta-derive v0.1.6 (latest: v0.3.0) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.59) [INFO] [stderr] Adding test_tools v0.1.5 (latest: v0.8.0) [INFO] [stderr] Adding time_tools v0.1.4 (latest: v0.2.0) [INFO] [stderr] Adding type_constructor v0.1.19 (latest: v0.3.0) [INFO] [stderr] Adding typing_tools v0.1.5 (latest: v0.7.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] [stderr] Adding winterval v0.1.5 (latest: v0.3.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 957e618a91720d57c27fc76ae61417f50c87f070dc295a05ebf2784a72c135a7 [INFO] running `Command { std: "docker" "start" "-a" "957e618a91720d57c27fc76ae61417f50c87f070dc295a05ebf2784a72c135a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "957e618a91720d57c27fc76ae61417f50c87f070dc295a05ebf2784a72c135a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "957e618a91720d57c27fc76ae61417f50c87f070dc295a05ebf2784a72c135a7", kill_on_drop: false }` [INFO] [stdout] 957e618a91720d57c27fc76ae61417f50c87f070dc295a05ebf2784a72c135a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa067fb984d36462548bb785da221bfaf38253f0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71c66af8d7e71974540f3673fa4bacff78fb936e1f5cfda5b8d3efa63f846f73 [INFO] running `Command { std: "docker" "start" "-a" "71c66af8d7e71974540f3673fa4bacff78fb936e1f5cfda5b8d3efa63f846f73", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling winterval v0.1.5 [INFO] [stderr] Compiling type_constructor v0.1.19 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling mod_interface_runtime v0.1.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Checking former_runtime v0.1.11 [INFO] [stderr] Compiling for_each v0.1.3 [INFO] [stderr] Compiling literally v0.1.3 [INFO] [stderr] Compiling syn v2.0.59 [INFO] [stderr] Compiling convert_case v0.5.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking inspect_type v0.1.2 [INFO] [stderr] Checking winnow v0.6.6 [INFO] [stderr] Checking implements v0.1.1 [INFO] [stderr] Checking is_slice v0.1.1 [INFO] [stderr] Compiling trybuild v1.0.91 [INFO] [stderr] Checking pretty_assertions v1.2.1 [INFO] [stderr] Checking mem_tools v0.1.1 [INFO] [stderr] Checking typing_tools v0.1.5 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking diagnostics_tools v0.1.3 [INFO] [stderr] Checking data_type v0.1.9 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking dissimilar v1.0.7 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Compiling iter_tools v0.1.4 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Checking time_tools v0.1.4 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking toml_edit v0.22.9 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking error_tools v0.1.4 [INFO] [stderr] Compiling proc_macro_tools v0.1.17 [INFO] [stderr] Compiling structmeta-derive v0.1.6 [INFO] [stderr] Compiling clone_dyn_meta v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling impls_index_meta v0.1.1 [INFO] [stderr] Compiling former_meta v0.1.12 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Compiling impls_index v0.1.3 [INFO] [stderr] Compiling clone_dyn v0.1.0 [INFO] [stderr] Checking former v0.1.12 [INFO] [stderr] Checking woptions_runtime v0.1.3 [INFO] [stderr] Checking strs_tools v0.1.8 [INFO] [stderr] Compiling structmeta v0.1.6 [INFO] [stderr] Compiling parse-display-derive v0.5.5 [INFO] [stderr] Compiling parse-display v0.5.5 [INFO] [stderr] Compiling derive_tools v0.1.5 [INFO] [stderr] Compiling mod_interface_meta v0.1.11 [INFO] [stderr] Compiling mod_interface v0.1.16 [INFO] [stderr] Compiling meta_tools_min v0.2.13 [INFO] [stderr] Compiling woptions_meta v0.1.3 [INFO] [stderr] Checking woptions v0.1.3 [INFO] [stderr] Checking meta_tools v0.2.18 [INFO] [stderr] Checking wtest_basic v0.1.14 [INFO] [stderr] Checking wtools v0.2.20 [INFO] [stderr] Checking std_tools v0.1.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking test_tools v0.1.5 [INFO] [stdout] warning: unused import: `protected::*` [INFO] [stdout] --> rust/test/meta/./mod_interface/runtime/non_standard_micro_modules/mod.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub use protected::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protected::*` [INFO] [stdout] --> rust/test/meta/./mod_interface/runtime/non_standard_micro_modules_two/mod.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | pub use protected::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> rust/test/former/./all/basic.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: rust/test/former/./all/basic_only_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_tools::*; [INFO] [stdout] | ------------- the item `HashMap` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> rust/test/former/./all/basic.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: rust/test/former/./all/basic_only_test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_tools::*; [INFO] [stdout] | ------------- the item `HashSet` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> rust/test/former/./all/default_primitive.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_tools::*; [INFO] [stdout] | ------------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> rust/test/former/./all/default_primitive.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_tools::*; [INFO] [stdout] | ------------- the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 23 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> rust/test/former/./all/default_container.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_tools::*; [INFO] [stdout] | ------------- the item `HashMap` is already imported here [INFO] [stdout] ... [INFO] [stdout] 22 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> rust/test/former/./all/default_container.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | use test_tools::*; [INFO] [stdout] | ------------- the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 23 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delimeter_mut` is never used [INFO] [stdout] --> rust/test/options/./all/basic_manual.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub trait OptionsAdapter< 'a > [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 25 | fn delimeter_mut( &mut self ) -> &mut &'a str; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/dt/type_constructor/single_test.rs:1089:1 [INFO] [stdout] | [INFO] [stdout] 1089 | / tests_index! [INFO] [stdout] 1090 | | { [INFO] [stdout] 1091 | | [INFO] [stdout] 1092 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 1108 | | [INFO] [stdout] 1109 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `no_parameter_no_derive` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `$crate::_single` may come from an old version of the `type_constructor` crate, try updating your dependency with `cargo update -p type_constructor` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::_single` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/dt/type_constructor/single_test.rs:1089:1 [INFO] [stdout] | [INFO] [stdout] 1089 | / tests_index! [INFO] [stdout] 1090 | | { [INFO] [stdout] 1091 | | [INFO] [stdout] 1092 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 1108 | | [INFO] [stdout] 1109 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `parametrized_no_derives` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the macro `$crate::_single` may come from an old version of the `type_constructor` crate, try updating your dependency with `cargo update -p type_constructor` [INFO] [stdout] = note: this warning originates in the macro `$crate::_single` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / impl < 'c > Clone [INFO] [stdout] 38 | | for Box< dyn Trait1 + 'c > [INFO] [stdout] 39 | | { [INFO] [stdout] 40 | | #[ inline ] [INFO] [stdout] 41 | | fn clone( &self ) -> Self { _clone_boxed( &**self ) } [INFO] [stdout] 42 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `manual` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [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 macro `manual` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / impl < 'c > Clone [INFO] [stdout] 45 | | for Box< dyn Trait1 + Send + 'c > [INFO] [stdout] 46 | | { [INFO] [stdout] 47 | | #[ inline ] [INFO] [stdout] 48 | | fn clone( &self ) -> Self { _clone_boxed( &**self ) } [INFO] [stdout] 49 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `manual` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [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 macro `manual` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | / impl < 'c > Clone [INFO] [stdout] 52 | | for Box< dyn Trait1 + Sync + 'c > [INFO] [stdout] 53 | | { [INFO] [stdout] 54 | | #[ inline ] [INFO] [stdout] 55 | | fn clone( &self ) -> Self { _clone_boxed( &**self ) } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `manual` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [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 macro `manual` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / impl < 'c > Clone [INFO] [stdout] 59 | | for Box< dyn Trait1 + Send + Sync + 'c > [INFO] [stdout] 60 | | { [INFO] [stdout] 61 | | #[ inline ] [INFO] [stdout] 62 | | fn clone( &self ) -> Self { _clone_boxed( &**self ) } [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `manual` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [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 macro `manual` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | #[ clone_dyn ] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `basic` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `clone_dyn` may come from an old version of the `clone_dyn_meta` crate, try updating your dependency with `cargo update -p clone_dyn_meta` [INFO] [stdout] = note: this warning originates in the attribute macro `clone_dyn` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | #[ clone_dyn ] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `prelude` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `clone_dyn` may come from an old version of the `clone_dyn_meta` crate, try updating your dependency with `cargo update -p clone_dyn_meta` [INFO] [stdout] = note: this warning originates in the attribute macro `clone_dyn` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | #[ clone_dyn ] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `parametrized` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `clone_dyn` may come from an old version of the `clone_dyn_meta` crate, try updating your dependency with `cargo update -p clone_dyn_meta` [INFO] [stdout] = note: this warning originates in the attribute macro `clone_dyn` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> rust/test/derive/clone_dyn_test.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | #[ clone_dyn ] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | / tests_index! [INFO] [stdout] 149 | | { [INFO] [stdout] 150 | | manual, [INFO] [stdout] 151 | | basic, [INFO] [stdout] ... | [INFO] [stdout] 154 | | sample, [INFO] [stdout] 155 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `sample` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `clone_dyn` may come from an old version of the `clone_dyn_meta` crate, try updating your dependency with `cargo update -p clone_dyn_meta` [INFO] [stdout] = note: this warning originates in the attribute macro `clone_dyn` which comes from the expansion of the macro `tests_index` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.61s [INFO] running `Command { std: "docker" "inspect" "71c66af8d7e71974540f3673fa4bacff78fb936e1f5cfda5b8d3efa63f846f73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c66af8d7e71974540f3673fa4bacff78fb936e1f5cfda5b8d3efa63f846f73", kill_on_drop: false }` [INFO] [stdout] 71c66af8d7e71974540f3673fa4bacff78fb936e1f5cfda5b8d3efa63f846f73