We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting eight test failures when I try to run the tests locally against master:
failures: ---- build::build_with_and_without_wasm_bindgen_debug stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpb6Za0F\wasm-pack thread 'build::build_with_and_without_wasm_bindgen_debug' panicked at 'assertion failed: `(left == right)` left: `false`, right: `true`: Should only contain moved value assertions when debug assertions are enabled', tests\all\build.rs:197:9 note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace. ---- test::cdylib_not_required stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpn1iWj2\wasm-pack thread 'test::cdylib_not_required' panicked at 'Unexpected failure. code-1 stderr=```[INFO]: Checking for the Wasm target... Compiling foo v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpn1iWj2\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.06s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\foo-8c3d9288e4deee31.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-58ea13aff44655c4\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\foo-8c3d9288e4deee31.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--node"` code=1 stdout=`````` stderr=```[INFO]: Checking for the Wasm target... Compiling foo v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpn1iWj2\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.39s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.06s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\foo-8c3d9288e4deee31.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-58ea13aff44655c4\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\foo-8c3d9288e4deee31.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:154:13 ---- test::it_can_find_a_webdriver_on_path stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpdJZHFE\wasm-pack thread 'test::it_can_find_a_webdriver_on_path' panicked at 'Unexpected failure. code-1 stderr=``` Compiling wbg-test-browser v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpdJZHFE\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.31s Finished dev [unoptimized + debuginfo] target(s) in 0.06s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--firefox" "--headless" "--mode" "no-install"` code=1 stdout=`````` stderr=``` Compiling wbg-test-browser v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpdJZHFE\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.31s Finished dev [unoptimized + debuginfo] target(s) in 0.06s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:154:13 ---- test::it_can_run_browser_tests stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmptj1NdY\wasm-pack thread 'test::it_can_run_browser_tests' panicked at 'Unexpected failure. code-1 stderr=```[INFO]: Checking for the Wasm target... Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--headless" "--firefox"` code=1 stdout=`````` stderr=```[INFO]: Checking for the Wasm target... Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_browser-24692dddaadbd2b1.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:154:13 ---- test::it_can_run_node_tests stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpsCHZnl\wasm-pack thread 'test::it_can_run_node_tests' panicked at 'Unexpected failure. code-1 stderr=```[INFO]: Checking for the Wasm target... Compiling wbg-test-node v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpsCHZnl\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.33s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_node-d2a74f64cb9c762c.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_node-d2a74f64cb9c762c.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--node"` code=1 stdout=`````` stderr=```[INFO]: Checking for the Wasm target... Compiling wbg-test-node v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpsCHZnl\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.33s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_node-d2a74f64cb9c762c.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_node-d2a74f64cb9c762c.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:154:13 ---- test::it_can_run_tests_with_different_wbg_test_and_wbg_versions stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpxLkoPZ\wasm-pack thread 'test::it_can_run_tests_with_different_wbg_test_and_wbg_versions' panicked at 'Unexpected failure. code-1 stderr=```[INFO]: Checking for the Wasm target... Compiling wbg-test-diff-versions v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpxLkoPZ\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.50s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.07s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_diff_versions-04d7df984392f06a.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-58ea13aff44655c4\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_diff_versions-04d7df984392f06a.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--node"` code=1 stdout=`````` stderr=```[INFO]: Checking for the Wasm target... Compiling wbg-test-diff-versions v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpxLkoPZ\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.50s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.07s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_diff_versions-04d7df984392f06a.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-58ea13aff44655c4\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\wbg_test_diff_versions-04d7df984392f06a.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:154:13 ---- test::renamed_crate_name_works stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpEAHv3n\wasm-pack thread 'test::renamed_crate_name_works' panicked at 'Unexpected failure. code-1 stderr=```[INFO]: Checking for the Wasm target... Compiling foo v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpEAHv3n\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\bar-42d251210dd2004d.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-58ea13aff44655c4\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\bar-42d251210dd2004d.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--node"` code=1 stdout=`````` stderr=```[INFO]: Checking for the Wasm target... Compiling foo v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpEAHv3n\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\bar-42d251210dd2004d.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-58ea13aff44655c4\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\bar-42d251210dd2004d.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:154:13 ---- test::test_output_is_printed_once_in_both_stdout_and_failures stdout ---- Created fixture at C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpIDGnTq\wasm-pack thread 'test::test_output_is_printed_once_in_both_stdout_and_failures' panicked at 'Unexpected stdout, failed fn(var) └── var as str: command=`"C:\\Users\\Steve Klabnik\\src\\wasm-pack\\target\\debug\\wasm-pack.exe" "test" "--node"` code=1 stdout=`````` stderr=```[INFO]: Checking for the Wasm target... Compiling test-output-printed-once v0.1.0 (C:\Users\Steve Klabnik\src\wasm-pack\target\t\.tmpIDGnTq\wasm-pack) Finished dev [unoptimized + debuginfo] target(s) in 0.32s [INFO]: Installing wasm-bindgen... Finished dev [unoptimized + debuginfo] target(s) in 0.05s Running C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\test_output_printed_once-979186abd982b0c1.wasm error: could not execute process `C:\Users\Steve Klabnik\src\wasm-pack\target\test_cache\wasm-bindgen-de1b2fa2130aaa0c\wasm-bindgen-test-runner.exe "C:\Users\Steve Klabnik\src\wasm-pack\target\wasm32-unknown-unknown\debug\deps\test_output_printed_once-979186abd982b0c1.wasm"` (never executed) Caused by: The system cannot find the file specified. (os error 2) Error: Running Wasm tests with wasm-bindgen-test failed Caused by: failed to execute `cargo test`: exited with exit code: 101 ``` ', C:\Users\Steve Klabnik\.cargo\registry\src\github.com-1ecc6299db9ec823\assert_cmd-0.11.1\src\assert.rs:353:17 failures: build::build_with_and_without_wasm_bindgen_debug test::cdylib_not_required test::it_can_find_a_webdriver_on_path test::it_can_run_browser_tests test::it_can_run_node_tests test::it_can_run_tests_with_different_wbg_test_and_wbg_versions test::renamed_crate_name_works test::test_output_is_printed_once_in_both_stdout_and_failures test result: FAILED. 53 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out
The text was updated successfully, but these errors were encountered:
debug is failing on all builds- the test failures on missing files seem specific here
Sorry, something went wrong.
this may be related to #611
@rylev any chance you could try to repro this?
@ashleygwilliams sorry I didn't see this before. I cloned the repo on a test box I have and ran cargo test and got the following output: https://gist.github.com/rylev/03e58d81941c3b8eb004102d94f02b31
cargo test
Not sure why the tests fail in this case...
No branches or pull requests
I'm getting eight test failures when I try to run the tests locally against master:
The text was updated successfully, but these errors were encountered: