You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steps to reproduce:
List the minimal actions needed to reproduce the behaviour.
... install rust-1.75.0
... compile influxdb-2.7.5
...
Expected behaviour:
compile without error
Actual behaviour:
Flux module is the main module {"modroot": "/root/go/pkg/mod/github.com/influxdata/flux@v0.194.5"}
Executing cargo build {"dir": "/root/go/pkg/mod/github.com/influxdata/flux@v0.194.5/libflux", "target": "x86_64-unknown-linux-gnu"}
warning: virtual workspace defaulting to resolver = "1" despite one or more workspace members being on edition 2021 which implies resolver = "2"
note: to keep the current resolver, specify workspace.resolver = "1" in the workspace root's manifest
note: to use the edition 2021 resolver, specify workspace.resolver = "2" in the workspace root's manifest
note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
Compiling proc-macro2 v1.0.56
error[E0422]: cannot find struct, variant or union type LineColumn in crate proc_macro
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/wrapper.rs:475:33
|
475 | let proc_macro::LineColumn { line, column } = s.start();
| ^^^^^^^^^^ not found in proc_macro
|
help: consider importing this struct through its public re-export
|
1 + use crate::LineColumn;
|
help: if you import LineColumn, refer to it directly
|
475 - let proc_macro::LineColumn { line, column } = s.start();
475 + let LineColumn { line, column } = s.start();
|
error[E0422]: cannot find struct, variant or union type LineColumn in crate proc_macro
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/wrapper.rs:489:33
|
489 | let proc_macro::LineColumn { line, column } = s.end();
| ^^^^^^^^^^ not found in proc_macro
|
help: consider importing this struct through its public re-export
|
1 + use crate::LineColumn;
|
help: if you import LineColumn, refer to it directly
|
489 - let proc_macro::LineColumn { line, column } = s.end();
489 + let LineColumn { line, column } = s.end();
|
Some errors have detailed explanations: E0422, E0635.
For more information about an error, try rustc --explain E0422.
error: could not compile proc-macro2 (lib) due to 3 previous errors
Error installing library {"name": "flux", "error": "exit status 101"}
/usr/src/influxdb-2.7.5/scripts/pkg-config.sh: exit status 1
make: *** [GNUmakefile:84: bin/linux/influxd] Error 1
Using these variables;
export GOPROXY="https://proxy.golang.org"
export GOSUMDB="sum.golang.org"
export GOFLAGS="-trimpath -mod=readonly -modcacherw"
export LDFLAGS=""
export RUSTFLAGS='-A hidden_glob_reexports'
PATH="$(go env GOPATH)/bin:$PATH" make -j1 VERSION=$VERSION COMMIT=$COMMIT INFLUXDB_SHA=$COMMIT &&
The text was updated successfully, but these errors were encountered:
Steps to reproduce:
List the minimal actions needed to reproduce the behaviour.
Expected behaviour:
compile without error
Actual behaviour:
Flux module is the main module {"modroot": "/root/go/pkg/mod/github.com/influxdata/flux@v0.194.5"}
Executing cargo build {"dir": "/root/go/pkg/mod/github.com/influxdata/flux@v0.194.5/libflux", "target": "x86_64-unknown-linux-gnu"}
warning: virtual workspace defaulting to
resolver = "1"
despite one or more workspace members being on edition 2021 which impliesresolver = "2"
note: to keep the current resolver, specify
workspace.resolver = "1"
in the workspace root's manifestnote: to use the edition 2021 resolver, specify
workspace.resolver = "2"
in the workspace root's manifestnote: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
Compiling proc-macro2 v1.0.56
error[E0422]: cannot find struct, variant or union type
LineColumn
in crateproc_macro
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/wrapper.rs:475:33
|
475 | let proc_macro::LineColumn { line, column } = s.start();
| ^^^^^^^^^^ not found in
proc_macro
|
help: consider importing this struct through its public re-export
|
1 + use crate::LineColumn;
|
help: if you import
LineColumn
, refer to it directly|
475 - let proc_macro::LineColumn { line, column } = s.start();
475 + let LineColumn { line, column } = s.start();
|
error[E0422]: cannot find struct, variant or union type
LineColumn
in crateproc_macro
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/wrapper.rs:489:33
|
489 | let proc_macro::LineColumn { line, column } = s.end();
| ^^^^^^^^^^ not found in
proc_macro
|
help: consider importing this struct through its public re-export
|
1 + use crate::LineColumn;
|
help: if you import
LineColumn
, refer to it directly|
489 - let proc_macro::LineColumn { line, column } = s.end();
489 + let LineColumn { line, column } = s.end();
|
error[E0635]: unknown feature
proc_macro_span_shrink
--> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/lib.rs:92:30
|
92 | feature(proc_macro_span, proc_macro_span_shrink)
| ^^^^^^^^^^^^^^^^^^^^^^
Some errors have detailed explanations: E0422, E0635.
For more information about an error, try
rustc --explain E0422
.error: could not compile
proc-macro2
(lib) due to 3 previous errorsError installing library {"name": "flux", "error": "exit status 101"}
/usr/src/influxdb-2.7.5/scripts/pkg-config.sh: exit status 1
make: *** [GNUmakefile:84: bin/linux/influxd] Error 1
Using these variables;
export GOPROXY="https://proxy.golang.org"
export GOSUMDB="sum.golang.org"
export GOFLAGS="-trimpath -mod=readonly -modcacherw"
export LDFLAGS=""
export RUSTFLAGS='-A hidden_glob_reexports'
PATH="$(go env GOPATH)/bin:$PATH" make -j1 VERSION=$VERSION COMMIT=$COMMIT INFLUXDB_SHA=$COMMIT &&
The text was updated successfully, but these errors were encountered: