Skip to content
New issue

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

Tests failures on i686-pc-mingw32 #12745

Closed
liigo opened this issue Mar 7, 2014 · 5 comments
Closed

Tests failures on i686-pc-mingw32 #12745

liigo opened this issue Mar 7, 2014 · 5 comments
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc O-windows Operating system: Windows

Comments

@liigo
Copy link
Contributor

liigo commented Mar 7, 2014

$ rustc --version
rustc.exe 0.10-pre (0e95b08 2014-03-06 15:11:42 -0800)
host: i686-pc-mingw32

make check Failures:

failures:

---- [run-pass] run-pass/exponential-notation.rs stdout ----

        error: test run failed!
        command: PATH="i686-pc-mingw32/stage2/bin/rustlib/i686-pc-mingw32/lib;;.;D:\MinGW\msys\1.0\local\bin;d:\mingw\bi
n;D:\MinGW\msys\1.0\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1
.0\;d:\CrossGCC\mips\share;d:\CrossGCC\mips\bin;d:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Windows Kits\8.0
\Windows Performance Toolkit\;d:\Go\bin;d:\Go\3rd\bin;d:\Program Files (x86)\Git\bin;d:\Program Files\MariaDB 5.5\bin;c:
\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Programs\lua52;d:\Program Files (x86)\XinAnTong;c:\Program Files
(x86)\Bitvise SSH Client;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnT
ong;d:\Program Files\TortoiseGit\bin;c:\Python27;c:\Python27\Scripts;d:\Program Files (x86)\Microsoft Visual Studio\Comm
on\Tools\WinNT;d:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;d:\Program Files (x86)\Microsoft Visual
 Studio\Common\Tools;d:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;d:\Program Files (x86)\CMake 2.8\bin;d:\Pro
gram Files (x86)\XinAnTong;d:\Program Files (x86)\Rust\bin;d:\Programs\Pawn\bin;i686-pc-mingw32\stage2\bin\rustlib\i686-
pc-mingw32\lib" i686-pc-mingw32\test\run-pass\exponential-notation.stage2-i686-pc-mingw32.exe
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        task '<main>' failed at 'called `Option::unwrap()` on a `None` value', D:\MinGW\msys\1.0\home\LIIGO\rust\rust\sr
c\libstd\option.rs:149

        ------------------------------------------

        task '[run-pass] run-pass/exponential-notation.rs' failed at 'explicit failure', D:\MinGW\msys\1.0\home\LIIGO\ru
st\rust\src\compiletest\runtest.rs:950

---- [run-pass] run-pass/extern-fn-reachable.rs stdout ----

        error: test run failed!
        command: PATH="i686-pc-mingw32/stage2/bin/rustlib/i686-pc-mingw32/lib;;.;D:\MinGW\msys\1.0\local\bin;d:\mingw\bi
n;D:\MinGW\msys\1.0\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1
.0\;d:\CrossGCC\mips\share;d:\CrossGCC\mips\bin;d:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Windows Kits\8.0
\Windows Performance Toolkit\;d:\Go\bin;d:\Go\3rd\bin;d:\Program Files (x86)\Git\bin;d:\Program Files\MariaDB 5.5\bin;c:
\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Programs\lua52;d:\Program Files (x86)\XinAnTong;c:\Program Files
(x86)\Bitvise SSH Client;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnT
ong;d:\Program Files\TortoiseGit\bin;c:\Python27;c:\Python27\Scripts;d:\Program Files (x86)\Microsoft Visual Studio\Comm
on\Tools\WinNT;d:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;d:\Program Files (x86)\Microsoft Visual
 Studio\Common\Tools;d:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;d:\Program Files (x86)\CMake 2.8\bin;d:\Pro
gram Files (x86)\XinAnTong;d:\Program Files (x86)\Rust\bin;d:\Programs\Pawn\bin;i686-pc-mingw32\stage2\bin\rustlib\i686-
pc-mingw32\lib" i686-pc-mingw32\test\run-pass\extern-fn-reachable.stage2-i686-pc-mingw32.exe
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        task '<main>' failed at 'assertion failed: a.symbol::<int>("fun1").is_ok()', D:\MinGW\msys\1.0\home\LIIGO\rust\r
ust\src\test\run-pass\extern-fn-reachable.rs:33

        ------------------------------------------

        task '[run-pass] run-pass/extern-fn-reachable.rs' failed at 'explicit failure', D:\MinGW\msys\1.0\home\LIIGO\rus
t\rust\src\compiletest\runtest.rs:950

---- [run-pass] run-pass/logging-only-prints-once.rs stdout ----

        error: test run failed!
        command: PATH="i686-pc-mingw32/stage2/bin/rustlib/i686-pc-mingw32/lib;;.;D:\MinGW\msys\1.0\local\bin;d:\mingw\bi
n;D:\MinGW\msys\1.0\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1
.0\;d:\CrossGCC\mips\share;d:\CrossGCC\mips\bin;d:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Windows Kits\8.0
\Windows Performance Toolkit\;d:\Go\bin;d:\Go\3rd\bin;d:\Program Files (x86)\Git\bin;d:\Program Files\MariaDB 5.5\bin;c:
\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Programs\lua52;d:\Program Files (x86)\XinAnTong;c:\Program Files
(x86)\Bitvise SSH Client;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnT
ong;d:\Program Files\TortoiseGit\bin;c:\Python27;c:\Python27\Scripts;d:\Program Files (x86)\Microsoft Visual Studio\Comm
on\Tools\WinNT;d:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;d:\Program Files (x86)\Microsoft Visual
 Studio\Common\Tools;d:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;d:\Program Files (x86)\CMake 2.8\bin;d:\Pro
gram Files (x86)\XinAnTong;d:\Program Files (x86)\Rust\bin;d:\Programs\Pawn\bin;i686-pc-mingw32\stage2\bin\rustlib\i686-
pc-mingw32\lib" i686-pc-mingw32\test\run-pass\logging-only-prints-once.stage2-i686-pc-mingw32.exe
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        task '<unnamed>' failed at 'called `Result::unwrap()` on an `Err` value', D:\MinGW\msys\1.0\home\LIIGO\rust\rust
\src\libstd\result.rs:187


        Instead of the poems I had hoped for, there came only a shuddering blackness
        and ineffable loneliness; and I saw at last a fearful truth which no one had
        ever dared to breathe before - the unwhisperable secret of secrets - The fact
        that this city of stone and stridor is not a sentient perpetuation of Old New
        York as London is of Old London and Paris of Old Paris, but that it is in fact
        quite dead, its sprawling body imperfectly embalmed and infested with queer
        animate things which have nothing to do with it as it was in life.

        fatal runtime error:  assertion failed: self.destroyed

        ------------------------------------------

        task '[run-pass] run-pass/logging-only-prints-once.rs' failed at 'explicit failure', D:\MinGW\msys\1.0\home\LIIG
O\rust\rust\src\compiletest\runtest.rs:950

---- [run-pass] run-pass/signal-exit-status.rs stdout ----

        error: test run failed!
        command: PATH="i686-pc-mingw32/stage2/bin/rustlib/i686-pc-mingw32/lib;;.;D:\MinGW\msys\1.0\local\bin;d:\mingw\bi
n;D:\MinGW\msys\1.0\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1
.0\;d:\CrossGCC\mips\share;d:\CrossGCC\mips\bin;d:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Windows Kits\8.0
\Windows Performance Toolkit\;d:\Go\bin;d:\Go\3rd\bin;d:\Program Files (x86)\Git\bin;d:\Program Files\MariaDB 5.5\bin;c:
\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Programs\lua52;d:\Program Files (x86)\XinAnTong;c:\Program Files
(x86)\Bitvise SSH Client;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnT
ong;d:\Program Files\TortoiseGit\bin;c:\Python27;c:\Python27\Scripts;d:\Program Files (x86)\Microsoft Visual Studio\Comm
on\Tools\WinNT;d:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;d:\Program Files (x86)\Microsoft Visual
 Studio\Common\Tools;d:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;d:\Program Files (x86)\CMake 2.8\bin;d:\Pro
gram Files (x86)\XinAnTong;d:\Program Files (x86)\Rust\bin;d:\Programs\Pawn\bin;i686-pc-mingw32\stage2\bin\rustlib\i686-
pc-mingw32\lib" i686-pc-mingw32\test\run-pass\signal-exit-status.stage2-i686-pc-mingw32.exe
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        task '<main>' failed at 'invalid termination (was not signalled): ExitStatus(-1073741783)', D:\MinGW\msys\1.0\ho
me\LIIGO\rust\rust\src\test\run-pass\signal-exit-status.rs:37

        ------------------------------------------

        task '[run-pass] run-pass/signal-exit-status.rs' failed at 'explicit failure', D:\MinGW\msys\1.0\home\LIIGO\rust
\rust\src\compiletest\runtest.rs:950

---- [run-pass] run-pass/spawning-with-debug.rs stdout ----

        error: test run failed!
        command: PATH="i686-pc-mingw32/stage2/bin/rustlib/i686-pc-mingw32/lib;;.;D:\MinGW\msys\1.0\local\bin;d:\mingw\bi
n;D:\MinGW\msys\1.0\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1
.0\;d:\CrossGCC\mips\share;d:\CrossGCC\mips\bin;d:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\Windows Kits\8.0
\Windows Performance Toolkit\;d:\Go\bin;d:\Go\3rd\bin;d:\Program Files (x86)\Git\bin;d:\Program Files\MariaDB 5.5\bin;c:
\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Programs\lua52;d:\Program Files (x86)\XinAnTong;c:\Program Files
(x86)\Bitvise SSH Client;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnTong;d:\Program Files (x86)\XinAnT
ong;d:\Program Files\TortoiseGit\bin;c:\Python27;c:\Python27\Scripts;d:\Program Files (x86)\Microsoft Visual Studio\Comm
on\Tools\WinNT;d:\Program Files (x86)\Microsoft Visual Studio\Common\MSDev98\Bin;d:\Program Files (x86)\Microsoft Visual
 Studio\Common\Tools;d:\Program Files (x86)\Microsoft Visual Studio\VC98\bin;d:\Program Files (x86)\CMake 2.8\bin;d:\Pro
gram Files (x86)\XinAnTong;d:\Program Files (x86)\Rust\bin;d:\Programs\Pawn\bin;i686-pc-mingw32\stage2\bin\rustlib\i686-
pc-mingw32\lib" i686-pc-mingw32\test\run-pass\spawning-with-debug.stage2-i686-pc-mingw32.exe
        stdout:
        ------------------------------------------

        ------------------------------------------
        stderr:
        ------------------------------------------
        task '<unnamed>' failed at 'called `Result::unwrap()` on an `Err` value', D:\MinGW\msys\1.0\home\LIIGO\rust\rust
\src\libstd\result.rs:187


        Instead of the poems I had hoped for, there came only a shuddering blackness
        and ineffable loneliness; and I saw at last a fearful truth which no one had
        ever dared to breathe before - the unwhisperable secret of secrets - The fact
        that this city of stone and stridor is not a sentient perpetuation of Old New
        York as London is of Old London and Paris of Old Paris, but that it is in fact
        quite dead, its sprawling body imperfectly embalmed and infested with queer
        animate things which have nothing to do with it as it was in life.

        fatal runtime error:  assertion failed: self.destroyed

        ------------------------------------------

        task '[run-pass] run-pass/spawning-with-debug.rs' failed at 'explicit failure', D:\MinGW\msys\1.0\home\LIIGO\rus
t\rust\src\compiletest\runtest.rs:950

---- [run-pass] run-pass/struct-lit-functional-update-no-fields.rs stdout ----
        task '[run-pass] run-pass/struct-lit-functional-update-no-fields.rs' failed at 'failed to exec `i686-pc-mingw32\
test\run-pass\struct-lit-functional-update-no-fields.stage2-i686-pc-mingw32.exe`', D:\MinGW\msys\1.0\home\LIIGO\rust\rus
t\src\libstd\option.rs:127


failures:
    [run-pass] run-pass/exponential-notation.rs
    [run-pass] run-pass/extern-fn-reachable.rs
    [run-pass] run-pass/logging-only-prints-once.rs
    [run-pass] run-pass/signal-exit-status.rs
    [run-pass] run-pass/spawning-with-debug.rs
    [run-pass] run-pass/struct-lit-functional-update-no-fields.rs

test result: FAILED. 1366 passed; 6 failed; 40 ignored; 0 measured

task '<main>' failed at 'Some tests failed', D:\MinGW\msys\1.0\home\LIIGO\rust\rust\src\compiletest\compiletest.rs:241
make: *** [tmp/check-stage2-T-i686-pc-mingw32-H-i686-pc-mingw32-rpass.ok] Error 101

Update: run make check-fast got one fail:

run-pass [stage2]: test\run-pass\exponential-notation.rs
task '<main>' failed at 'called `Option::unwrap()` on a `None` value', D:\MinGW\msys\1.0\home\LIIGO\rust\rust\src\libstd\option.rs:149
make: *** [i686-pc-mingw32/test/run_pass_stage2_driver-i686-pc-mingw32.out] Error 101
@klutzy
Copy link
Contributor

klutzy commented Mar 7, 2014

Did you run make check instead of make check-fast? It is somtimes broken (e.g. #10452) because buildbot only runs make check-fast which skips any tests that contain ignore-fast.

Anyway it should be fixed. I was also investigating them. Here's results so far:

exponential-notation.rs failure is strange, since it passes on buildbot. (Also on my machine, but I'm using mingw-w64 instead of mingw)

@liigo
Copy link
Contributor Author

liigo commented Mar 7, 2014

Yes, make check broken on Windows. I'm running make check-fast to see the results.

update: run make check-fast got one fail:

run-pass [stage2]: test\run-pass\exponential-notation.rs
task '<main>' failed at 'called `Option::unwrap()` on a `None` value', D:\MinGW\msys\1.0\home\LIIGO\rust\rust\src\libstd\option.rs:149
make: *** [i686-pc-mingw32/test/run_pass_stage2_driver-i686-pc-mingw32.out] Error 101

@klutzy
Copy link
Contributor

klutzy commented Apr 27, 2014

Current status:

@frewsxcv
Copy link
Member

Can anyone confirm this is still an issue?

@klutzy
Copy link
Contributor

klutzy commented Jan 26, 2015

This is fixed since windows buildbots run make check. (When this issue was opened, windows bots was running make check-fast which is light version of check so there had been several failures not covered by check-fast.)

@Gankra Gankra closed this as completed Feb 20, 2015
bors added a commit to rust-lang-ci/rust that referenced this issue Jul 25, 2022
…s-schievink

feat: Implement `ignore`  and `index` metavar expression

Part of rust-lang/rust-analyzer#11952

Fixes rust-lang/rust-analyzer#12675
flip1995 pushed a commit to flip1995/rust that referenced this issue May 2, 2024
Suggest collapsing nested or patterns if the MSRV allows it

Nested `or` patterns have been stable since 1.53, so we should be able to suggest `Some(1 | 2)` if the MSRV isn't set below that.

This change adds an msrv check and also moves it to `matches/mod.rs`, because it's also needed by `redundant_guards`.

changelog: [`collapsible_match`]: suggest collapsing nested or patterns if the MSRV allows it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc O-windows Operating system: Windows
Projects
None yet
Development

No branches or pull requests

5 participants