[INFO] cloning repository https://github.com/zeng-y-l/t2048 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zeng-y-l/t2048" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeng-y-l%2Ft2048", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeng-y-l%2Ft2048'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cdd48b73ed1edd94c8a313698f0969dea3b208a9 [INFO] checking zeng-y-l/t2048 against try#78c81ee3917a99dcff6e2e6822800f0492c415c3 for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeng-y-l%2Ft2048" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/zeng-y-l/t2048 [INFO] finished tweaking git repo https://github.com/zeng-y-l/t2048 [INFO] tweaked toml for git repo https://github.com/zeng-y-l/t2048 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zeng-y-l/t2048 on toolchain 78c81ee3917a99dcff6e2e6822800f0492c415c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/zeng-y-l/t2048 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" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.17 [INFO] [stderr] Downloaded async-net v1.8.0 [INFO] [stderr] Downloaded rand_seeder v0.2.3 [INFO] [stderr] Downloaded polling v3.3.1 [INFO] [stderr] Downloaded async-io v2.2.2 [INFO] [stderr] Downloaded async-task v4.6.0 [INFO] [stderr] Downloaded proptest-derive v0.4.0 [INFO] [stderr] Downloaded itertools v0.12.0 [INFO] [stderr] Downloaded proptest v1.4.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 049d1c73e102db08321370764542c231191d5040bc75b7bc680409ee30b64cc8 [INFO] running `Command { std: "docker" "start" "-a" "049d1c73e102db08321370764542c231191d5040bc75b7bc680409ee30b64cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "049d1c73e102db08321370764542c231191d5040bc75b7bc680409ee30b64cc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "049d1c73e102db08321370764542c231191d5040bc75b7bc680409ee30b64cc8", kill_on_drop: false }` [INFO] [stdout] 049d1c73e102db08321370764542c231191d5040bc75b7bc680409ee30b64cc8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+78c81ee3917a99dcff6e2e6822800f0492c415c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2452d8b2a1e3a889e6350baccca540241b7ca497f5b52032dfa04ffaa8473b43 [INFO] running `Command { std: "docker" "start" "-a" "2452d8b2a1e3a889e6350baccca540241b7ca497f5b52032dfa04ffaa8473b43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking async-task v4.6.0 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking event-listener v4.0.0 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking rand_seeder v0.2.3 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Checking async-net v1.8.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Checking async-signal v0.2.5 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking serde_json v1.0.108 [INFO] [stderr] Checking t2048 v0.5.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: type alias `SliceMut2D` is never used [INFO] [stdout] --> src/array2d.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | pub type SliceMut2D<'a, T> = Data2D<'a, T, MutRepr>; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_iter` and `vary` are never used [INFO] [stdout] --> src/array2d.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl Array2D<'_, T> { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn from_iter<'a>(iter: impl IntoIterator) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn vary<'a>(self) -> Array2D<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `borrow_mut` is never used [INFO] [stdout] --> src/array2d.rs:274:12 [INFO] [stdout] | [INFO] [stdout] 256 | impl Data2D<'_, T, R> { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 274 | pub fn borrow_mut(&mut self) -> SliceMut2D { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `push_many` is never used [INFO] [stdout] --> src/array2d.rs:368:16 [INFO] [stdout] | [INFO] [stdout] 354 | impl Builder { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 368 | pub fn push_many(&mut self, slice: &[T]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_lines` is never used [INFO] [stdout] --> src/board.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Board<'_, E> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn iter_lines( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `borrow` is never used [INFO] [stdout] --> src/repr.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | genTrait!(implRef ReprRef borrow Wrap : Repr); [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated function in this trait [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implRef` which comes from the expansion of the macro `genTrait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `borrow_mut` is never used [INFO] [stdout] --> src/repr.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | genTrait!(implMut ReprMut borrow_mut &mut Wrap : ReprRef); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated function in this trait [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implMut` which comes from the expansion of the macro `genTrait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MutRepr` is never constructed [INFO] [stdout] --> src/repr.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct MutRepr {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnRepr` is never constructed [INFO] [stdout] --> src/repr.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct OwnRepr {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn borrow(&self) -> Slice2D { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn borrow(&self) -> Slice2D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn as_cells(&mut self) -> Slice2D> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 267 | pub fn as_cells(&mut self) -> Slice2D<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn borrow_mut(&mut self) -> SliceMut2D { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 274 | pub fn borrow_mut(&mut self) -> SliceMut2D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn cells(&self) -> Slice2D> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 227 | pub fn cells(&self) -> Slice2D<'_, Option<(Level, E)>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter_lines` is never used [INFO] [stdout] --> src/board.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 126 | impl Board<'_, E> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | pub fn iter_lines( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `borrow` is never used [INFO] [stdout] --> src/repr.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | genTrait!(implRef ReprRef borrow Wrap : Repr); [INFO] [stdout] | ------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated function in this trait [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implRef` which comes from the expansion of the macro `genTrait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `borrow_mut` is never used [INFO] [stdout] --> src/repr.rs:45:27 [INFO] [stdout] | [INFO] [stdout] 45 | genTrait!(implMut ReprMut borrow_mut &mut Wrap : ReprRef); [INFO] [stdout] | ------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | associated function in this trait [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implMut` which comes from the expansion of the macro `genTrait` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnRepr` is never constructed [INFO] [stdout] --> src/repr.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct OwnRepr {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn borrow(&self) -> Slice2D { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 184 | pub fn borrow(&self) -> Slice2D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:267:21 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn as_cells(&mut self) -> Slice2D> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 267 | pub fn as_cells(&mut self) -> Slice2D<'_, Cell> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/array2d.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | pub fn borrow_mut(&mut self) -> SliceMut2D { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 274 | pub fn borrow_mut(&mut self) -> SliceMut2D<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:227:18 [INFO] [stdout] | [INFO] [stdout] 227 | pub fn cells(&self) -> Slice2D> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [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] 227 | pub fn cells(&self) -> Slice2D<'_, Option<(Level, E)>> { [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] --> src/geometry.rs:6:25 [INFO] [stdout] | [INFO] [stdout] 6 | #[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_Axis` [INFO] [stdout] 7 | pub enum Axis { [INFO] [stdout] | ---- `Axis` 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] --> src/geometry.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | #[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_Dir` [INFO] [stdout] 34 | pub enum Dir { [INFO] [stdout] | --- `Dir` 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.22s [INFO] running `Command { std: "docker" "inspect" "2452d8b2a1e3a889e6350baccca540241b7ca497f5b52032dfa04ffaa8473b43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2452d8b2a1e3a889e6350baccca540241b7ca497f5b52032dfa04ffaa8473b43", kill_on_drop: false }` [INFO] [stdout] 2452d8b2a1e3a889e6350baccca540241b7ca497f5b52032dfa04ffaa8473b43