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

FTBFS with current Rust version #26

Open
bluet opened this issue Mar 15, 2015 · 1 comment
Open

FTBFS with current Rust version #26

bluet opened this issue Mar 15, 2015 · 1 comment

Comments

@bluet
Copy link

bluet commented Mar 15, 2015

matthew@0xB1uE7:/workspace/rust-playground/color-rs$ rustc -V
rustc 1.0.0-dev (built 2015-03-15)
matthew@0xB1uE7:
/workspace/rust-playground/color-rs$ cargo -V
cargo 0.0.1-pre (2d2e039 2015-03-14) (built 2015-03-16)

matthew@0xB1uE7:~/workspace/rust-playground/color-rs$ cargo build
Compiling color v0.0.1 (file:///home/matthew/workspace/rust-playground/color-rs)
src/alpha.rs:19:38: 19:42 warning: derive(Show) is deprecated in favor of derive(Debug)
src/alpha.rs:19 #[derive(Clone, Copy, PartialEq, Eq, Show)]
^~~~
src/hsv.rs:26:38: 26:42 warning: derive(Show) is deprecated in favor of derive(Debug)
src/hsv.rs:26 #[derive(Clone, Copy, PartialEq, Eq, Show)]
^~~~
src/rgb.rs:22:38: 22:42 warning: derive(Show) is deprecated in favor of derive(Debug)
src/rgb.rs:22 #[derive(Clone, Copy, PartialEq, Eq, Show)]
^~~~
src/srgb.rs:16:38: 16:42 warning: derive(Show) is deprecated in favor of derive(Debug)
src/srgb.rs:16 #[derive(Clone, Copy, PartialEq, Eq, Show)]
^~~~
src/ycbcr.rs:18:38: 18:42 warning: derive(Show) is deprecated in favor of derive(Debug)
src/ycbcr.rs:18 #[derive(Clone, Copy, PartialEq, Eq, Show)]
^~~~
src/channel.rs:21:12: 21:29 warning: use of unstable library feature 'core': trait is likely to be removed
src/channel.rs:21 fn cast<T: std::num::NumCast, U: std::num::NumCast>(n: T) -> U {
^~~~~~~~~~~~~~~~~
src/channel.rs:21:29: 21:29 help: add #![feature(core)] to the crate attributes to silence this warning
src/channel.rs:21:34: 21:51 warning: use of unstable library feature 'core': trait is likely to be removed
src/channel.rs:21 fn cast<T: std::num::NumCast, U: std::num::NumCast>(n: T) -> U {
^~~~~~~~~~~~~~~~~
src/channel.rs:21:51: 21:51 help: add #![feature(core)] to the crate attributes to silence this warning
src/channel.rs:22:5: 22:19 warning: use of unstable library feature 'core': likely to be removed
src/channel.rs:22 std::num::cast(n).unwrap()
^~~~~~~~~~~~~~
src/channel.rs:22:19: 22:19 help: add #![feature(core)] to the crate attributes to silence this warning
src/hsv.rs:22:12: 22:24 warning: use of unstable library feature 'core': trait is likely to be removed
src/hsv.rs:22 fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
^~~~~~~~~~~~
src/hsv.rs:22:24: 22:24 help: add #![feature(core)] to the crate attributes to silence this warning
src/hsv.rs:22:29: 22:41 warning: use of unstable library feature 'core': trait is likely to be removed
src/hsv.rs:22 fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
^~~~~~~~~~~~
src/hsv.rs:22:41: 22:41 help: add #![feature(core)] to the crate attributes to silence this warning
src/hsv.rs:23:5: 23:14 warning: use of unstable library feature 'core': likely to be removed
src/hsv.rs:23 num::cast(n).unwrap()
^~~~~~~~~
src/hsv.rs:23:14: 23:14 help: add #![feature(core)] to the crate attributes to silence this warning
src/hsv.rs:116:22: 116:32 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:116 let one: T = Float::one();
^~~~~~~~~~
src/hsv.rs:116:32: 116:32 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:117:49: 117:59 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:117 let x = chr * (one - ((h % cast(2u8)) - Float::one()).abs());
^~~~~~~~~~
src/hsv.rs:117:59: 117:59 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:120:62: 120:73 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:120 if h < cast(1u8) { Rgb::new(chr.clone(), x, Float::zero()) }
^~~~~~~~~~~
src/hsv.rs:120:73: 120:73 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:121:62: 121:73 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:121 else if h < cast(2u8) { Rgb::new(x, chr.clone(), Float::zero()) }
^~~~~~~~~~~
src/hsv.rs:121:73: 121:73 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:122:46: 122:57 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:122 else if h < cast(3u8) { Rgb::new(Float::zero(), chr.clone(), x) }
^~~~~~~~~~~
src/hsv.rs:122:57: 122:57 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:123:46: 123:57 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:123 else if h < cast(4u8) { Rgb::new(Float::zero(), x, chr.clone()) }
^~~~~~~~~~~
src/hsv.rs:123:57: 123:57 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:124:49: 124:60 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:124 else if h < cast(5u8) { Rgb::new(x, Float::zero(), chr.clone()) }
^~~~~~~~~~~
src/hsv.rs:124:60: 124:60 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:125:59: 125:70 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:125 else if h < cast(6u8) { Rgb::new(chr.clone(), Float::zero(), x) }
^~~~~~~~~~~
src/hsv.rs:125:70: 125:70 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:126:46: 126:57 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:126 else { Rgb::new(Float::zero(), Float::zero(), Float::zero()) };
^~~~~~~~~~~
src/hsv.rs:126:57: 126:57 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:126:61: 126:72 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:126 else { Rgb::new(Float::zero(), Float::zero(), Float::zero()) };
^~~~~~~~~~~
src/hsv.rs:126:72: 126:72 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/hsv.rs:126:76: 126:87 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/hsv.rs:126 else { Rgb::new(Float::zero(), Float::zero(), Float::zero()) };
^~~~~~~~~~~
src/hsv.rs:126:87: 126:87 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/rgb.rs:25:12: 25:24 warning: use of unstable library feature 'core': trait is likely to be removed
src/rgb.rs:25 fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
^~~~~~~~~~~~
src/rgb.rs:25:24: 25:24 help: add #![feature(core)] to the crate attributes to silence this warning
src/rgb.rs:25:29: 25:41 warning: use of unstable library feature 'core': trait is likely to be removed
src/rgb.rs:25 fn cast<T: num::NumCast, U: num::NumCast>(n: T) -> U {
^~~~~~~~~~~~
src/rgb.rs:25:41: 25:41 help: add #![feature(core)] to the crate attributes to silence this warning
src/rgb.rs:26:5: 26:14 warning: use of unstable library feature 'core': likely to be removed
src/rgb.rs:26 num::cast(n).unwrap()
^~~~~~~~~
src/rgb.rs:26:14: 26:14 help: add #![feature(core)] to the crate attributes to silence this warning
src/rgb.rs:119:19: 119:30 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/rgb.rs:119 if chr != Float::zero() {
^~~~~~~~~~~
src/rgb.rs:119:30: 119:30 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/rgb.rs:131:22: 131:33 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/rgb.rs:131 Hsv::new(Float::zero(), Float::zero(), mx)
^~~~~~~~~~~
src/rgb.rs:131:33: 131:33 help: add #![feature(std_misc)] to the crate attributes to silence this warning
src/rgb.rs:131:37: 131:48 warning: use of unstable library feature 'std_misc': unsure about its place in the world
src/rgb.rs:131 Hsv::new(Float::zero(), Float::zero(), mx)
^~~~~~~~~~~
src/rgb.rs:131:48: 131:48 help: add #![feature(std_misc)] to the crate attributes to silence this warning

@bluet
Copy link
Author

bluet commented Mar 15, 2015

As this module is introduces by http://doc.crates.io/guide.html
I guess it shouldn't be failed on build?

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