cargo build --release --target-dir=target Finished release [optimized] target(s) in 0.69s cargo test --release --target-dir=target Downloading crates ... Downloaded autocfg v1.0.1 Downloaded proc-macro2 v1.0.34 Downloaded nix v0.23.1 Downloaded remove_dir_all v0.5.3 Downloaded quote v1.0.10 Downloaded syn v1.0.82 Downloaded unicode-xid v0.2.2 Downloaded memoffset v0.6.5 Downloaded fs_extra v1.2.0 Downloaded ctor v0.1.21 Downloaded tempfile v3.2.0 Compiling cfg-if v1.0.0 Compiling ppv-lite86 v0.2.15 Compiling proc-macro2 v1.0.34 Compiling ahash v0.4.7 Compiling autocfg v1.0.1 Compiling unicode-xid v0.2.2 Compiling bitflags v1.3.2 Compiling syn v1.0.82 Compiling unicode-width v0.1.9 Compiling fasteval v0.2.4 Compiling remove_dir_all v0.5.3 Compiling fs_extra v1.2.0 Compiling libc v0.2.112 Compiling anyhow v1.0.51 Compiling log v0.4.14 Compiling textwrap v0.11.0 Compiling hashbrown v0.9.1 Compiling liboverdrop v0.0.2 Compiling clap v2.34.0 Compiling memoffset v0.6.5 Compiling quote v1.0.10 Compiling getrandom v0.2.3 Compiling nix v0.23.1 Compiling rand_core v0.6.3 Compiling rand_chacha v0.3.1 Compiling rand v0.8.4 Compiling dlv-list v0.2.3 Compiling tempfile v3.2.0 Compiling ordered-multimap v0.3.1 Compiling rust-ini v0.17.0 Compiling ctor v0.1.21 Compiling zram-generator v1.1.1 (/build/zram-generator/src/zram-generator-1.1.1) Finished release [optimized] target(s) in 4m 44s Running unittests (target/release/deps/zram_generator-72defb3a07a4c284) running 14 tests test config::tests::test_eval_size_expression_default ... ok test config::tests::test_eval_size_expression_inf ... ok test config::tests::test_eval_size_expression ... ok test config::tests::test_eval_size_expression_min ... ok test config::tests::test_eval_size_expression_default_equivalent ... ok test config::tests::test_kernel_has_no_option ... ok test generator::tests::test_parse_known_compressors ... ok test config::tests::test_get_total_memory_kb ... ok test config::tests::test_kernel_has_option ... ok test config::tests::test_verify_mount_point ... ok test generator::tests::test_unit_name_from_path ... ok test config::tests::test_eval_size_expression_nan - should panic ... ok test config::tests::test_get_total_memory_not_found - should panic ... ok test config::tests::test_eval_size_expression_unknown_variable - should panic ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running unittests (target/release/deps/zram_generator-1240835f875dbee3) running 14 tests test config::tests::test_eval_size_expression_default ... ok test config::tests::test_eval_size_expression ... ok test config::tests::test_eval_size_expression_inf ... ok test config::tests::test_eval_size_expression_min ... ok test config::tests::test_eval_size_expression_default_equivalent ... ok test config::tests::test_kernel_has_option ... ok test config::tests::test_get_total_memory_kb ... ok test config::tests::test_kernel_has_no_option ... ok test generator::tests::test_unit_name_from_path ... ok test generator::tests::test_parse_known_compressors ... ok test config::tests::test_verify_mount_point ... ok test config::tests::test_eval_size_expression_nan - should panic ... ok test config::tests::test_eval_size_expression_unknown_variable - should panic ... ok test config::tests::test_get_total_memory_not_found - should panic ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s Running tests/test_cases.rs (target/release/deps/test_cases-7116072210bce0c2) thread '' panicked at 'unshare(NEWUSER): EINVAL', tests/test_cases.rs:20:58 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace fatal runtime error: failed to initiate panic, error 5 error: test failed, to rerun pass '--test test_cases' Caused by: process didn't exit successfully: `/build/zram-generator/src/zram-generator-1.1.1/target/release/deps/test_cases-7116072210bce0c2` (signal: 6, SIGABRT: process abort signal) make: *** [Makefile:41: check] Error 101 ==> ERROR: A failure occurred in check().  Aborting...