[INFO] fetching crate css-color-parser 0.1.2... [INFO] testing css-color-parser-0.1.2 against 1.90.0 for beta-1.91-3 [INFO] extracting crate css-color-parser 0.1.2 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate css-color-parser 0.1.2 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5af622d3fd964ef7fd10008710f4e7337b6c9a951d48e02fb77e3ef202271d65 [INFO] running `Command { std: "docker" "start" "-a" "5af622d3fd964ef7fd10008710f4e7337b6c9a951d48e02fb77e3ef202271d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5af622d3fd964ef7fd10008710f4e7337b6c9a951d48e02fb77e3ef202271d65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5af622d3fd964ef7fd10008710f4e7337b6c9a951d48e02fb77e3ef202271d65", kill_on_drop: false }` [INFO] [stdout] 5af622d3fd964ef7fd10008710f4e7337b6c9a951d48e02fb77e3ef202271d65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57fc4de8c1f759382e550c6362afcee95bb8d6aebc234373140a6f71022260ea [INFO] running `Command { std: "docker" "start" "-a" "57fc4de8c1f759382e550c6362afcee95bb8d6aebc234373140a6f71022260ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v0.1.16 [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)]` 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.59s [INFO] running `Command { std: "docker" "inspect" "57fc4de8c1f759382e550c6362afcee95bb8d6aebc234373140a6f71022260ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57fc4de8c1f759382e550c6362afcee95bb8d6aebc234373140a6f71022260ea", kill_on_drop: false }` [INFO] [stdout] 57fc4de8c1f759382e550c6362afcee95bb8d6aebc234373140a6f71022260ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74ee75975a8429dce99dff444b8deddb398b5cece06d2931512eb7e32d070837 [INFO] running `Command { std: "docker" "start" "-a" "74ee75975a8429dce99dff444b8deddb398b5cece06d2931512eb7e32d070837", 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] [stderr] Compiling css-color-parser v0.1.2 (/opt/rustwide/workdir) [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: 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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "74ee75975a8429dce99dff444b8deddb398b5cece06d2931512eb7e32d070837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74ee75975a8429dce99dff444b8deddb398b5cece06d2931512eb7e32d070837", kill_on_drop: false }` [INFO] [stdout] 74ee75975a8429dce99dff444b8deddb398b5cece06d2931512eb7e32d070837 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c939fc42978d41f7124069380735a7fbd1085ed6874f9b0824f3e2c08b05b378 [INFO] running `Command { std: "docker" "start" "-a" "c939fc42978d41f7124069380735a7fbd1085ed6874f9b0824f3e2c08b05b378", 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)]` 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)]` 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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/css_color_parser-eee4204d0ef24ab8) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::abc ... ok [INFO] [stdout] test tests::hsl_non_spec_compliant ... ok [INFO] [stdout] test tests::hsla ... ok [INFO] [stdout] test tests::hsl ... ok [INFO] [stdout] test tests::rgb_range_test ... ignored [INFO] [stdout] test tests::rgb ... ok [INFO] [stdout] test tests::named_color ... ok [INFO] [stdout] test tests::abc123 ... ok [INFO] [stdout] test tests::rgba_range_test ... ignored [INFO] [stdout] test tests::rgba ... ok [INFO] [stdout] test tests::invalid_color1 - should panic ... ok [INFO] [stderr] Doc-tests css_color_parser [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.09s [INFO] [stdout] [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.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c939fc42978d41f7124069380735a7fbd1085ed6874f9b0824f3e2c08b05b378", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c939fc42978d41f7124069380735a7fbd1085ed6874f9b0824f3e2c08b05b378", kill_on_drop: false }` [INFO] [stdout] c939fc42978d41f7124069380735a7fbd1085ed6874f9b0824f3e2c08b05b378