[INFO] fetching crate hex_color 3.0.0... [INFO] testing hex_color-3.0.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hex_color 3.0.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate hex_color 3.0.0 [INFO] finished tweaking crates.io crate hex_color 3.0.0 [INFO] tweaked toml for crates.io crate hex_color 3.0.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hex_color 3.0.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3ad4581808eda968d0507da0ab57e7943aece3b32af9234972b6b7d98a8e0b1 [INFO] running `Command { std: "docker" "start" "-a" "d3ad4581808eda968d0507da0ab57e7943aece3b32af9234972b6b7d98a8e0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3ad4581808eda968d0507da0ab57e7943aece3b32af9234972b6b7d98a8e0b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3ad4581808eda968d0507da0ab57e7943aece3b32af9234972b6b7d98a8e0b1", kill_on_drop: false }` [INFO] [stdout] d3ad4581808eda968d0507da0ab57e7943aece3b32af9234972b6b7d98a8e0b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ead708e5668b965acde68b7aab8d23c4412dbce1ac7de6877a42cd1fbc6ecca7 [INFO] running `Command { std: "docker" "start" "-a" "ead708e5668b965acde68b7aab8d23c4412dbce1ac7de6877a42cd1fbc6ecca7", kill_on_drop: false }` [INFO] [stderr] Compiling hex_color v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:1930:12 [INFO] [stdout] | [INFO] [stdout] 1930 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "ead708e5668b965acde68b7aab8d23c4412dbce1ac7de6877a42cd1fbc6ecca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead708e5668b965acde68b7aab8d23c4412dbce1ac7de6877a42cd1fbc6ecca7", kill_on_drop: false }` [INFO] [stdout] ead708e5668b965acde68b7aab8d23c4412dbce1ac7de6877a42cd1fbc6ecca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df166f8cfb917af558d3073e11dd3914c28f6dca93b2576337074679f09e42ba [INFO] running `Command { std: "docker" "start" "-a" "df166f8cfb917af558d3073e11dd3914c28f6dca93b2576337074679f09e42ba", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:1930:12 [INFO] [stdout] | [INFO] [stdout] 1930 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling version-sync v0.9.5 [INFO] [stderr] Compiling hex_color v3.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:1930:12 [INFO] [stdout] | [INFO] [stdout] 1930 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 44.56s [INFO] running `Command { std: "docker" "inspect" "df166f8cfb917af558d3073e11dd3914c28f6dca93b2576337074679f09e42ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df166f8cfb917af558d3073e11dd3914c28f6dca93b2576337074679f09e42ba", kill_on_drop: false }` [INFO] [stdout] df166f8cfb917af558d3073e11dd3914c28f6dca93b2576337074679f09e42ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a779c098d269572b9d529545f5f0fc38441b5c3e22fae23758bd78b16369157 [INFO] running `Command { std: "docker" "start" "-a" "1a779c098d269572b9d529545f5f0fc38441b5c3e22fae23758bd78b16369157", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/lib.rs:181:13 [INFO] [stderr] | [INFO] [stderr] 181 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stderr] --> src/lib.rs:1930:12 [INFO] [stderr] | [INFO] [stderr] 1930 | #[cfg_attr(doc_cfg, doc(cfg(feature = "std")))] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `hex_color` (lib) generated 2 warnings [INFO] [stderr] warning: `hex_color` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hex_color-34f0a2a82bd11ee8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hex_color [INFO] [stdout] [INFO] [stdout] running 57 tests [INFO] [stdout] test src/lib.rs - (u8,u8,u8,u8)::from (line 1660) ... ok [INFO] [stdout] test src/lib.rs - (line 42) ... ok [INFO] [stdout] test src/lib.rs - (line 83) ... FAILED [INFO] [stdout] test src/lib.rs - (line 74) ... FAILED [INFO] [stdout] test src/lib.rs - (u8,u8,u8)::from (line 1701) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] test src/lib.rs - (line 55) ... ok [INFO] [stdout] test src/lib.rs - HexColor::achromatic (line 291) ... ok [INFO] [stdout] test src/lib.rs - Display::color (line 1837) ... ok [INFO] [stdout] test src/lib.rs - Display::with_alpha (line 1800) ... ok [INFO] [stdout] test src/lib.rs - HexColor::achromatic (line 301) ... ok [INFO] [stdout] test src/lib.rs - HexColor::add (line 954) ... ok [INFO] [stdout] test src/lib.rs - (line 95) ... FAILED [INFO] [stdout] test src/lib.rs - Display::with_case (line 1819) ... ok [INFO] [stdout] test src/lib.rs - Display::new (line 1775) ... ok [INFO] [stdout] test src/lib.rs - HexColor::checked_sub (line 1135) ... ok [INFO] [stdout] test src/lib.rs - HexColor::checked_add (line 975) ... ok [INFO] [stdout] test src/lib.rs - HexColor::checked_div (line 1422) ... ok [INFO] [stdout] test src/lib.rs - HexColor::checked_mul (line 1276) ... ok [INFO] [stdout] test src/lib.rs - HexColor::display_rgba (line 923) ... ok [INFO] [stdout] test src/lib.rs - HexColor::from (line 1637) ... ok [INFO] [stdout] test src/lib.rs - HexColor::from_u32 (line 644) ... ok [INFO] [stdout] test src/lib.rs - HexColor::from_u24 (line 619) ... ok [INFO] [stdout] test src/lib.rs - HexColor::div (line 1400) ... ok [INFO] [stdout] test src/lib.rs - HexColor::display_rgb (line 903) ... ok [INFO] [stdout] test src/lib.rs - HexColor::overflowing_add (line 1004) ... ok [INFO] [stdout] test src/lib.rs - HexColor::invert (line 1482) ... ok [INFO] [stdout] test src/lib.rs - HexColor::from (line 1680) ... ok [INFO] [stdout] test src/lib.rs - HexColor::overflowing_sub (line 1164) ... ok [INFO] [stdout] test src/lib.rs - HexColor::parse (line 479) ... ok [INFO] [stdout] test src/lib.rs - HexColor::mul (line 1254) ... ok [INFO] [stdout] test src/lib.rs - HexColor::rgba (line 257) ... ok [INFO] [stdout] test src/lib.rs - HexColor::rgb (line 275) ... ok [INFO] [stdout] test src/lib.rs - HexColor::overflowing_mul (line 1305) ... ok [INFO] [stdout] test src/lib.rs - HexColor::parse_rgba (line 584) ... ok [INFO] [stdout] test src/lib.rs - HexColor::saturating_add (line 1034) ... ok [INFO] [stdout] test src/lib.rs - HexColor::saturating_mul (line 1335) ... ok [INFO] [stdout] test src/lib.rs - HexColor::saturating_sub (line 1194) ... ok [INFO] [stdout] test src/lib.rs - HexColor::parse_rgb (line 534) ... ok [INFO] [stdout] test src/lib.rs - HexColor::split_rgb (line 876) ... ok [INFO] [stdout] test src/lib.rs - HexColor::scale (line 1455) ... ok [INFO] [stdout] test src/lib.rs - HexColor::split_rgb (line 866) ... ok [INFO] [stdout] test src/lib.rs - HexColor::split_rgba (line 828) ... ok [INFO] [stdout] test src/lib.rs - HexColor::split_rgba (line 838) ... ok [INFO] [stdout] test src/lib.rs - HexColor::to_be_bytes (line 717) ... ok [INFO] [stdout] test src/lib.rs - HexColor::sub_scalar (line 1118) ... ok [INFO] [stdout] test src/lib.rs - HexColor::sub (line 1094) ... ok [INFO] [stdout] test src/lib.rs - HexColor::to_u32 (line 696) ... ok [INFO] [stdout] test src/lib.rs - HexColor::wrapping_mul (line 1364) ... ok [INFO] [stdout] test src/lib.rs - HexColor::to_le_bytes (line 733) ... ok [INFO] [stdout] test src/lib.rs - HexColor::to_u24 (line 670) ... ok [INFO] [stdout] test src/lib.rs - HexColor::with_b (line 788) ... ok [INFO] [stdout] test src/lib.rs - HexColor::with_a (line 805) ... ok [INFO] [stdout] test src/lib.rs - HexColor::with_r (line 754) ... ok [INFO] [stdout] test src/lib.rs - HexColor::with_g (line 771) ... ok [INFO] [stdout] test src/lib.rs - HexColor::wrapping_sub (line 1221) ... ok [INFO] [stdout] test src/lib.rs - HexColor::wrapping_add (line 1061) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 83) stdout ---- [INFO] [stdout] error[E0599]: no function or associated item named `random_rgb` found for struct `HexColor` in the current scope [INFO] [stdout] --> src/lib.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 7 | let random_rgb = HexColor::random_rgb(); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `HexColor` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `HexColor` consider using one of the following associated functions: [INFO] [stdout] HexColor::rgba [INFO] [stdout] HexColor::rgb [INFO] [stdout] HexColor::achromatic [INFO] [stdout] HexColor::parse [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub const fn rgba(r: u8, g: u8, b: u8, a: u8) -> HexColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub const fn rgb(r: u8, g: u8, b: u8) -> HexColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub const fn achromatic(v: u8) -> HexColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `random_rgba` found for struct `HexColor` in the current scope [INFO] [stdout] --> src/lib.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 8 | let random_rgba = HexColor::random_rgba(); [INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `HexColor` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `HexColor` consider using one of the following associated functions: [INFO] [stdout] HexColor::rgba [INFO] [stdout] HexColor::rgb [INFO] [stdout] HexColor::achromatic [INFO] [stdout] HexColor::parse [INFO] [stdout] and 4 others [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:265:5 [INFO] [stdout] | [INFO] [stdout] 265 | pub const fn rgba(r: u8, g: u8, b: u8, a: u8) -> HexColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub const fn rgb(r: u8, g: u8, b: u8) -> HexColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub const fn achromatic(v: u8) -> HexColor { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn parse(s: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 74) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `rand` [INFO] [stdout] --> src/lib.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 7 | let random_rgb: HexColor = rand::random(); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `rand` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/rand.rs, use `mod rand` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod rand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 95) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `u24` in `hex_color` [INFO] [stdout] --> src/lib.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 42 | #[serde(with = "hex_color::u24")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `u24` in `hex_color` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:198:34 [INFO] [stdout] | [INFO] [stdout] 196 | #[cfg(feature = "serde")] [INFO] [stdout] | ----------------- the item is gated behind the `serde` feature [INFO] [stdout] 197 | #[doc(inline)] [INFO] [stdout] 198 | pub use self::serde::{rgb, rgba, u24, u32}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HexColor: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 11 | value: HexColor, [INFO] [stdout] | ^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `HexColor` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `HexColor` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `next_element` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1771:12 [INFO] [stdout] | [INFO] [stdout] 1769 | fn next_element(&mut self) -> Result, Self::Error> [INFO] [stdout] | ------------ required by a bound in this associated function [INFO] [stdout] 1770 | where [INFO] [stdout] 1771 | T: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `SeqAccess::next_element` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestKy9BNM/rust_out.long-type-5174617048539877559.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HexColor: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 11 | value: HexColor, [INFO] [stdout] | ^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `HexColor` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `HexColor` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `next_value` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/de/mod.rs:1916:12 [INFO] [stdout] | [INFO] [stdout] 1914 | fn next_value(&mut self) -> Result [INFO] [stdout] | ---------- required by a bound in this associated function [INFO] [stdout] 1915 | where [INFO] [stdout] 1916 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `MapAccess::next_value` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestKy9BNM/rust_out.long-type-5174617048539877559.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HexColor: serde::Deserialize<'de>` is not satisfied [INFO] [stdout] --> src/lib.rs:101:28 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `HexColor` [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Deserialize)]` to your `HexColor` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Deserialize<'de>`: [INFO] [stdout] &'a Path [INFO] [stdout] &'a [u8] [INFO] [stdout] &'a str [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] and 157 others [INFO] [stdout] note: required by a bound in `_::_serde::__private228::de::missing_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/private/de.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn missing_field<'de, V, E>(field: &'static str) -> Result [INFO] [stdout] | ------------- required by a bound in this function [INFO] [stdout] 25 | where [INFO] [stdout] 26 | V: Deserialize<'de>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `missing_field` [INFO] [stdout] = note: the full name for the type has been written to '/tmp/rustdoctestKy9BNM/rust_out.long-type-5174617048539877559.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `HexColor: serde::Serialize` is not satisfied [INFO] [stdout] --> src/lib.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, PartialEq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^ the trait `Serialize` is not implemented for `HexColor` [INFO] [stdout] ... [INFO] [stdout] 11 | value: HexColor, [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `HexColor` type [INFO] [stdout] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stdout] = help: the following other types implement trait `Serialize`: [INFO] [stdout] &'a T [INFO] [stdout] &'a mut T [INFO] [stdout] () [INFO] [stdout] (T,) [INFO] [stdout] (T0, T1) [INFO] [stdout] (T0, T1, T2) [INFO] [stdout] (T0, T1, T2, T3) [INFO] [stdout] (T0, T1, T2, T3, T4) [INFO] [stdout] and 141 others [INFO] [stdout] note: required by a bound in `_::_serde::ser::SerializeStruct::serialize_field` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/ser/mod.rs:1917:21 [INFO] [stdout] | [INFO] [stdout] 1915 | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> [INFO] [stdout] | --------------- required by a bound in this associated function [INFO] [stdout] 1916 | where [INFO] [stdout] 1917 | T: ?Sized + Serialize; [INFO] [stdout] | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` [INFO] [stdout] = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 74) [INFO] [stdout] src/lib.rs - (line 83) [INFO] [stdout] src/lib.rs - (line 95) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 54 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.04s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "1a779c098d269572b9d529545f5f0fc38441b5c3e22fae23758bd78b16369157", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a779c098d269572b9d529545f5f0fc38441b5c3e22fae23758bd78b16369157", kill_on_drop: false }` [INFO] [stdout] 1a779c098d269572b9d529545f5f0fc38441b5c3e22fae23758bd78b16369157