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
I think it doesn't compile in latest nightly because the petgraph dependency of query-core uses a outdated version which is incompatible.
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:143:47
|
143 | self.graph_fmt(self.graph, f, |n, cb| cb(n), |e, cb| cb(e))
| - -- ^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::NodeWeight`
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:143:62
|
143 | self.graph_fmt(self.graph, f, |n, cb| cb(n), |e, cb| cb(e))
| - -- ^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::EdgeWeight`
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:154:32
|
154 | |n, cb| cb(&DebugFmt(n)),
| - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::NodeWeight`
error[E0716]: temporary value dropped while borrowed
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:154:36
|
154 | |n, cb| cb(&DebugFmt(n)),
| -- ----^^^^^^^^^^^-
| | | | |
| | | | temporary value is freed at the end of this statement
| | | creates a temporary which is freed while still in use
| | argument requires that borrow lasts for `'2`
| has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:155:32
|
155 | |e, cb| cb(&DebugFmt(e)))
| - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::EdgeWeight`
error[E0716]: temporary value dropped while borrowed
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:155:36
|
155 | |e, cb| cb(&DebugFmt(e)))
| -- ----^^^^^^^^^^^-
| | | | |
| | | | temporary value is freed at the end of this statement
| | | creates a temporary which is freed while still in use
| | argument requires that borrow lasts for `'2`
| has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
For more information about this error, try `rustc --explain E0716`.
error: could not compile `petgraph` due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
void :: Hexalite/Minecraft/java-edition ‹dev/next*› % nvim Cargo.toml 101 ↵
void :: Hexalite/Minecraft/java-edition ‹dev/next*› % cargo check
Updating git repository `https://github.com/petgraph/petgraph`
Checking petgraph v0.4.13
Checking combine v3.8.1
Checking mio v0.7.14
Checking futures-channel v0.3.21
Checking ring v0.16.20
Checking futures-lite v1.12.0
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:143:47
|
143 | self.graph_fmt(self.graph, f, |n, cb| cb(n), |e, cb| cb(e))
| - -- ^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::NodeWeight`
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:143:62
|
143 | self.graph_fmt(self.graph, f, |n, cb| cb(n), |e, cb| cb(e))
| - -- ^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::EdgeWeight`
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:154:32
|
154 | |n, cb| cb(&DebugFmt(n)),
| - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::NodeWeight`
error[E0716]: temporary value dropped while borrowed
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:154:36
|
154 | |n, cb| cb(&DebugFmt(n)),
| -- ----^^^^^^^^^^^-
| | | | |
| | | | temporary value is freed at the end of this statement
| | | creates a temporary which is freed while still in use
| | argument requires that borrow lasts for `'2`
| has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
error: lifetime may not live long enough
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:155:32
|
155 | |e, cb| cb(&DebugFmt(e)))
| - -- ^^^^^^^^^^^^^^^^ argument requires that `'1` must outlive `'2`
| | |
| | has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
| has type `&'1 <G as visit::Data>::EdgeWeight`
error[E0716]: temporary value dropped while borrowed
--> /home/exst/.cargo/registry/src/github.heygears.com-1ecc6299db9ec823/petgraph-0.4.13/src/dot.rs:155:36
|
155 | |e, cb| cb(&DebugFmt(e)))
| -- ----^^^^^^^^^^^-
| | | | |
| | | | temporary value is freed at the end of this statement
| | | creates a temporary which is freed while still in use
| | argument requires that borrow lasts for `'2`
| has type `&mut dyn FnMut(&'2 (dyn std::fmt::Display + '2)) -> Result<(), std::fmt::Error>`
For more information about this error, try `rustc --explain E0716`.
error: could not compile `petgraph` due to 6 previous errors
warning: build failed, waiting for other jobs to finish...
The text was updated successfully, but these errors were encountered:
I'm not really interested in providing nightly support, though it probably wouldn't hurt to run CI on nightly too. Seeing that it's because of a regression is helpful though, since after that is sorted out then I'd imagine it will still work.
I think it doesn't compile in latest nightly because the
petgraph
dependency ofquery-core
uses a outdated version which is incompatible.The text was updated successfully, but these errors were encountered: