jpcsmith / neqo-qcsd

The QCSD library code from "QCSD: A QUIC Client-Side Website-Fingerprinting Defence Framework" (USENIX Security 2022)
Apache License 2.0
8 stars 1 forks source link

An error occurred when running 'cargo build' #2

Open ETOjianglinpai opened 1 year ago

ETOjianglinpai commented 1 year ago
error: field `inf` is never read
   --> neqo-crypto/src/agent.rs:227:5
    |
212 | pub struct SecretAgent {
    |            ----------- field in this struct
...
227 |     inf: Option<SecretAgentInfo>,
    |     ^^^
    |
note: the lint level is defined here
   --> neqo-crypto/src/lib.rs:7:45
    |
7   | #![cfg_attr(feature = "deny-warnings", deny(warnings))]
    |                                             ^^^^^^^^
    = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]`
    = note: `SecretAgent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: field `fd` is never read
   --> neqo-crypto/src/agent.rs:872:5
    |
871 | struct ZeroRttCheckState {
    |        ----------------- field in this struct
872 |     fd: *mut ssl::PRFileDesc,
    |     ^^
    |
    = note: `ZeroRttCheckState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: fields `epoch`, `ct` and `len` are never read
  --> neqo-crypto/src/agentio.rs:37:5
   |
36 | struct RecordLength {
   |        ------------ fields in this struct
37 |     epoch: Epoch,
   |     ^^^^^
38 |     ct: ContentType,
   |     ^^
39 |     len: usize,
   |     ^^^
   |
   = note: `RecordLength` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis

error: could not compile `neqo-crypto` due to 3 previous errors

The version of Rust I'm using is 1.65.0, does it affect code runs?

jpcsmith commented 1 year ago

The Rust version is likely the reason, since we made no changes to the neqo-crypto library. Try with Rust 1.51.

ETOjianglinpai commented 1 year ago

Does neqo-qcsd need to run on qcsd-experiments? when I run ./target/debug/neqo-server [::]:12345 --db ./test-fixture/db, I got the error zsh: no matches found: [::]:12345, may I ask what should I do?

jpcsmith commented 1 year ago

That is an error from your shell, zsh, as opposed to the program. It possibly has something to do with needing to escape the string '[::]:12345'

jpcsmith commented 1 year ago

Try installing it without the git LFS files. It seems you've hit the quota for downloading some binary files stored with the repo.

On Sun, 15 Jan 2023 at 06:03, ETOjianglinpai @.***> wrote:

When I run python -m pip install --no-cache-dir -r requirements.txt, an error occured: [image: image] https://user-images.githubusercontent.com/116773941/212523712-1dced979-bdab-4b9e-a72f-e187cf15e32f.png in particular, I can't run python -m pip install git+ https://github.com/jpcsmith/wf-tools.git

— Reply to this email directly, view it on GitHub https://github.com/jpcsmith/neqo-qcsd/issues/2#issuecomment-1383057460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM4YXD5TQ5XP3AXQBQJLP3WSOALDANCNFSM6AAAAAATPIOOOA . You are receiving this because you commented.Message ID: @.***>