Comments (6)
Success! Thanks for your effort on this :)
from gurk-rs.
Just tried installing this in Linux Mint 20.1 on my Intel NUC, experienced the same error.
jasper@nuc-server:~$ rustc --version
rustc 1.52.1 (9bc8c42bb 2021-05-09)
jasper@nuc-server:~$ uname -a
Linux nuc-server 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
jasper@nuc-server:~$ cat /proc/cpuinfo | grep -E 'Revision|Model'
jasper@nuc-server:~$ cat /proc/cpuinfo
model name : Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz
from gurk-rs.
Thanks for the report! I'll have a look ASAP and report back here.
from gurk-rs.
@Chilkos I think the merge of b9bf356 solved the issue you're seeing, could you try again?
from gurk-rs.
Unfortunately still not working:
Compiling presage v0.1.0 (https://github.com/whisperfish/presage.git?rev=c290e49#c290e495)
error[E0053]: method `get_sub_device_sessions` has an incompatible type for trait
--> /home/chilko/.cargo/git/checkouts/presage-6024bc59a812fbaf/c290e49/src/config/sled.rs:328:5
|
328 | async fn get_sub_device_sessions(&self, name: &str) -> Result<Vec<u32>, SignalProtocolError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `futures::Future<Output = Result<Vec<u32>, libsignal_service::prelude::protocol::SignalProtocolError>> + std::marker::Send`, found trait `futures::Future<Output = Result<Vec<u32>, libsignal_service::prelude::protocol::SignalProtocolError>>`
|
= note: expected fn pointer `fn(&'life0 SledConfigStore, &'life1 str) -> Pin<Box<(dyn futures::Future<Output = Result<Vec<u32>, libsignal_service::prelude::protocol::SignalProtocolError>> + std::marker::Send + 'async_trait)>>`
found fn pointer `fn(&'life0 SledConfigStore, &'life1 str) -> Pin<Box<(dyn futures::Future<Output = Result<Vec<u32>, libsignal_service::prelude::protocol::SignalProtocolError>> + 'async_trait)>>`
error[E0053]: method `delete_session` has an incompatible type for trait
--> /home/chilko/.cargo/git/checkouts/presage-6024bc59a812fbaf/c290e49/src/config/sled.rs:350:5
|
350 | async fn delete_session(&self, address: &ProtocolAddress) -> Result<(), SignalProtocolError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `futures::Future<Output = Result<(), libsignal_service::prelude::protocol::SignalProtocolError>> + std::marker::Send`, found trait `futures::Future<Output = Result<(), libsignal_service::prelude::protocol::SignalProtocolError>>`
|
= note: expected fn pointer `fn(&'life0 SledConfigStore, &'life1 ProtocolAddress) -> Pin<Box<(dyn futures::Future<Output = Result<(), libsignal_service::prelude::protocol::SignalProtocolError>> + std::marker::Send + 'async_trait)>>`
found fn pointer `fn(&'life0 SledConfigStore, &'life1 ProtocolAddress) -> Pin<Box<(dyn futures::Future<Output = Result<(), libsignal_service::prelude::protocol::SignalProtocolError>> + 'async_trait)>>`
error[E0053]: method `delete_all_sessions` has an incompatible type for trait
--> /home/chilko/.cargo/git/checkouts/presage-6024bc59a812fbaf/c290e49/src/config/sled.rs:366:5
|
366 | async fn delete_all_sessions(&self, _name: &str) -> Result<usize, SignalProtocolError> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected trait `futures::Future<Output = Result<usize, libsignal_service::prelude::protocol::SignalProtocolError>> + std::marker::Send`, found trait `futures::Future<Output = Result<usize, libsignal_service::prelude::protocol::SignalProtocolError>>`
|
= note: expected fn pointer `fn(&'life0 SledConfigStore, &'life1 str) -> Pin<Box<(dyn futures::Future<Output = Result<usize, libsignal_service::prelude::protocol::SignalProtocolError>> + std::marker::Send + 'async_trait)>>`
found fn pointer `fn(&'life0 SledConfigStore, &'life1 str) -> Pin<Box<(dyn futures::Future<Output = Result<usize, libsignal_service::prelude::protocol::SignalProtocolError>> + 'async_trait)>>`
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0053`.
error: could not compile `presage`
To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `gurk v0.2.0 (https://github.com/boxdot/gurk-rs#b9bf3562)`, intermediate artifacts can be found at `/tmp/cargo-installpItOpW`
Caused by:
build failed
from gurk-rs.
@Chilkos I managed to reproduce the issue, it should be fixed! Thanks for reporting it, hopefully it works now.
from gurk-rs.
Related Issues (20)
- Add exponential back off when reconnecting messages stream
- Multiple instances of gurk causes Signal to become de-linked HOT 5
- feat: use OSC-8 for file:// links
- starting conversations HOT 2
- groups
- send attachments are not shown when also sending text HOT 2
- bug: notes send to self appear on the left side of the chat
- can't link HOT 7
- colour of my messages and other people's messages HOT 6
- unread/read status doesn't sync with official apps
- QR code doesn't work with light color schemes HOT 1
- protoc is an undocumented prerequisite HOT 3
- Only getting 1:1 messages, not group? HOT 4
- error: failed to run custom build command for `libsignal-protocol v0.1.0 (https://github.com/signalapp/libsignal?tag=v0.40.1#f980fccd)` HOT 4
- “Bad encrypted MMS message” and note to self notification on mobile client HOT 1
- Unable to link device HTTP 409 HOT 1
- Invalid QR code every time.
- NixOS, can't add device, Unexpected response: HTTP 409 HOT 1
- Rust 1.80.0 HOT 2
- Error when launching new release. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gurk-rs.