[INFO] fetching crate css-color-parser 0.1.2... [INFO] checking css-color-parser-0.1.2 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate css-color-parser 0.1.2 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate css-color-parser 0.1.2 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54896f4fc60de0d9510aea57cbff4a26beec8cf17c1b9a542a283cee22c00c24 [INFO] running `Command { std: "docker" "start" "-a" "54896f4fc60de0d9510aea57cbff4a26beec8cf17c1b9a542a283cee22c00c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54896f4fc60de0d9510aea57cbff4a26beec8cf17c1b9a542a283cee22c00c24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54896f4fc60de0d9510aea57cbff4a26beec8cf17c1b9a542a283cee22c00c24", kill_on_drop: false }` [INFO] [stdout] 54896f4fc60de0d9510aea57cbff4a26beec8cf17c1b9a542a283cee22c00c24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de5d7a1bb6f53f6504108db819ab8e218d7dad06cb307ab98c7c4ff0f3b1c90a [INFO] running `Command { std: "docker" "start" "-a" "de5d7a1bb6f53f6504108db819ab8e218d7dad06cb307ab98c7c4ff0f3b1c90a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking lazy_static v0.1.16 [INFO] [stderr] Checking 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)]` 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: 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: 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)]` on by default [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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "de5d7a1bb6f53f6504108db819ab8e218d7dad06cb307ab98c7c4ff0f3b1c90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de5d7a1bb6f53f6504108db819ab8e218d7dad06cb307ab98c7c4ff0f3b1c90a", kill_on_drop: false }` [INFO] [stdout] de5d7a1bb6f53f6504108db819ab8e218d7dad06cb307ab98c7c4ff0f3b1c90a