@@ -818,7 +818,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
818
818
manifest_bytes. clone ( ) , self . run . validation . strict
819
819
) {
820
820
Ok ( manifest) => manifest,
821
- Err ( err ) => {
821
+ Err ( _ ) => {
822
822
self . metrics . invalid_manifests += 1 ;
823
823
warn ! (
824
824
"{}: failed to decode manifest." ,
@@ -948,7 +948,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
948
948
// Decode and validate the CRL.
949
949
let mut crl = match Crl :: decode ( crl_bytes. clone ( ) ) {
950
950
Ok ( crl) => crl,
951
- Err ( err ) => {
951
+ Err ( _ ) => {
952
952
self . metrics . invalid_crls += 1 ;
953
953
warn ! ( "{}: failed to decode CRL." , crl_uri) ;
954
954
return Ok ( None )
@@ -1080,7 +1080,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
1080
1080
stored_manifest. manifest ( ) . clone ( ) , self . run . validation . strict
1081
1081
) {
1082
1082
Ok ( manifest) => manifest,
1083
- Err ( err ) => {
1083
+ Err ( _ ) => {
1084
1084
self . metrics . invalid_manifests += 1 ;
1085
1085
warn ! (
1086
1086
"{}: failed to decode manifest." ,
@@ -1131,7 +1131,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
1131
1131
// Decode and validate the CRL.
1132
1132
let mut crl = match Crl :: decode ( stored_manifest. crl ( ) . clone ( ) ) {
1133
1133
Ok ( crl) => crl,
1134
- Err ( err ) => {
1134
+ Err ( _ ) => {
1135
1135
self . metrics . invalid_manifests += 1 ;
1136
1136
self . metrics . invalid_crls += 1 ;
1137
1137
warn ! ( "{}: failed to decode CRL." , crl_uri) ;
@@ -1277,7 +1277,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
1277
1277
) -> Result < ( ) , Failed > {
1278
1278
let cert = match Cert :: decode ( content) {
1279
1279
Ok ( cert) => cert,
1280
- Err ( err ) => {
1280
+ Err ( _ ) => {
1281
1281
manifest. metrics . invalid_certs += 1 ;
1282
1282
warn ! ( "{}: failed to decode certificate." , uri) ;
1283
1283
return Ok ( ( ) )
@@ -1392,7 +1392,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
1392
1392
content, self . run . validation . strict
1393
1393
) {
1394
1394
Ok ( roa) => roa,
1395
- Err ( err ) => {
1395
+ Err ( _ ) => {
1396
1396
manifest. metrics . invalid_roas += 1 ;
1397
1397
warn ! ( "{}: failed to decode ROA." , uri) ;
1398
1398
return Ok ( ( ) )
@@ -1459,7 +1459,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
1459
1459
content, self . run . validation . strict
1460
1460
) {
1461
1461
Ok ( obj) => obj,
1462
- Err ( err ) => {
1462
+ Err ( _ ) => {
1463
1463
manifest. metrics . invalid_gbrs += 1 ;
1464
1464
warn ! ( "{}: failed to decode GBR." , uri) ;
1465
1465
return Ok ( ( ) )
0 commit comments