diff -pruN 0.6.8-1/Cargo.toml 0.6.9-1/Cargo.toml
--- 0.6.8-1/Cargo.toml	1970-01-01 00:00:01.000000000 +0000
+++ 0.6.9-1/Cargo.toml	1970-01-01 00:00:01.000000000 +0000
@@ -12,7 +12,7 @@
 [package]
 edition = "2018"
 name = "bytecheck_derive"
-version = "0.6.8"
+version = "0.6.9"
 authors = ["David Koloski <djkoloski@gmail.com>"]
 description = "Derive macro for bytecheck"
 documentation = "https://docs.rs/bytecheck_derive"
@@ -21,6 +21,7 @@ repository = "https://github.com/djkolos
 
 [lib]
 proc-macro = true
+
 [dependencies.proc-macro2]
 version = "1.0"
 
diff -pruN 0.6.8-1/Cargo.toml.orig 0.6.9-1/Cargo.toml.orig
--- 0.6.8-1/Cargo.toml.orig	1973-11-29 21:33:09.000000000 +0000
+++ 0.6.9-1/Cargo.toml.orig	1973-11-29 21:33:09.000000000 +0000
@@ -1,6 +1,6 @@
 [package]
 name = "bytecheck_derive"
-version = "0.6.8"
+version = "0.6.9"
 authors = ["David Koloski <djkoloski@gmail.com>"]
 edition = "2018"
 description = "Derive macro for bytecheck"
diff -pruN 0.6.8-1/.cargo_vcs_info.json 0.6.9-1/.cargo_vcs_info.json
--- 0.6.8-1/.cargo_vcs_info.json	1970-01-01 00:00:01.000000000 +0000
+++ 0.6.9-1/.cargo_vcs_info.json	1970-01-01 00:00:01.000000000 +0000
@@ -1,6 +1,6 @@
 {
   "git": {
-    "sha1": "3adce968ed56368484f21f1a5f1ac333ce1e7989"
+    "sha1": "0e3cffa6f1b6fb6d4c0fcaca175cdf418790133f"
   },
   "path_in_vcs": "bytecheck_derive"
 }
\ No newline at end of file
diff -pruN 0.6.8-1/debian/cargo-checksum.json 0.6.9-1/debian/cargo-checksum.json
--- 0.6.8-1/debian/cargo-checksum.json	2022-07-09 11:06:52.000000000 +0000
+++ 0.6.9-1/debian/cargo-checksum.json	2022-08-05 08:56:17.000000000 +0000
@@ -1 +1 @@
-{"package":"edb17c862a905d912174daa27ae002326fff56dc8b8ada50a0a5f0976cb174f0","files":{}}
+{"package":"13e576ebe98e605500b3c8041bb888e966653577172df6dd97398714eb30b9bf","files":{}}
diff -pruN 0.6.8-1/debian/changelog 0.6.9-1/debian/changelog
--- 0.6.8-1/debian/changelog	2022-07-09 11:06:52.000000000 +0000
+++ 0.6.9-1/debian/changelog	2022-08-05 08:56:17.000000000 +0000
@@ -1,3 +1,9 @@
+rust-bytecheck-derive (0.6.9-1) unstable; urgency=medium
+
+  * Package bytecheck_derive 0.6.9 from crates.io using debcargo 2.5.0
+
+ -- Reinhard Tartler <siretart@tauware.de>  Fri, 05 Aug 2022 10:56:17 +0200
+
 rust-bytecheck-derive (0.6.8-1) unstable; urgency=medium
 
   * Package bytecheck_derive 0.6.8 from crates.io using debcargo 2.5.0
diff -pruN 0.6.8-1/debian/control 0.6.9-1/debian/control
--- 0.6.8-1/debian/control	2022-07-09 11:06:52.000000000 +0000
+++ 0.6.9-1/debian/control	2022-08-05 08:56:17.000000000 +0000
@@ -35,9 +35,9 @@ Provides:
  librust-bytecheck-derive-0.6-dev (= ${binary:Version}),
  librust-bytecheck-derive-0.6+default-dev (= ${binary:Version}),
  librust-bytecheck-derive-0.6+std-dev (= ${binary:Version}),
- librust-bytecheck-derive-0.6.8-dev (= ${binary:Version}),
- librust-bytecheck-derive-0.6.8+default-dev (= ${binary:Version}),
- librust-bytecheck-derive-0.6.8+std-dev (= ${binary:Version})
+ librust-bytecheck-derive-0.6.9-dev (= ${binary:Version}),
+ librust-bytecheck-derive-0.6.9+default-dev (= ${binary:Version}),
+ librust-bytecheck-derive-0.6.9+std-dev (= ${binary:Version})
 Description: Derive macro for bytecheck - Rust source code
  This package contains the source for the Rust bytecheck_derive crate, packaged
  by debcargo for use with cargo and dh-cargo.
diff -pruN 0.6.8-1/debian/tests/control 0.6.9-1/debian/tests/control
--- 0.6.8-1/debian/tests/control	2022-07-09 11:06:52.000000000 +0000
+++ 0.6.9-1/debian/tests/control	2022-08-05 08:56:17.000000000 +0000
@@ -1,19 +1,19 @@
-Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.8 --all-targets --all-features
+Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.9 --all-targets --all-features
 Features: test-name=rust-bytecheck-derive:@
 Depends: dh-cargo (>= 18), @
 Restrictions: allow-stderr, skip-not-installable
 
-Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.8 --all-targets 
+Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.9 --all-targets 
 Features: test-name=librust-bytecheck-derive-dev:default
 Depends: dh-cargo (>= 18), @
 Restrictions: allow-stderr, skip-not-installable
 
-Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.8 --all-targets --no-default-features --features std
+Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.9 --all-targets --no-default-features --features std
 Features: test-name=librust-bytecheck-derive-dev:std
 Depends: dh-cargo (>= 18), @
 Restrictions: allow-stderr, skip-not-installable
 
-Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.8 --all-targets --no-default-features
+Test-Command: /usr/share/cargo/bin/cargo-auto-test bytecheck_derive 0.6.9 --all-targets --no-default-features
 Features: test-name=librust-bytecheck-derive-dev:
 Depends: dh-cargo (>= 18), @
 Restrictions: allow-stderr, skip-not-installable
diff -pruN 0.6.8-1/src/lib.rs 0.6.9-1/src/lib.rs
--- 0.6.8-1/src/lib.rs	1973-11-29 21:33:09.000000000 +0000
+++ 0.6.9-1/src/lib.rs	1973-11-29 21:33:09.000000000 +0000
@@ -202,7 +202,10 @@ fn derive_check_bytes(mut input: DeriveI
                     impl #impl_generics CheckBytes<__C> for #name #ty_generics #check_where {
                         type Error = StructCheckError;
 
-                        unsafe fn check_bytes<'__bytecheck>(value: *const Self, context: &mut __C) -> Result<&'__bytecheck Self, Self::Error> {
+                        unsafe fn check_bytes<'__bytecheck>(
+                            value: *const Self,
+                            context: &mut __C,
+                        ) -> ::core::result::Result<&'__bytecheck Self, StructCheckError> {
                             let bytes = value.cast::<u8>();
                             #(#field_checks)*
                             Ok(&*value)
@@ -241,7 +244,10 @@ fn derive_check_bytes(mut input: DeriveI
                     impl #impl_generics CheckBytes<__C> for #name #ty_generics #check_where {
                         type Error = TupleStructCheckError;
 
-                        unsafe fn check_bytes<'__bytecheck>(value: *const Self, context: &mut __C) -> Result<&'__bytecheck Self, Self::Error> {
+                        unsafe fn check_bytes<'__bytecheck>(
+                            value: *const Self,
+                            context: &mut __C,
+                        ) -> ::core::result::Result<&'__bytecheck Self, TupleStructCheckError> {
                             let bytes = value.cast::<u8>();
                             #(#field_checks)*
                             Ok(&*value)
@@ -254,7 +260,10 @@ fn derive_check_bytes(mut input: DeriveI
                     impl #impl_generics CheckBytes<__C> for #name #ty_generics #impl_where_clause {
                         type Error = Infallible;
 
-                        unsafe fn check_bytes<'__bytecheck>(value: *const Self, context: &mut __C) -> Result<&'__bytecheck Self, Self::Error> {
+                        unsafe fn check_bytes<'__bytecheck>(
+                            value: *const Self,
+                            context: &mut __C,
+                        ) -> ::core::result::Result<&'__bytecheck Self, Infallible> {
                             Ok(&*value)
                         }
                     }
@@ -438,7 +447,10 @@ fn derive_check_bytes(mut input: DeriveI
                 impl #impl_generics CheckBytes<__C> for #name #ty_generics #check_where {
                     type Error = EnumCheckError<#repr>;
 
-                    unsafe fn check_bytes<'__bytecheck>(value: *const Self, context: &mut __C) -> Result<&'__bytecheck Self, Self::Error> {
+                    unsafe fn check_bytes<'__bytecheck>(
+                        value: *const Self,
+                        context: &mut __C,
+                    ) -> ::core::result::Result<&'__bytecheck Self, EnumCheckError<#repr>> {
                         let tag = *value.cast::<#repr>();
                         match tag {
                             #(#tag_variant_values => #check_arms)*
