[INFO] fetching crate color 0.0.1... [INFO] testing color-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate color 0.0.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate color 0.0.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17f7f4a125f406190eb5cf1a1aa0aecd0ead9c0239bf48944c0f8679c26f5aec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "17f7f4a125f406190eb5cf1a1aa0aecd0ead9c0239bf48944c0f8679c26f5aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17f7f4a125f406190eb5cf1a1aa0aecd0ead9c0239bf48944c0f8679c26f5aec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17f7f4a125f406190eb5cf1a1aa0aecd0ead9c0239bf48944c0f8679c26f5aec", kill_on_drop: false }` [INFO] [stdout] 17f7f4a125f406190eb5cf1a1aa0aecd0ead9c0239bf48944c0f8679c26f5aec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb811573c6b544a4869f5fd48dcfe6601675870067326016e7a0f572a69211ba [INFO] running `Command { std: "docker" "start" "-a" "fb811573c6b544a4869f5fd48dcfe6601675870067326016e7a0f572a69211ba", kill_on_drop: false }` [INFO] [stderr] Compiling 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: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: `<` 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/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] [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 `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/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/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[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[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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | #![feature(globs)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the attribute [INFO] [stdout] | [INFO] [stdout] = help: the feature `globs` has been stable since 1.0.0 and no longer requires an attribute to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute [INFO] [stdout] --> src/lib.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | #![crate_type = "dylib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: attribute also specified here [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | #![crate_type = "rlib"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 25 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0425, E0432, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `color` due to 26 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fb811573c6b544a4869f5fd48dcfe6601675870067326016e7a0f572a69211ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb811573c6b544a4869f5fd48dcfe6601675870067326016e7a0f572a69211ba", kill_on_drop: false }` [INFO] [stdout] fb811573c6b544a4869f5fd48dcfe6601675870067326016e7a0f572a69211ba