Skip to content

test_no_warnings broken on newer stable Rust #416

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
luser opened this issue May 18, 2017 · 3 comments
Closed

test_no_warnings broken on newer stable Rust #416

luser opened this issue May 18, 2017 · 3 comments

Comments

@luser
Copy link
Contributor

luser commented May 18, 2017

My PR (#415) failed Travis, and per #411 (comment) the last Travis build on master was almost 6 months ago. January 14th, 2017, to be specific: a76dce4

It looks like this test was broken in Rust 1.15. I installed a few older releases via rustup and worked backwards until it passed, which it did with Rust 1.14:

Rust 1.14 results

luser@eye7:/build/gl-rs$ cargo +1.14.0 test --manifest-path gl_tests/test_no_warnings/Cargo.toml 
   Compiling khronos_api v1.0.0 (file:///build/gl-rs/khronos_api)
   Compiling bitflags v0.7.0
   Compiling log v0.3.7
   Compiling xml-rs v0.3.6
   Compiling gl_generator v0.5.2 (file:///build/gl-rs/gl_generator)
   Compiling test_no_warnings v0.0.0 (file:///build/gl-rs/gl_tests/test_no_warnings)
    Finished debug [unoptimized + debuginfo] target(s) in 66.56 secs
     Running gl_tests/test_no_warnings/target/debug/deps/test_no_warnings-54cea259b0a8ed88

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured

   Doc-tests test_no_warnings

running 12 tests
test egl_debug_struct::Egl::load_with_0 ... ignored
test egl_struct::Egl::load_with_0 ... ignored
test gl_debug_struct::Gl::load_with_0 ... ignored
test gl_struct::Gl::load_with_0 ... ignored
test gles1_debug_struct::Gles1::load_with_0 ... ignored
test gles1_struct::Gles1::load_with_0 ... ignored
test gles2_debug_struct::Gles2::load_with_0 ... ignored
test gles2_struct::Gles2::load_with_0 ... ignored
test glx_debug_struct::Glx::load_with_0 ... ignored
test glx_struct::Glx::load_with_0 ... ignored
test wgl_debug_struct::Wgl::load_with_0 ... ignored
test wgl_struct::Wgl::load_with_0 ... ignored

test result: ok. 0 passed; 0 failed; 12 ignored; 0 measured

and it fails with Rust 1.15:

Rust 1.15 results

luser@eye7:/build/gl-rs$ cargo +1.15.0 test --manifest-path gl_tests/test_no_warnings/Cargo.toml 
   Compiling test_no_warnings v0.0.0 (file:///build/gl-rs/gl_tests/test_no_warnings)
error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81338:9
      |
81338 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
note: lint level defined here
     --> gl_tests/test_no_warnings/lib.rs:16:9
      |
16    | #![deny(warnings)]
      |         ^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81339:9
      |
81339 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81344:9
      |
81344 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81345:9
      |
81345 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81346:9
      |
81346 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_utime_nanoseconds_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82963:9
      |
82963 |         pub type khronos_utime_nanoseconds_t = raw::c_int;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82964:9
      |
82964 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82965:9
      |
82965 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `EGLNativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82967:9
      |
82967 |         pub type EGLNativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `EGLNativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82968:9
      |
82968 |         pub type EGLNativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82970:9
      |
82970 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82971:9
      |
82971 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82972:9
      |
82972 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83388:9
      |
83388 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83389:9
      |
83389 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83394:9
      |
83394 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83395:9
      |
83395 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83396:9
      |
83396 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83973:9
      |
83973 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83974:9
      |
83974 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83979:9
      |
83979 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83980:9
      |
83980 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83981:9
      |
83981 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84672:9
      |
84672 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84673:9
      |
84673 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84678:9
      |
84678 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84679:9
      |
84679 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84680:9
      |
84680 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81338:9
      |
81338 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
note: lint level defined here
     --> gl_tests/test_no_warnings/lib.rs:16:9
      |
16    | #![deny(warnings)]
      |         ^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81339:9
      |
81339 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81344:9
      |
81344 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81345:9
      |
81345 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:81346:9
      |
81346 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_utime_nanoseconds_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82963:9
      |
82963 |         pub type khronos_utime_nanoseconds_t = raw::c_int;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82964:9
      |
82964 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82965:9
      |
82965 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `EGLNativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82967:9
      |
82967 |         pub type EGLNativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `EGLNativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82968:9
      |
82968 |         pub type EGLNativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82970:9
      |
82970 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82971:9
      |
82971 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:82972:9
      |
82972 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83388:9
      |
83388 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83389:9
      |
83389 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83394:9
      |
83394 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83395:9
      |
83395 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83396:9
      |
83396 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83973:9
      |
83973 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83974:9
      |
83974 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83979:9
      |
83979 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83980:9
      |
83980 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:83981:9
      |
83981 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_uint64_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84672:9
      |
84672 |         pub type khronos_uint64_t = u64;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `khronos_ssize_t`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84673:9
      |
84673 |         pub type khronos_ssize_t = isize;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeDisplayType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84678:9
      |
84678 |         pub type NativeDisplayType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativePixmapType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84679:9
      |
84679 |         pub type NativePixmapType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: type alias is never used: `NativeWindowType`
     --> /build/gl-rs/gl_tests/test_no_warnings/target/debug/build/test_no_warnings-77e6a93acbd794f4/out/test_no_warnings.rs:84680:9
      |
84680 |         pub type NativeWindowType = *const raw::c_void;
      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 28 previous errors

Build failed, waiting for other jobs to finish...
error: aborting due to 28 previous errors

error: Could not compile `test_no_warnings`.

To learn more, run the command again with --verbose.

Rust 1.15 was released Febuary 2nd, 2017, so the timing lines up as well.

@luser
Copy link
Contributor Author

luser commented May 18, 2017

Nothing in the release notes stands out.

@luser
Copy link
Contributor Author

luser commented May 18, 2017

I suspect this changed in rust-lang/rust#29973 .

brendanzab added a commit that referenced this issue May 21, 2017
This is a termporary fix for #416 - not sure if these aliases are actually needed :/
brendanzab added a commit that referenced this issue May 21, 2017
This is a termporary fix for #416 - not sure if these aliases are actually needed :/
brendanzab added a commit that referenced this issue May 21, 2017
This is a temporary fix for #416 - not sure if these aliases are actually needed :/
@brendanzab
Copy link
Collaborator

Added fixes to a bunch of issues in #417. Thanks for giving me a kick to get back to some housework!

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

No branches or pull requests

2 participants