[INFO] fetching crate time-preview 0.0.0... [INFO] checking time-preview-0.0.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate time-preview 0.0.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate time-preview 0.0.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate time-preview 0.0.0 [INFO] finished tweaking crates.io crate time-preview 0.0.0 [INFO] tweaked toml for crates.io crate time-preview 0.0.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1fe811064419a5daff9306255a039bf455e147943384ed419a69c96c61f673d [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" "e1fe811064419a5daff9306255a039bf455e147943384ed419a69c96c61f673d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1fe811064419a5daff9306255a039bf455e147943384ed419a69c96c61f673d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1fe811064419a5daff9306255a039bf455e147943384ed419a69c96c61f673d", kill_on_drop: false }` [INFO] [stdout] e1fe811064419a5daff9306255a039bf455e147943384ed419a69c96c61f673d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9badb7d06482f5efcf761469d0a89bb38d4ef2c09c1fa62392f963b7c9c19aa3 [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" "9badb7d06482f5efcf761469d0a89bb38d4ef2c09c1fa62392f963b7c9c19aa3", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking time-preview v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | try!(parse_type(fmt, chars.next().unwrap(), self.tm)); [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/display.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | try!(fmt.write_char(ch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | try!(parse_type(fmt, 'a', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | try!(parse_type(fmt, 'b', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | try!(parse_type(fmt, 'e', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(parse_type(fmt, 'T', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | try!(parse_type(fmt, 'm', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | try!(fmt.write_str("/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | try!(parse_type(fmt, 'd', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | try!(fmt.write_str("/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | try!(parse_type(fmt, 'Y', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(parse_type(fmt, 'm', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | try!(parse_type(fmt, 'H', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | try!(parse_type(fmt, 'I', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | try!(parse_type(fmt, 'M', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | try!(parse_type(fmt, 'S', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | try!(parse_type(fmt, 'H', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | try!(parse_type(fmt, 'M', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | try!(parse_type(fmt, 'e', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | try!(parse_type(fmt, 'b', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | try!(write!(f, "{}P", sign)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | try!(write!(f, "{}D", days)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | try!(write!(f, "T{}S", secs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | try!(write!(f, "T{}.{:03}S", secs, abs.nanos / NANOS_PER_MILLI)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | try!(write!(f, "T{}.{:06}S", secs, abs.nanos / NANOS_PER_MICRO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | try!(write!(f, "T{}.{:09}S", secs, abs.nanos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(parse_type(&mut s, ch, &mut tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(parse_char(&mut s, ch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | '0' ... '9' => value = value * 10 + (ch as i64 - '0' as i64), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:605:11 [INFO] [stdout] | [INFO] [stdout] 605 | (0...6, 0...11) => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:605:18 [INFO] [stdout] | [INFO] [stdout] 605 | (0...6, 0...11) => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 606 | (_wday, 0...11) => return Err(InvalidDayOfWeek), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:607:11 [INFO] [stdout] | [INFO] [stdout] 607 | (0...6, _mon) => return Err(InvalidMonth), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | try!(parse_type(fmt, chars.next().unwrap(), self.tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | try!(fmt.write_char(ch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | try!(parse_type(fmt, 'a', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | try!(parse_type(fmt, 'b', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | try!(parse_type(fmt, 'e', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:157:13 [INFO] [stdout] | [INFO] [stdout] 157 | try!(parse_type(fmt, 'T', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | try!(parse_type(fmt, 'm', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:163:13 [INFO] [stdout] | [INFO] [stdout] 163 | try!(fmt.write_str("/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | try!(parse_type(fmt, 'd', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | try!(fmt.write_str("/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:172:13 [INFO] [stdout] | [INFO] [stdout] 172 | try!(parse_type(fmt, 'Y', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(parse_type(fmt, 'm', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | try!(parse_type(fmt, 'H', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:206:13 [INFO] [stdout] | [INFO] [stdout] 206 | try!(parse_type(fmt, 'I', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | try!(parse_type(fmt, 'M', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:209:13 [INFO] [stdout] | [INFO] [stdout] 209 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | try!(parse_type(fmt, 'S', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:211:13 [INFO] [stdout] | [INFO] [stdout] 211 | try!(fmt.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | try!(parse_type(fmt, 'H', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:218:13 [INFO] [stdout] | [INFO] [stdout] 218 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | try!(parse_type(fmt, 'M', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | try!(fmt.write_str(":")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:231:13 [INFO] [stdout] | [INFO] [stdout] 231 | try!(parse_type(fmt, 'e', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | try!(parse_type(fmt, 'b', tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/display.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | try!(fmt.write_str("-")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:380:9 [INFO] [stdout] | [INFO] [stdout] 380 | try!(write!(f, "{}P", sign)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | try!(write!(f, "{}D", days)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:387:17 [INFO] [stdout] | [INFO] [stdout] 387 | try!(write!(f, "T{}S", secs)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:389:17 [INFO] [stdout] | [INFO] [stdout] 389 | try!(write!(f, "T{}.{:03}S", secs, abs.nanos / NANOS_PER_MILLI)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:391:17 [INFO] [stdout] | [INFO] [stdout] 391 | try!(write!(f, "T{}.{:06}S", secs, abs.nanos / NANOS_PER_MICRO)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/duration.rs:393:17 [INFO] [stdout] | [INFO] [stdout] 393 | try!(write!(f, "T{}.{:09}S", secs, abs.nanos)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | try!(parse_type(&mut s, ch, &mut tm)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parse.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | try!(parse_char(&mut s, ch)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parse.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | '0' ... '9' => value = value * 10 + (ch as i64 - '0' as i64), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/parse.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | '0' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:605:11 [INFO] [stdout] | [INFO] [stdout] 605 | (0...6, 0...11) => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:605:18 [INFO] [stdout] | [INFO] [stdout] 605 | (0...6, 0...11) => (), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:606:18 [INFO] [stdout] | [INFO] [stdout] 606 | (_wday, 0...11) => return Err(InvalidDayOfWeek), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/lib.rs:607:11 [INFO] [stdout] | [INFO] [stdout] 607 | (0...6, _mon) => return Err(InvalidMonth), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:655:27 [INFO] [stdout] | [INFO] [stdout] 655 | use std::sync::{Once, ONCE_INIT, Mutex, MutexGuard, LockResult}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:667:29 [INFO] [stdout] | [INFO] [stdout] 667 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated constant: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:556:43 [INFO] [stdout] | [INFO] [stdout] 556 | write!(f, "{}: %{}", self.description(), ch) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:561:39 [INFO] [stdout] | [INFO] [stdout] 561 | _ => write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/duration.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/parse.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | let s2 = ss.trim_left_matches(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:556:43 [INFO] [stdout] | [INFO] [stdout] 556 | write!(f, "{}: %{}", self.description(), ch) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:561:39 [INFO] [stdout] | [INFO] [stdout] 561 | _ => write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/duration.rs:411:30 [INFO] [stdout] | [INFO] [stdout] 411 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stdout] --> src/parse.rs:329:21 [INFO] [stdout] | [INFO] [stdout] 329 | let s2 = ss.trim_left_matches(" "); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 54 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `time-preview` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0463]: can't find crate for `time` [INFO] [stdout] --> benches/precise_time_ns.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9badb7d06482f5efcf761469d0a89bb38d4ef2c09c1fa62392f963b7c9c19aa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9badb7d06482f5efcf761469d0a89bb38d4ef2c09c1fa62392f963b7c9c19aa3", kill_on_drop: false }` [INFO] [stdout] 9badb7d06482f5efcf761469d0a89bb38d4ef2c09c1fa62392f963b7c9c19aa3