[INFO] fetching crate color 0.0.1... [INFO] checking color-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate color 0.0.1 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate color 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate color 0.0.1 [INFO] finished tweaking crates.io crate color 0.0.1 [INFO] tweaked toml for crates.io crate color 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 928a550b6c5c2bc4461957bb62b11127744c35d7664bb3b778162b95ad597d4e [INFO] running `Command { std: "docker" "start" "-a" "928a550b6c5c2bc4461957bb62b11127744c35d7664bb3b778162b95ad597d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "928a550b6c5c2bc4461957bb62b11127744c35d7664bb3b778162b95ad597d4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928a550b6c5c2bc4461957bb62b11127744c35d7664bb3b778162b95ad597d4e", kill_on_drop: false }` [INFO] [stdout] 928a550b6c5c2bc4461957bb62b11127744c35d7664bb3b778162b95ad597d4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1de230369418a4238ccbc494e767690868e5e1597ad209a396b1ee1b2a78866f [INFO] running `Command { std: "docker" "start" "-a" "1de230369418a4238ccbc494e767690868e5e1597ad209a396b1ee1b2a78866f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking color v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/lib.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait Color3: Color { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 61 | fn into_fixed(self) -> [T, ..3]; [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] 62 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/lib.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 60 | pub trait Color3: Color { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 61 | fn into_fixed(self) -> [T, ..3]; [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] 62 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait Color4: Color { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 65 | fn into_fixed(self) -> [T, ..4]; [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] 66 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 64 | pub trait Color4: Color { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 65 | fn into_fixed(self) -> [T, ..4]; [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] 66 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/alpha.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 56 | impl> Color4 for AlphaColor { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 57 | fn into_fixed(self) -> [T, ..4] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 64 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/alpha.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 56 | impl> Color4 for AlphaColor { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 57 | fn into_fixed(self) -> [T, ..4] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 64 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/channel.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | #[inline] fn to_channel_u16(self) -> u16 { (self as u16 << 8) | self as u16 } [INFO] [stdout] | ^^ - interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 73 | #[inline] fn to_channel_u16(self) -> u16 { ((self as u16) << 8) | self as u16 } [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `<<` is interpreted as a start of generic arguments for `u16`, not a shift [INFO] [stdout] --> src/channel.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | #[inline] fn to_channel_u16(self) -> u16 { (self as u16 << 8) | self as u16 } [INFO] [stdout] | ^^ - interpreted as generic arguments [INFO] [stdout] | | [INFO] [stdout] | not interpreted as shift [INFO] [stdout] | [INFO] [stdout] help: try shifting the cast value [INFO] [stdout] | [INFO] [stdout] 73 | #[inline] fn to_channel_u16(self) -> u16 { ((self as u16) << 8) | self as u16 } [INFO] [stdout] | + + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/hsv.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 72 | impl Color3 for Hsv { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 73 | fn into_fixed(self) -> [T, ..3] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/hsv.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 72 | impl Color3 for Hsv { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 73 | fn into_fixed(self) -> [T, ..3] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/rgb.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 72 | impl Color3 for Rgb { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 73 | fn into_fixed(self) -> [T, ..3] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/rgb.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 72 | impl Color3 for Rgb { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 73 | fn into_fixed(self) -> [T, ..3] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 78 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::One`, `std::num::Zero` [INFO] [stdout] --> src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | use std::num::{One, Zero}; [INFO] [stdout] | ^^^ ^^^^ no `Zero` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `One` in `num` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::num::FpCategory::Zero [INFO] [stdout] std::num::IntErrorKind::Zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Primitive` [INFO] [stdout] --> src/channel.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::{Float, Primitive}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `Primitive` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::One`, `std::num::Zero` [INFO] [stdout] --> src/lib.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | use std::num::{One, Zero}; [INFO] [stdout] | ^^^ ^^^^ no `Zero` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `One` in `num` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these variants instead: [INFO] [stdout] std::num::FpCategory::Zero [INFO] [stdout] std::num::IntErrorKind::Zero [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `comment` in this scope [INFO] [stdout] --> src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | #![comment = "A library that provides types and conversions for working with [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Primitive` [INFO] [stdout] --> src/channel.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | use std::num::{Float, Primitive}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ no `Primitive` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | #![license = "ASL2"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `comment` in this scope [INFO] [stdout] --> src/lib.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | #![comment = "A library that provides types and conversions for working with [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `license` in this scope [INFO] [stdout] --> src/lib.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | #![license = "ASL2"] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/alpha.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/alpha.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/hsv.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/hsv.rs:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/rgb.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/rgb.rs:22:3 [INFO] [stdout] | [INFO] [stdout] 22 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/srgb.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/srgb.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ycbcr.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `deriving` in this scope [INFO] [stdout] --> src/ycbcr.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[deriving(Clone, PartialEq, Eq, Show)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `std::num` [INFO] [stdout] --> src/channel.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `std::num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `std::num` [INFO] [stdout] --> src/channel.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `std::num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `std::num` [INFO] [stdout] --> src/channel.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | std::num::cast(n).unwrap() [INFO] [stdout] | ^^^^ not found in `std::num` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/hsv.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hsv::cast`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/rgb.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rgb::cast`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/hsv.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/hsv.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> src/hsv.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | num::cast(n).unwrap() [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/channel.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `channel::cast`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/rgb.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rgb::cast`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/rgb.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/rgb.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `std::num` [INFO] [stdout] --> src/channel.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `std::num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> src/rgb.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | num::cast(n).unwrap() [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/channel.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `channel::cast`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/hsv.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hsv::cast`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `std::num` [INFO] [stdout] --> src/channel.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `std::num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `std::num` [INFO] [stdout] --> src/channel.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | std::num::cast(n).unwrap() [INFO] [stdout] | ^^^^ not found in `std::num` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/hsv.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hsv::cast`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/rgb.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rgb::cast`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/hsv.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/hsv.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> src/hsv.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | num::cast(n).unwrap() [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/channel.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `channel::cast`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/rgb.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `rgb::cast`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/rgb.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `NumCast` in module `num` [INFO] [stdout] --> src/rgb.rs:25:34 [INFO] [stdout] | [INFO] [stdout] 25 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> src/rgb.rs:26:10 [INFO] [stdout] | [INFO] [stdout] 26 | num::cast(n).unwrap() [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] | [INFO] [stdout] note: these functions exist but are inaccessible [INFO] [stdout] --> src/channel.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `channel::cast`: not accessible [INFO] [stdout] | [INFO] [stdout] ::: src/hsv.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | fn cast(n: T) -> U { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `hsv::cast`: not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(globs)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(globs)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `color` (lib test) due to 25 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `color` (lib) due to 25 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1de230369418a4238ccbc494e767690868e5e1597ad209a396b1ee1b2a78866f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1de230369418a4238ccbc494e767690868e5e1597ad209a396b1ee1b2a78866f", kill_on_drop: false }` [INFO] [stdout] 1de230369418a4238ccbc494e767690868e5e1597ad209a396b1ee1b2a78866f