@@ -818,7 +818,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
818818 manifest_bytes. clone ( ) , self . run . validation . strict
819819 ) {
820820 Ok ( manifest) => manifest,
821- Err ( err ) => {
821+ Err ( _ ) => {
822822 self . metrics . invalid_manifests += 1 ;
823823 warn ! (
824824 "{}: failed to decode manifest." ,
@@ -948,7 +948,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
948948 // Decode and validate the CRL.
949949 let mut crl = match Crl :: decode ( crl_bytes. clone ( ) ) {
950950 Ok ( crl) => crl,
951- Err ( err ) => {
951+ Err ( _ ) => {
952952 self . metrics . invalid_crls += 1 ;
953953 warn ! ( "{}: failed to decode CRL." , crl_uri) ;
954954 return Ok ( None )
@@ -1080,7 +1080,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
10801080 stored_manifest. manifest ( ) . clone ( ) , self . run . validation . strict
10811081 ) {
10821082 Ok ( manifest) => manifest,
1083- Err ( err ) => {
1083+ Err ( _ ) => {
10841084 self . metrics . invalid_manifests += 1 ;
10851085 warn ! (
10861086 "{}: failed to decode manifest." ,
@@ -1131,7 +1131,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
11311131 // Decode and validate the CRL.
11321132 let mut crl = match Crl :: decode ( stored_manifest. crl ( ) . clone ( ) ) {
11331133 Ok ( crl) => crl,
1134- Err ( err ) => {
1134+ Err ( _ ) => {
11351135 self . metrics . invalid_manifests += 1 ;
11361136 self . metrics . invalid_crls += 1 ;
11371137 warn ! ( "{}: failed to decode CRL." , crl_uri) ;
@@ -1277,7 +1277,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
12771277 ) -> Result < ( ) , Failed > {
12781278 let cert = match Cert :: decode ( content) {
12791279 Ok ( cert) => cert,
1280- Err ( err ) => {
1280+ Err ( _ ) => {
12811281 manifest. metrics . invalid_certs += 1 ;
12821282 warn ! ( "{}: failed to decode certificate." , uri) ;
12831283 return Ok ( ( ) )
@@ -1392,7 +1392,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
13921392 content, self . run . validation . strict
13931393 ) {
13941394 Ok ( roa) => roa,
1395- Err ( err ) => {
1395+ Err ( _ ) => {
13961396 manifest. metrics . invalid_roas += 1 ;
13971397 warn ! ( "{}: failed to decode ROA." , uri) ;
13981398 return Ok ( ( ) )
@@ -1459,7 +1459,7 @@ impl<'a, P: ProcessRun> PubPoint<'a, P> {
14591459 content, self . run . validation . strict
14601460 ) {
14611461 Ok ( obj) => obj,
1462- Err ( err ) => {
1462+ Err ( _ ) => {
14631463 manifest. metrics . invalid_gbrs += 1 ;
14641464 warn ! ( "{}: failed to decode GBR." , uri) ;
14651465 return Ok ( ( ) )
0 commit comments