Closed
Description
Regression from 1.14.
https://github.com/alopatindev/iwls commit 7316d2125f848914e90b26d532dc2165db4054bf
brian@ip-10-145-43-250:/mnt2/dev/iwls⟫ rustc +beta -Vv
rustc 1.15.0-beta.1 (d9a0f0df7 2016-12-19)
binary: rustc
commit-hash: d9a0f0df7051c603011d6b60fbdd155318fc47f3
commit-date: 2016-12-19
host: x86_64-unknown-linux-gnu
release: 1.15.0-beta.1
LLVM version: 3.9
brian@ip-10-145-43-250:~/dev/iwls⟫ cargo +beta test
Compiling bitflags v0.7.0
Compiling vec_map v0.6.0
Compiling unicode-width v0.1.4
Compiling regex-syntax v0.3.9
Compiling utf8-ranges v0.1.3
Compiling rustc-serialize v0.3.22
Compiling winapi v0.2.8
Compiling winapi-build v0.1.1
Compiling unicode-segmentation v0.1.3
Compiling kernel32-sys v0.2.2
Compiling libc v0.2.18
Compiling order-stat v0.1.3
Compiling ansi_term v0.9.0
Compiling term_size v0.2.1
Compiling users v0.5.2
Compiling strsim v0.5.2
Compiling clap v2.19.3
Compiling memchr v0.1.11
Compiling rand v0.3.15
Compiling aho-corasick v0.5.3
Compiling thread-id v2.0.0
Compiling thread_local v0.2.7
Compiling regex v0.1.80
Compiling num-traits v0.1.36
Compiling num-complex v0.1.35
Compiling num-integer v0.1.32
Compiling num-iter v0.1.32
Compiling num-bigint v0.1.35
Compiling num-rational v0.1.35
Compiling num v0.1.36
Compiling nalgebra v0.10.1
Compiling wifiscanner v0.3.4
Compiling iwls v0.0.2 (file:///mnt2/dev/iwls)
warning: unknown lint: `float_cmp`, #[warn(unknown_lints)] on by default
--> src/lib.rs:402:13
|
402 | #[allow(float_cmp)]
| ^^^^^^^^^
Finished debug [unoptimized + debuginfo] target(s) in 41.10 secs
Running target/debug/deps/iwls-16b3454ea97ff6f7
running 6 tests
test tests::test_channels_intersect ... ok
test tests::test_parse_channel ... ok
test tests::test_to_readable_quality ... ok
test tests::test_to_readable_channel ... ok
test tests::test_signal_to_quality ... ok
test tests::test_compute_suggestion ... FAILED
failures:
---- tests::test_compute_suggestion stdout ----
thread 'tests::test_compute_suggestion' panicked at 'assertion failed: `(left == right)` (left: `[14, 11, 6, 1, 2]`, right: `[1, 2, 3, 4, 5]`)', src/lib.rs:451
note: Run with `RUST_BACKTRACE=1` for a backtrace.
failures:
tests::test_compute_suggestion
test result: FAILED. 5 passed; 1 failed; 0 ignored; 0 measured
error: test failed
cc @alopatindev