[INFO] fetching crate css-color-parser 0.1.2... [INFO] testing css-color-parser-0.1.2 against 1.60.0 for beta-1.61-1 [INFO] extracting crate css-color-parser 0.1.2 into /workspace/builds/worker-36/source [INFO] validating manifest of crates.io crate css-color-parser 0.1.2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-36/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 36f1d4d22630f06c7abbcbfa200a784c05a8664547b90798664dc35fecc2ad48 [INFO] running `Command { std: "docker" "start" "-a" "36f1d4d22630f06c7abbcbfa200a784c05a8664547b90798664dc35fecc2ad48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "36f1d4d22630f06c7abbcbfa200a784c05a8664547b90798664dc35fecc2ad48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36f1d4d22630f06c7abbcbfa200a784c05a8664547b90798664dc35fecc2ad48", kill_on_drop: false }` [INFO] [stdout] 36f1d4d22630f06c7abbcbfa200a784c05a8664547b90798664dc35fecc2ad48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b97e51a0d398433ad302ed581fbda7e6b2207497f70654622ecb61cfec8cb5ac [INFO] running `Command { std: "docker" "start" "-a" "b97e51a0d398433ad302ed581fbda7e6b2207497f70654622ecb61cfec8cb5ac", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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 `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 `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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn cause(&self) -> Option<&error::Error> { [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.98s [INFO] running `Command { std: "docker" "inspect" "b97e51a0d398433ad302ed581fbda7e6b2207497f70654622ecb61cfec8cb5ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b97e51a0d398433ad302ed581fbda7e6b2207497f70654622ecb61cfec8cb5ac", kill_on_drop: false }` [INFO] [stdout] b97e51a0d398433ad302ed581fbda7e6b2207497f70654622ecb61cfec8cb5ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] afad1379738483e8c545c99e55ed7e470a820bfd1948f5fe01e2d3479919f512 [INFO] running `Command { std: "docker" "start" "-a" "afad1379738483e8c545c99e55ed7e470a820bfd1948f5fe01e2d3479919f512", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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 `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 `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] [stderr] Compiling css-color-parser v0.1.2 (/opt/rustwide/workdir) [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn cause(&self) -> Option<&error::Error> { [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: 31 warnings emitted [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: 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 `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 `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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - fn cause(&self) -> Option<&error::Error> { [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: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.38s [INFO] running `Command { std: "docker" "inspect" "afad1379738483e8c545c99e55ed7e470a820bfd1948f5fe01e2d3479919f512", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afad1379738483e8c545c99e55ed7e470a820bfd1948f5fe01e2d3479919f512", kill_on_drop: false }` [INFO] [stdout] afad1379738483e8c545c99e55ed7e470a820bfd1948f5fe01e2d3479919f512 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-36/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9049067acfbfec7b677ed0c35c6f326b98e449aa324a62f97639f647bedada20 [INFO] running `Command { std: "docker" "start" "-a" "9049067acfbfec7b677ed0c35c6f326b98e449aa324a62f97639f647bedada20", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: 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 `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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - fn cause(&self) -> Option<&error::Error> { [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 31 warnings (1 duplicate) [INFO] [stderr] warning: `css-color-parser` (lib test) generated 31 warnings (31 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/css_color_parser-a1b01b89eb69163a) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::abc123 ... ok [INFO] [stdout] test tests::abc ... ok [INFO] [stdout] test tests::hsl ... 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_range_test ... ignored [INFO] [stdout] test tests::rgba_range_test ... ignored [INFO] [stdout] test tests::rgb ... ok [INFO] [stdout] test tests::rgba ... ok [INFO] [stdout] test tests::hsla_invalid - should panic ... ok [INFO] [stdout] test tests::invalid_color1 - 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] [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.39s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9049067acfbfec7b677ed0c35c6f326b98e449aa324a62f97639f647bedada20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9049067acfbfec7b677ed0c35c6f326b98e449aa324a62f97639f647bedada20", kill_on_drop: false }` [INFO] [stdout] 9049067acfbfec7b677ed0c35c6f326b98e449aa324a62f97639f647bedada20