Skip to content

"test::system_tests" stdout diff in whitespace [x86_64-msvc-tools] #14

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

Closed
johnterickson opened this issue Feb 9, 2019 · 4 comments
Closed

Comments

@johnterickson
Copy link
Owner

2019-02-09T16:17:11.9007186Z ---- test::system_tests stdout ----
2019-02-09T16:17:11.9007283Z 
2019-02-09T16:17:11.9007432Z Mismatch at tests/source\issue-1210\a.rs:8:
2019-02-09T16:17:11.9007721Z              None => panic!(
2019-02-09T16:17:11.9007878Z                  "\n\ntarget `{}` is not \
2019-02-09T16:17:11.9007992Z                   configured as a host,
2019-02-09T16:17:11.9008141Z -                            only as a target\n\n",
2019-02-09T16:17:11.9008270Z +                            \
2019-02-09T16:17:11.9008384Z +                 only as a target\n\n",
2019-02-09T16:17:11.9008535Z                  target
2019-02-09T16:17:11.9008645Z              ),
2019-02-09T16:17:11.9008791Z          }
@johnterickson
Copy link
Owner Author

Very weird. Clippy is also failing with what seems to be identical outputs

https://dev.azure.com/johnterickson/rust-lang/_build/results?buildId=313

2019-02-11T19:52:51.4365592Z normalized stderr:
2019-02-11T19:52:51.4365635Z error: `0 as *const _` detected. Consider using `ptr::null()`
2019-02-11T19:52:51.4365864Z   --> $DIR/zero_ptr.rs:16:13
2019-02-11T19:52:51.4365904Z    |
2019-02-11T19:52:51.4365945Z 16 |     let x = 0 as *const usize;
2019-02-11T19:52:51.4365993Z    |             ^^^^^^^^^^^^^^^^^
2019-02-11T19:52:51.4366033Z    |
2019-02-11T19:52:51.4366074Z    = note: `-D clippy::zero-ptr` implied by `-D warnings`
2019-02-11T19:52:51.4366107Z 
2019-02-11T19:52:51.4366150Z error: `0 as *mut _` detected. Consider using `ptr::null_mut()`
2019-02-11T19:52:51.4366201Z   --> $DIR/zero_ptr.rs:17:13
2019-02-11T19:52:51.4366244Z    |
2019-02-11T19:52:51.4366282Z 17 |     let y = 0 as *mut f64;
2019-02-11T19:52:51.4366322Z    |             ^^^^^^^^^^^^^
2019-02-11T19:52:51.4366524Z 
2019-02-11T19:52:51.4366565Z error: aborting due to 2 previous errors
2019-02-11T19:52:51.4366592Z 
2019-02-11T19:52:51.4366621Z 
2019-02-11T19:52:51.4366644Z 
2019-02-11T19:52:51.4367022Z expected stderr:
2019-02-11T19:52:51.4367079Z error: `0 as *const _` detected. Consider using `ptr::null()`
2019-02-11T19:52:51.4367148Z   --> $DIR/zero_ptr.rs:16:13
2019-02-11T19:52:51.4367194Z    |
2019-02-11T19:52:51.4367247Z 16 |     let x = 0 as *const usize;
2019-02-11T19:52:51.4367296Z    |             ^^^^^^^^^^^^^^^^^
2019-02-11T19:52:51.4367343Z    |
2019-02-11T19:52:51.4367398Z    = note: `-D clippy::zero-ptr` implied by `-D warnings`
2019-02-11T19:52:51.4367432Z 
2019-02-11T19:52:51.4367481Z error: `0 as *mut _` detected. Consider using `ptr::null_mut()`
2019-02-11T19:52:51.4367548Z   --> $DIR/zero_ptr.rs:17:13
2019-02-11T19:52:51.4367593Z    |
2019-02-11T19:52:51.4367638Z 17 |     let y = 0 as *mut f64;
2019-02-11T19:52:51.4367692Z    |             ^^^^^^^^^^^^^
2019-02-11T19:52:51.4367723Z 
2019-02-11T19:52:51.4367770Z error: aborting due to 2 previous errors
2019-02-11T19:52:51.4367809Z 
2019-02-11T19:52:51.4367836Z 
2019-02-11T19:52:51.4367862Z 
2019-02-11T19:52:51.4367906Z diff of stderr:
2019-02-11T19:52:51.4367942Z 
2019-02-11T19:52:51.4367990Z  error: `0 as *const _` detected. Consider using `ptr::null()`
2019-02-11T19:52:51.4368050Z    --> $DIR/zero_ptr.rs:16:13
2019-02-11T19:52:51.4368103Z     |
2019-02-11T19:52:51.4368150Z  16 |     let x = 0 as *const usize;
2019-02-11T19:52:51.4368206Z     |             ^^^^^^^^^^^^^^^^^
2019-02-11T19:52:51.4368252Z     |
2019-02-11T19:52:51.4368302Z     = note: `-D clippy::zero-ptr` implied by `-D warnings`
2019-02-11T19:52:51.4368358Z  
2019-02-11T19:52:51.4368409Z  error: `0 as *mut _` detected. Consider using `ptr::null_mut()`
2019-02-11T19:52:51.4368544Z    --> $DIR/zero_ptr.rs:17:13
2019-02-11T19:52:51.4368596Z     |
2019-02-11T19:52:51.4368641Z  17 |     let y = 0 as *mut f64;
2019-02-11T19:52:51.4368695Z     |             ^^^^^^^^^^^^^
2019-02-11T19:52:51.4368740Z  
2019-02-11T19:52:51.4368788Z  error: aborting due to 2 previous errors

@johnterickson
Copy link
Owner Author

rust-lang#47101

@johnterickson
Copy link
Owner Author

rust-lang#45149

@johnterickson
Copy link
Owner Author

Seems like this was fixed in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant