[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 master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzeng-y-l%2Ft2048" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/zeng-y-l/t2048 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smol v1.3.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.17 [INFO] [stderr] Downloaded rand_pcg v0.3.1 [INFO] [stderr] Downloaded async-net v1.8.0 [INFO] [stderr] Downloaded oneshot v0.1.6 [INFO] [stderr] Downloaded proptest-derive v0.4.0 [INFO] [stderr] Downloaded polling v3.3.1 [INFO] [stderr] Downloaded async-task v4.6.0 [INFO] [stderr] Downloaded async-io v2.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2270d0c62345a4b7afd7f271b5f9c889fdee70ef7ded8839340fd9fc30363dec [INFO] running `Command { std: "docker" "start" "-a" "2270d0c62345a4b7afd7f271b5f9c889fdee70ef7ded8839340fd9fc30363dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2270d0c62345a4b7afd7f271b5f9c889fdee70ef7ded8839340fd9fc30363dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2270d0c62345a4b7afd7f271b5f9c889fdee70ef7ded8839340fd9fc30363dec", kill_on_drop: false }` [INFO] [stdout] 2270d0c62345a4b7afd7f271b5f9c889fdee70ef7ded8839340fd9fc30363dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f5a91948d16f3e0ed4ba7a9bd570b0b45db22598bd1835460c61f5039ae356e [INFO] running `Command { std: "docker" "start" "-a" "2f5a91948d16f3e0ed4ba7a9bd570b0b45db22598bd1835460c61f5039ae356e", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.17 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking futures-io v0.3.29 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking futures-lite v2.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking async-task v4.6.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking rand_seeder v0.2.3 [INFO] [stderr] Checking rand_pcg v0.3.1 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking oneshot v0.1.6 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [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 crossterm v0.27.0 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking async-lock v3.2.0 [INFO] [stderr] Checking async-channel v2.1.1 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking async-executor v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking async-net v1.8.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling proptest-derive v0.4.0 [INFO] [stderr] Checking polling v3.3.1 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking async-io v2.2.2 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking async-signal v0.2.5 [INFO] [stderr] Checking proptest v1.4.0 [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 16.57s [INFO] running `Command { std: "docker" "inspect" "2f5a91948d16f3e0ed4ba7a9bd570b0b45db22598bd1835460c61f5039ae356e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f5a91948d16f3e0ed4ba7a9bd570b0b45db22598bd1835460c61f5039ae356e", kill_on_drop: false }` [INFO] [stdout] 2f5a91948d16f3e0ed4ba7a9bd570b0b45db22598bd1835460c61f5039ae356e