[INFO] fetching crate css-color-parser 0.1.2... [INFO] testing css-color-parser-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate css-color-parser 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate css-color-parser 0.1.2 [INFO] finished tweaking crates.io crate css-color-parser 0.1.2 [INFO] tweaked toml for crates.io crate css-color-parser 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate css-color-parser 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding lazy_static v0.1.16 (available: v1.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b531cdbdd5b0f00859c67fd1b6caea069d4e89c0257f3700f218fb82ca53a9c2 [INFO] running `Command { std: "docker" "start" "-a" "b531cdbdd5b0f00859c67fd1b6caea069d4e89c0257f3700f218fb82ca53a9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b531cdbdd5b0f00859c67fd1b6caea069d4e89c0257f3700f218fb82ca53a9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b531cdbdd5b0f00859c67fd1b6caea069d4e89c0257f3700f218fb82ca53a9c2", kill_on_drop: false }` [INFO] [stdout] b531cdbdd5b0f00859c67fd1b6caea069d4e89c0257f3700f218fb82ca53a9c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fb6893f33f0d34880ba6fb0ee268bcd510a376571531822f66f78deb1b63bab [INFO] running `Command { std: "docker" "start" "-a" "0fb6893f33f0d34880ba6fb0ee268bcd510a376571531822f66f78deb1b63bab", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling css-color-parser v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | let op = try!(string.find("(").ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | let ep = try!(string.find(")").ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let a_str = try!(rgba.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let a = try!(parse_css_float(a_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let mut rgb_color = try!(parse_rgb(rgba)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let b_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let g_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let r_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let r = try!(parse_css_int(r_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let g = try!(parse_css_int(g_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let b = try!(parse_css_int(b_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let a_str = try!(hsla.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let a = try!(parse_css_float(a_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | let mut rgb_color: Color = try!(parse_hsl(hsla)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let l_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let s_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let h_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | let mut h = try!(f32::from_str(h_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let s = try!(parse_css_float(s_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let l = try!(parse_css_float(l_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | fv = try!(f32::from_str(&percentage_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | fv = try!(f32::from_str(fv_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | let fv = try!(f32::from_str(&percentage_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let iv = try!(u32::from_str(iv_or_percentage_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/color/color.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/color/color.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/color/color.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "0fb6893f33f0d34880ba6fb0ee268bcd510a376571531822f66f78deb1b63bab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb6893f33f0d34880ba6fb0ee268bcd510a376571531822f66f78deb1b63bab", kill_on_drop: false }` [INFO] [stdout] 0fb6893f33f0d34880ba6fb0ee268bcd510a376571531822f66f78deb1b63bab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c83d7e5f469eb992aa746baf2bae93250909b68eb5450bc81e6cd14b7c8f4e2 [INFO] running `Command { std: "docker" "start" "-a" "5c83d7e5f469eb992aa746baf2bae93250909b68eb5450bc81e6cd14b7c8f4e2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | let op = try!(string.find("(").ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | let ep = try!(string.find(")").ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let a_str = try!(rgba.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let a = try!(parse_css_float(a_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let mut rgb_color = try!(parse_rgb(rgba)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let b_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let g_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let r_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let r = try!(parse_css_int(r_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let g = try!(parse_css_int(g_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let b = try!(parse_css_int(b_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let a_str = try!(hsla.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let a = try!(parse_css_float(a_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | let mut rgb_color: Color = try!(parse_hsl(hsla)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let l_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let s_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let h_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | let mut h = try!(f32::from_str(h_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let s = try!(parse_css_float(s_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let l = try!(parse_css_float(l_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | fv = try!(f32::from_str(&percentage_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | fv = try!(f32::from_str(fv_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | let fv = try!(f32::from_str(&percentage_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let iv = try!(u32::from_str(iv_or_percentage_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/color/color.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/color/color.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/color/color.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling css-color-parser v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:121:26 [INFO] [stdout] | [INFO] [stdout] 121 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:137:26 [INFO] [stdout] | [INFO] [stdout] 137 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:155:18 [INFO] [stdout] | [INFO] [stdout] 155 | let op = try!(string.find("(").ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | let ep = try!(string.find(")").ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | let a_str = try!(rgba.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | let a = try!(parse_css_float(a_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:211:25 [INFO] [stdout] | [INFO] [stdout] 211 | let mut rgb_color = try!(parse_rgb(rgba)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | let b_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:225:17 [INFO] [stdout] | [INFO] [stdout] 225 | let g_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | let r_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let r = try!(parse_css_int(r_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let g = try!(parse_css_int(g_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | let b = try!(parse_css_int(b_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | let a_str = try!(hsla.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | let a = try!(parse_css_float(a_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:251:32 [INFO] [stdout] | [INFO] [stdout] 251 | let mut rgb_color: Color = try!(parse_hsl(hsla)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:264:17 [INFO] [stdout] | [INFO] [stdout] 264 | let l_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:265:17 [INFO] [stdout] | [INFO] [stdout] 265 | let s_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:266:17 [INFO] [stdout] | [INFO] [stdout] 266 | let h_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | let mut h = try!(f32::from_str(h_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:276:13 [INFO] [stdout] | [INFO] [stdout] 276 | let s = try!(parse_css_float(s_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | let l = try!(parse_css_float(l_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:309:14 [INFO] [stdout] | [INFO] [stdout] 309 | fv = try!(f32::from_str(&percentage_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:313:10 [INFO] [stdout] | [INFO] [stdout] 313 | fv = try!(f32::from_str(fv_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:323:18 [INFO] [stdout] | [INFO] [stdout] 323 | let fv = try!(f32::from_str(&percentage_string)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/color/color.rs:328:14 [INFO] [stdout] | [INFO] [stdout] 328 | let iv = try!(u32::from_str(iv_or_percentage_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/color/color.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/color/named_colors.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | / lazy_static! { [INFO] [stdout] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stdout] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stdout] 31 | | let mut m = HashMap::new(); [INFO] [stdout] ... | [INFO] [stdout] 181 | | }; [INFO] [stdout] 182 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/color/color.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/color/color.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.48s [INFO] running `Command { std: "docker" "inspect" "5c83d7e5f469eb992aa746baf2bae93250909b68eb5450bc81e6cd14b7c8f4e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c83d7e5f469eb992aa746baf2bae93250909b68eb5450bc81e6cd14b7c8f4e2", kill_on_drop: false }` [INFO] [stdout] 5c83d7e5f469eb992aa746baf2bae93250909b68eb5450bc81e6cd14b7c8f4e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b2ca5e8af38331a1ed9143af432db41e86e21fec194a29169999ed456527b600 [INFO] running `Command { std: "docker" "start" "-a" "b2ca5e8af38331a1ed9143af432db41e86e21fec194a29169999ed456527b600", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:121:26 [INFO] [stderr] | [INFO] [stderr] 121 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:137:26 [INFO] [stderr] | [INFO] [stderr] 137 | let iv = try!(u64::from_str_radix(value_string, 16)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:155:18 [INFO] [stderr] | [INFO] [stderr] 155 | let op = try!(string.find("(").ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:156:18 [INFO] [stderr] | [INFO] [stderr] 156 | let ep = try!(string.find(")").ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:207:17 [INFO] [stderr] | [INFO] [stderr] 207 | let a_str = try!(rgba.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 209 | let a = try!(parse_css_float(a_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:211:25 [INFO] [stderr] | [INFO] [stderr] 211 | let mut rgb_color = try!(parse_rgb(rgba)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:224:17 [INFO] [stderr] | [INFO] [stderr] 224 | let b_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:225:17 [INFO] [stderr] | [INFO] [stderr] 225 | let g_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:226:17 [INFO] [stderr] | [INFO] [stderr] 226 | let r_str = try!(rgb.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:228:13 [INFO] [stderr] | [INFO] [stderr] 228 | let r = try!(parse_css_int(r_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:229:13 [INFO] [stderr] | [INFO] [stderr] 229 | let g = try!(parse_css_int(g_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:230:13 [INFO] [stderr] | [INFO] [stderr] 230 | let b = try!(parse_css_int(b_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:246:17 [INFO] [stderr] | [INFO] [stderr] 246 | let a_str = try!(hsla.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:248:13 [INFO] [stderr] | [INFO] [stderr] 248 | let a = try!(parse_css_float(a_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:251:32 [INFO] [stderr] | [INFO] [stderr] 251 | let mut rgb_color: Color = try!(parse_hsl(hsla)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:264:17 [INFO] [stderr] | [INFO] [stderr] 264 | let l_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:265:17 [INFO] [stderr] | [INFO] [stderr] 265 | let s_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:266:17 [INFO] [stderr] | [INFO] [stderr] 266 | let h_str = try!(hsl.pop().ok_or(ColorParseError)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:268:17 [INFO] [stderr] | [INFO] [stderr] 268 | let mut h = try!(f32::from_str(h_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:276:13 [INFO] [stderr] | [INFO] [stderr] 276 | let s = try!(parse_css_float(s_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:277:13 [INFO] [stderr] | [INFO] [stderr] 277 | let l = try!(parse_css_float(l_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:309:14 [INFO] [stderr] | [INFO] [stderr] 309 | fv = try!(f32::from_str(&percentage_string)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:313:10 [INFO] [stderr] | [INFO] [stderr] 313 | fv = try!(f32::from_str(fv_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:323:18 [INFO] [stderr] | [INFO] [stderr] 323 | let fv = try!(f32::from_str(&percentage_string)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/color/color.rs:328:14 [INFO] [stderr] | [INFO] [stderr] 328 | let iv = try!(u32::from_str(iv_or_percentage_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/color/named_colors.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stderr] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stderr] 31 | | let mut m = HashMap::new(); [INFO] [stderr] ... | [INFO] [stderr] 181 | | }; [INFO] [stderr] 182 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/color/named_colors.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stderr] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stderr] 31 | | let mut m = HashMap::new(); [INFO] [stderr] ... | [INFO] [stderr] 181 | | }; [INFO] [stderr] 182 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `lazy_static` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the macro `lazy_static` may come from an old version of the `lazy_static` crate, try updating your dependency with `cargo update -p lazy_static` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/color/color.rs:100:25 [INFO] [stderr] | [INFO] [stderr] 100 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/color/named_colors.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | / lazy_static! { [INFO] [stderr] 29 | | /// List of CSS3 named colors from http://www.w3.org/TR/css3-color. [INFO] [stderr] 30 | | pub static ref NAMED_COLORS: HashMap<&'static str, Color> = { [INFO] [stderr] 31 | | let mut m = HashMap::new(); [INFO] [stderr] ... | [INFO] [stderr] 181 | | }; [INFO] [stderr] 182 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/color/color.rs:81:32 [INFO] [stderr] | [INFO] [stderr] 81 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 | fn cause(&self) -> Option<&dyn error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/color/color.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `css-color-parser` (lib) generated 33 warnings (1 duplicate) (run `cargo fix --lib -p css-color-parser` to apply 1 suggestion) [INFO] [stderr] warning: `css-color-parser` (lib test) generated 33 warnings (33 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/css_color_parser-79cba50778e80628) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::rgb_range_test ... ignored [INFO] [stdout] test tests::rgba_range_test ... ignored [INFO] [stdout] test tests::abc ... ok [INFO] [stdout] test tests::rgba ... ok [INFO] [stdout] test tests::hsl ... ok [INFO] [stdout] test tests::abc123 ... ok [INFO] [stdout] test tests::hsl_non_spec_compliant ... ok [INFO] [stdout] test tests::hsla ... ok [INFO] [stdout] test tests::named_color ... ok [INFO] [stdout] test tests::rgb ... ok [INFO] [stdout] test tests::invalid_color1 - should panic ... ok [INFO] [stdout] test tests::hsla_invalid - should panic ... ok [INFO] [stdout] test tests::invalid_color2 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests css_color_parser [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 45) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b2ca5e8af38331a1ed9143af432db41e86e21fec194a29169999ed456527b600", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2ca5e8af38331a1ed9143af432db41e86e21fec194a29169999ed456527b600", kill_on_drop: false }` [INFO] [stdout] b2ca5e8af38331a1ed9143af432db41e86e21fec194a29169999ed456527b600