Git Product home page Git Product logo

Comments (6)

Chilkos avatar Chilkos commented on September 2, 2024 1

Success! Thanks for your effort on this :)

from gurk-rs.

Chilkos avatar Chilkos commented on September 2, 2024

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.

gferon avatar gferon commented on September 2, 2024

Thanks for the report! I'll have a look ASAP and report back here.

from gurk-rs.

gferon avatar gferon commented on September 2, 2024

@Chilkos I think the merge of b9bf356 solved the issue you're seeing, could you try again?

from gurk-rs.

Chilkos avatar Chilkos commented on September 2, 2024

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.

gferon avatar gferon commented on September 2, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.