Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build issue with rust 1.78 #5479

Closed
landryb opened this issue May 14, 2024 · 0 comments · Fixed by #5484
Closed

build issue with rust 1.78 #5479

landryb opened this issue May 14, 2024 · 0 comments · Fixed by #5484

Comments

@landryb
Copy link

landryb commented May 14, 2024

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant