[INFO] fetching crate css-color-parser 0.1.2... [INFO] testing css-color-parser-0.1.2 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate css-color-parser 0.1.2 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate css-color-parser 0.1.2 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 754ee193e9ae2a73e96dd9c35d864865d7fe3a01254bc70dc56cd38161be34e7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "754ee193e9ae2a73e96dd9c35d864865d7fe3a01254bc70dc56cd38161be34e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "754ee193e9ae2a73e96dd9c35d864865d7fe3a01254bc70dc56cd38161be34e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "754ee193e9ae2a73e96dd9c35d864865d7fe3a01254bc70dc56cd38161be34e7", kill_on_drop: false }` [INFO] [stdout] 754ee193e9ae2a73e96dd9c35d864865d7fe3a01254bc70dc56cd38161be34e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d29b230469d356327c58a273e1b4017c21034bb639b7643761740743d7b43fbf [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d29b230469d356327c58a273e1b4017c21034bb639b7643761740743d7b43fbf", 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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: 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.30s [INFO] running `Command { std: "docker" "inspect" "d29b230469d356327c58a273e1b4017c21034bb639b7643761740743d7b43fbf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d29b230469d356327c58a273e1b4017c21034bb639b7643761740743d7b43fbf", kill_on_drop: false }` [INFO] [stdout] d29b230469d356327c58a273e1b4017c21034bb639b7643761740743d7b43fbf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88abce9377a51a875a2fd7d9c30a06b753cb6b1be8ee0765157e5fe9296ae913 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "88abce9377a51a875a2fd7d9c30a06b753cb6b1be8ee0765157e5fe9296ae913", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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: 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: 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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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: 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.31s [INFO] running `Command { std: "docker" "inspect" "88abce9377a51a875a2fd7d9c30a06b753cb6b1be8ee0765157e5fe9296ae913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88abce9377a51a875a2fd7d9c30a06b753cb6b1be8ee0765157e5fe9296ae913", kill_on_drop: false }` [INFO] [stdout] 88abce9377a51a875a2fd7d9c30a06b753cb6b1be8ee0765157e5fe9296ae913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5593b36bdf8a01bf5f36da1db4110ae58b4c582df1d04fdc89f6138d095141c0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5593b36bdf8a01bf5f36da1db4110ae58b4c582df1d04fdc89f6138d095141c0", kill_on_drop: false }` [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] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [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] [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: 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.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/css_color_parser-ed8c62fa8862b10d) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::rgb_range_test ... ignored [INFO] [stdout] test tests::rgba_range_test ... ignored [INFO] [stdout] test tests::abc123 ... ok [INFO] [stdout] test tests::named_color ... ok [INFO] [stdout] test tests::hsl_non_spec_compliant ... ok [INFO] [stdout] test tests::rgba ... ok [INFO] [stdout] test tests::hsla ... ok [INFO] [stdout] test tests::abc ... ok [INFO] [stdout] test tests::hsl ... ok [INFO] [stdout] test tests::rgb ... 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.07s [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.78s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5593b36bdf8a01bf5f36da1db4110ae58b4c582df1d04fdc89f6138d095141c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5593b36bdf8a01bf5f36da1db4110ae58b4c582df1d04fdc89f6138d095141c0", kill_on_drop: false }` [INFO] [stdout] 5593b36bdf8a01bf5f36da1db4110ae58b4c582df1d04fdc89f6138d095141c0