[INFO] fetching crate color 0.0.1... [INFO] documenting color-0.0.1 against 1.46.0 for beta-1.47-rustdoc-1 [INFO] extracting crate color 0.0.1 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate color 0.0.1 on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41a6dacc4b6f624ededc1b4721c8ce7444294393369fada1ac78263370f0db06 [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" "41a6dacc4b6f624ededc1b4721c8ce7444294393369fada1ac78263370f0db06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41a6dacc4b6f624ededc1b4721c8ce7444294393369fada1ac78263370f0db06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a6dacc4b6f624ededc1b4721c8ce7444294393369fada1ac78263370f0db06", kill_on_drop: false }` [INFO] [stdout] 41a6dacc4b6f624ededc1b4721c8ce7444294393369fada1ac78263370f0db06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "RUSTDOCFLAGS=--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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e6c8db742ab72fba81455a7614955dc817de7f02a585822456a9023fb8289583 [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" "e6c8db742ab72fba81455a7614955dc817de7f02a585822456a9023fb8289583", kill_on_drop: false }` [INFO] [stderr] Documenting 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[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / #![comment = "A library that provides types and conversions for working with [INFO] [stdout] 19 | | various color formats."] [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: non-builtin inner attributes are unstable [INFO] [stdout] --> src/lib.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #![license = "ASL2"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #54726 for more information [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] | help: try shifting the cast value: `(self as u16)` [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[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[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[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] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: Could not document `color`. [INFO] [stdout] error: aborting due to 25 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0405, E0432, E0554, E0658. [INFO] [stdout] [INFO] [stderr] Caused by: [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type lib --crate-name color src/lib.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e6c8db742ab72fba81455a7614955dc817de7f02a585822456a9023fb8289583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6c8db742ab72fba81455a7614955dc817de7f02a585822456a9023fb8289583", kill_on_drop: false }` [INFO] [stdout] e6c8db742ab72fba81455a7614955dc817de7f02a585822456a9023fb8289583