Skip to content

build issue with rust 1.78 #5479

@landryb

Description

@landryb

within influxdb 2.7.3 but should be the same on latest:

error: methods `into_type` and `location` are never used                                                                                                                              
    --> flux-core/src/semantic/types.rs:2192:8                                                                                                                                        
     |                                                                                                                                                                                
2189 | pub(crate) trait TypeLike {                                                                                                                                                    
     |                  -------- methods in this trait                                                                                                                                
...                                                                                                                                                                                   
2192 |     fn into_type(self) -> MonoType;                                                 
     |        ^^^^^^^^^                      
2193 |     fn error(&self, error: Error) -> Self::Error;                                   
2194 |     fn location(&self) -> crate::ast::SourceLocation;                               
     |        ^^^^^^^^                       
     |                                       
note: the lint level is defined here         
    --> flux-core/src/lib.rs:1:38            
     |                                       
1    | #![cfg_attr(feature = "strict", deny(warnings, missing_docs))]                      
     |                                      ^^^^^^^^                                       
     = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`                           

error: could not compile `flux-core` (lib) due to 1 previous error    

seems something changed in what warnings are considered hard errors ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions