Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Test failed because file missing #2

@BackMountainDevil

Description

@BackMountainDevil

file: crates/gmw/tests/boolean_aby2.rs

test code: fn eval_sample_lut()

run failed reason: file "test_resources/lut_circuits/lfa32_4.lut" missing. You can see only two files here named Sample LUT file.lut and minimal.lut. No lfa32_4.lut

detail:

warning: variable does not need to be mutable
   --> /home/mifen/Documents/code/remoc/remoc/src/rch/mpsc/receiver.rs:284:13
    |
284 |         let mut inner = self.inner.as_mut().unwrap();
    |             ----^^^^^
    |             |
    |             help: remove this `mut`
    |
    = note: `#[warn(unused_mut)]` on by default

warning: `remoc` (lib) generated 1 warning (run `cargo fix --lib -p remoc` to apply 1 suggestion)
warning: function `get_reg_noise_weight` is never used
   --> crates/zappot/src/silent_ot/mod.rs:683:4
    |
683 | fn get_reg_noise_weight(min_dist_ratio: f64, sec_param: usize) -> u64 {
    |    ^^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` on by default

warning: `zappot` (lib) generated 1 warning
    Finished test [unoptimized + debuginfo] target(s) in 0.26s
warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running tests/boolean_aby2.rs (target/debug/deps/boolean_aby2-3a7bfc06e825fa6f)

running 1 test
Error: Unable to load lut circuit file

Caused by:
    0: Unable to read LUT file
    1: No such file or directory (os error 2)
test eval_sample_lut ... FAILED

failures:

failures:
    eval_sample_lut

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

error: test failed, to rerun pass `-p gmw --test boolean_aby2`. 
 *  The terminal process "cargo 'test', '--package', 'gmw', '--test', 'boolean_aby2', '--', 'eval_sample_lut', '--exact', '--nocapture'" terminated with exit code: 101. 
 *  Terminal will be reused by tasks, press any key to close it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions