[INFO] fetching crate googletest 0.10.0... [INFO] checking googletest-0.10.0 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] extracting crate googletest 0.10.0 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate googletest 0.10.0 on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate googletest 0.10.0 [INFO] finished tweaking crates.io crate googletest 0.10.0 [INFO] tweaked toml for crates.io crate googletest 0.10.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded rusty-fork v0.3.0 [INFO] [stderr] Downloaded googletest_macro v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90bb2c7ed4caad7b1b55f480d97548f8f7bcd45aadc1e830ccf86eb26bccbe71 [INFO] running `Command { std: "docker" "start" "-a" "90bb2c7ed4caad7b1b55f480d97548f8f7bcd45aadc1e830ccf86eb26bccbe71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90bb2c7ed4caad7b1b55f480d97548f8f7bcd45aadc1e830ccf86eb26bccbe71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90bb2c7ed4caad7b1b55f480d97548f8f7bcd45aadc1e830ccf86eb26bccbe71", kill_on_drop: false }` [INFO] [stdout] 90bb2c7ed4caad7b1b55f480d97548f8f7bcd45aadc1e830ccf86eb26bccbe71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe4a8f4d231e83d30f51e1877b5a867fb0e2f096f80a5a4413393405e72f2a8b [INFO] running `Command { std: "docker" "start" "-a" "fe4a8f4d231e83d30f51e1877b5a867fb0e2f096f80a5a4413393405e72f2a8b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Compiling googletest_macro v0.10.0 [INFO] [stderr] Checking googletest v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(u32), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/matches_pattern_test.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | A(u32), [INFO] [stdout] | - ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(u32), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/matches_pattern_test.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | A(u32), [INFO] [stdout] | - ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.19s [INFO] running `Command { std: "docker" "inspect" "fe4a8f4d231e83d30f51e1877b5a867fb0e2f096f80a5a4413393405e72f2a8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe4a8f4d231e83d30f51e1877b5a867fb0e2f096f80a5a4413393405e72f2a8b", kill_on_drop: false }` [INFO] [stdout] fe4a8f4d231e83d30f51e1877b5a867fb0e2f096f80a5a4413393405e72f2a8b [INFO] checking googletest-0.10.0 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] extracting crate googletest 0.10.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate googletest 0.10.0 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate googletest 0.10.0 [INFO] finished tweaking crates.io crate googletest 0.10.0 [INFO] tweaked toml for crates.io crate googletest 0.10.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b3402ed478d8e01df1a1c3b306b05a33a137fdcfdd8e680799d6fb9e263623 [INFO] running `Command { std: "docker" "start" "-a" "84b3402ed478d8e01df1a1c3b306b05a33a137fdcfdd8e680799d6fb9e263623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b3402ed478d8e01df1a1c3b306b05a33a137fdcfdd8e680799d6fb9e263623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b3402ed478d8e01df1a1c3b306b05a33a137fdcfdd8e680799d6fb9e263623", kill_on_drop: false }` [INFO] [stdout] 84b3402ed478d8e01df1a1c3b306b05a33a137fdcfdd8e680799d6fb9e263623 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-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" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 59ead0a87e6ca83ddc44a090d8b25ab636196e70d7495bde624f847aebcb5393 [INFO] running `Command { std: "docker" "start" "-a" "59ead0a87e6ca83ddc44a090d8b25ab636196e70d7495bde624f847aebcb5393", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling googletest_macro v0.10.0 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking googletest v0.10.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(u32), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/property_matcher_test.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / impl SomeStruct { [INFO] [stdout] 140 | | fn get_a_collection(&self) -> Vec { [INFO] [stdout] 141 | | vec![] [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `explains_mismatch_referencing_explanation_of_inner_matcher` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/property_matcher_test.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / impl SomeStruct { [INFO] [stdout] 175 | | fn get_a_collection_ref(&self) -> &[u32] { [INFO] [stdout] 176 | | &EMPTY_COLLECTION [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `explains_mismatch_referencing_explanation_of_inner_matcher_for_ref` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `googletest` (test "property_matcher_test") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/matches_pattern_test.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | A(u32), [INFO] [stdout] | - ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, String); [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Tuple` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 61 | struct Tuple(i32, ()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/field_matcher_test.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(u32), [INFO] [stdout] | ------------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 136 | AnotherValue(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/matches_pattern_test.rs:195:11 [INFO] [stdout] | [INFO] [stdout] 195 | A(u32), [INFO] [stdout] | - ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 195 | A(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/ge_matcher.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | / impl std::cmp::PartialEq for u32 { [INFO] [stdout] 202 | | fn eq(&self, _other: &VeryLowNumber) -> bool { [INFO] [stdout] 203 | | false [INFO] [stdout] 204 | | } [INFO] [stdout] 205 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `ge_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/ge_matcher.rs:207:9 [INFO] [stdout] | [INFO] [stdout] 207 | / impl std::cmp::PartialOrd for u32 { [INFO] [stdout] 208 | | fn partial_cmp(&self, _other: &VeryLowNumber) -> Option { [INFO] [stdout] 209 | | Some(std::cmp::Ordering::Greater) [INFO] [stdout] 210 | | } [INFO] [stdout] 211 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `ge_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/gt_matcher.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | / impl std::cmp::PartialEq for u32 { [INFO] [stdout] 238 | | fn eq(&self, _other: &VeryLowNumber) -> bool { [INFO] [stdout] 239 | | false [INFO] [stdout] 240 | | } [INFO] [stdout] 241 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `gt_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/gt_matcher.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / impl std::cmp::PartialOrd for u32 { [INFO] [stdout] 244 | | fn partial_cmp(&self, _other: &VeryLowNumber) -> Option { [INFO] [stdout] 245 | | Some(std::cmp::Ordering::Greater) [INFO] [stdout] 246 | | } [INFO] [stdout] 247 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `gt_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/le_matcher.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | / impl std::cmp::PartialEq for u32 { [INFO] [stdout] 203 | | fn eq(&self, _other: &VeryLowNumber) -> bool { [INFO] [stdout] 204 | | false [INFO] [stdout] 205 | | } [INFO] [stdout] 206 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `le_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/le_matcher.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | / impl std::cmp::PartialOrd for u32 { [INFO] [stdout] 209 | | fn partial_cmp(&self, _other: &VeryLowNumber) -> Option { [INFO] [stdout] 210 | | Some(std::cmp::Ordering::Greater) [INFO] [stdout] 211 | | } [INFO] [stdout] 212 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `le_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/property_matcher_test.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | / impl SomeStruct { [INFO] [stdout] 140 | | fn get_a_collection(&self) -> Vec { [INFO] [stdout] 141 | | vec![] [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `explains_mismatch_referencing_explanation_of_inner_matcher` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> tests/property_matcher_test.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / impl SomeStruct { [INFO] [stdout] 175 | | fn get_a_collection_ref(&self) -> &[u32] { [INFO] [stdout] 176 | | &EMPTY_COLLECTION [INFO] [stdout] 177 | | } [INFO] [stdout] 178 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `explains_mismatch_referencing_explanation_of_inner_matcher_for_ref` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/lt_matcher.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / impl std::cmp::PartialEq for u32 { [INFO] [stdout] 212 | | fn eq(&self, _other: &VeryLowNumber) -> bool { [INFO] [stdout] 213 | | false [INFO] [stdout] 214 | | } [INFO] [stdout] 215 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `lt_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/matchers/lt_matcher.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | / impl std::cmp::PartialOrd for u32 { [INFO] [stdout] 218 | | fn partial_cmp(&self, _other: &VeryLowNumber) -> Option { [INFO] [stdout] 219 | | Some(std::cmp::Ordering::Greater) [INFO] [stdout] 220 | | } [INFO] [stdout] 221 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current function `lt_matches_with_custom_partial_ord` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [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] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `googletest` (test "lib") due to 3 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `googletest` (lib test) due to 9 previous errors [INFO] running `Command { std: "docker" "inspect" "59ead0a87e6ca83ddc44a090d8b25ab636196e70d7495bde624f847aebcb5393", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ead0a87e6ca83ddc44a090d8b25ab636196e70d7495bde624f847aebcb5393", kill_on_drop: false }` [INFO] [stdout] 59ead0a87e6ca83ddc44a090d8b25ab636196e70d7495bde624f847aebcb5393