[INFO] cloning repository https://github.com/rohankumardubey/nextest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/nextest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fnextest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fnextest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 04a0ac0cb4094603fda3230ca52025d99aa2a6e6 [INFO] checking rohankumardubey/nextest against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Fnextest" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/rohankumardubey/nextest [INFO] finished tweaking git repo https://github.com/rohankumardubey/nextest [INFO] tweaked toml for git repo https://github.com/rohankumardubey/nextest written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rohankumardubey/nextest on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rohankumardubey/nextest 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa70c96a83f73a11757b6e6c103d38cec5ca5571b12ae4262028d3ed6e59ac4b [INFO] running `Command { std: "docker" "start" "-a" "fa70c96a83f73a11757b6e6c103d38cec5ca5571b12ae4262028d3ed6e59ac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa70c96a83f73a11757b6e6c103d38cec5ca5571b12ae4262028d3ed6e59ac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa70c96a83f73a11757b6e6c103d38cec5ca5571b12ae4262028d3ed6e59ac4b", kill_on_drop: false }` [INFO] [stdout] fa70c96a83f73a11757b6e6c103d38cec5ca5571b12ae4262028d3ed6e59ac4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73d23d3d9f0336cfe5316a78bbd3020506787ea893d7502bb721fd811efb06dd [INFO] running `Command { std: "docker" "start" "-a" "73d23d3d9f0336cfe5316a78bbd3020506787ea893d7502bb721fd811efb06dd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling camino v1.0.7 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling semver v1.0.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling guppy-workspace-hack v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling target-spec v1.0.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling eyre v0.6.6 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Checking cfg-expr v0.10.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking nested v0.1.1 [INFO] [stderr] Checking debug-ignore v1.0.1 [INFO] [stderr] Checking twox-hash v1.6.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking shared_child v0.3.5 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking os_pipe v0.9.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking owo-colors v3.2.0 [INFO] [stderr] Checking duct v0.13.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking strip-ansi-escapes v0.1.1 [INFO] [stderr] Checking getrandom v0.2.4 [INFO] [stderr] Checking shellwords v1.1.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking enable-ansi-support v0.1.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking goldenfile v1.1.0 [INFO] [stderr] Checking pretty_assertions v1.1.0 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking quick-junit v0.1.5 (/opt/rustwide/workdir/quick-junit) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | testsuites_tag.extend_attributes(array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | test_suite_tag.extend_attributes(array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:154:53 [INFO] [stdout] | [INFO] [stdout] 154 | property_tag.extend_attributes(array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | testcase_tag.extend_attributes(array::IntoIter::new([("name", name.as_str())])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking proptest v1.0.0 [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | testsuites_tag.extend_attributes(array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:105:55 [INFO] [stdout] | [INFO] [stdout] 105 | test_suite_tag.extend_attributes(array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:154:53 [INFO] [stdout] | [INFO] [stdout] 154 | property_tag.extend_attributes(array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> quick-junit/src/serialize.rs:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | testcase_tag.extend_attributes(array::IntoIter::new([("name", name.as_str())])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking color-eyre v0.6.0 [INFO] [stderr] Checking ctrlc v3.2.1 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Compiling proptest-derive v0.3.0 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking humantime-serde v1.0.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking config v0.11.0 [INFO] [stderr] Checking cargo_metadata v0.14.1 [INFO] [stderr] Checking nextest-metadata v0.1.0 (/opt/rustwide/workdir/nextest-metadata) [INFO] [stderr] Checking guppy v0.13.0 [INFO] [stderr] Checking nextest-runner v0.1.1 (/opt/rustwide/workdir/nextest-runner) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> nextest-runner/src/runner.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / self.try_execute::(|test_event| { [INFO] [stdout] 124 | | callback(test_event); [INFO] [stdout] 125 | | Ok(()) [INFO] [stdout] 126 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nextest-runner/src/test_list.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get(&self, test_bin: impl AsRef) -> Option<&RustTestSuite> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get(&self, test_bin: impl AsRef) -> Option<&RustTestSuite<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nextest-runner/src/test_list.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | || [INFO] [stdout] | | | |the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn iter(&self) -> impl Iterator)> + '_ { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nextest-runner` (lib) due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> nextest-runner/src/runner.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | / self.try_execute::(|test_event| { [INFO] [stdout] 124 | | callback(test_event); [INFO] [stdout] 125 | | Ok(()) [INFO] [stdout] 126 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nextest-runner/src/test_list.rs:235:16 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get(&self, test_bin: impl AsRef) -> Option<&RustTestSuite> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 235 | pub fn get(&self, test_bin: impl AsRef) -> Option<&RustTestSuite<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> nextest-runner/src/test_list.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^ the same lifetime is elided here [INFO] [stdout] | | | || [INFO] [stdout] | | | |the same lifetime is hidden here [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn iter(&self) -> impl Iterator)> + '_ { [INFO] [stdout] | ++++ [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] --> nextest-runner/src/test_list/output_format.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_OutputFormat` [INFO] [stdout] 13 | #[non_exhaustive] [INFO] [stdout] 14 | pub enum OutputFormat { [INFO] [stdout] | ------------ `OutputFormat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (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] --> nextest-runner/src/test_list/output_format.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | #[cfg_attr(test, derive(proptest_derive::Arbitrary))] [INFO] [stdout] | ^------------------------- [INFO] [stdout] | | [INFO] [stdout] | `Arbitrary` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_ARBITRARY_FOR_SerializableFormat` [INFO] [stdout] 28 | #[non_exhaustive] [INFO] [stdout] 29 | pub enum SerializableFormat { [INFO] [stdout] | ------------------ `SerializableFormat` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `proptest_derive::Arbitrary` may come from an old version of the `proptest_derive` crate, try updating your dependency with `cargo update -p proptest_derive` [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: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `proptest_derive::Arbitrary` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nextest-runner` (lib test) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "73d23d3d9f0336cfe5316a78bbd3020506787ea893d7502bb721fd811efb06dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73d23d3d9f0336cfe5316a78bbd3020506787ea893d7502bb721fd811efb06dd", kill_on_drop: false }` [INFO] [stdout] 73d23d3d9f0336cfe5316a78bbd3020506787ea893d7502bb721fd811efb06dd