influxdata / influxdata/influxdb

influxdb@1 1.11.{6,7} build failure

Open
#25,440 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

👋 seeing some source build failures for 1.11.{6,7} release as below:

```
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
warning: build failed, waiting for other jobs to finish...
Error installing library {"name": "flux", "error": "exit status 101"}
```

Updating flux dep seems resolving the issue for me.

relates to:
- https://github.com/Homebrew/homebrew-core/pull/193274
- https://github.com/Homebrew/homebrew-core/pull/180160

Contributor guide

Open the contributing guide

Research direction

Reproduce the source build failure for the 1.11.{6,7} releases, then inspect flux-core/src/semantic/types.rs and flux-core/src/lib.rs for the reported dead-code error. Check the Flux dependency update mentioned in the issue and verify that the affected releases build successfully without the compiler error.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system, databases
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.