[INFO] fetching crate time-preview 0.0.0... [INFO] testing time-preview-0.0.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate time-preview 0.0.0 into /workspace/builds/worker-4-tc2/source [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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate time-preview 0.0.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] [stderr] Adding redox_syscall v0.1.57 (available: v0.5.17) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d3dff2018ae519ed72de6faaa8f69c221d3f4a4fbf27694fbc8629072d02ddbe [INFO] running `Command { std: "docker" "start" "-a" "d3dff2018ae519ed72de6faaa8f69c221d3f4a4fbf27694fbc8629072d02ddbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3dff2018ae519ed72de6faaa8f69c221d3f4a4fbf27694fbc8629072d02ddbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3dff2018ae519ed72de6faaa8f69c221d3f4a4fbf27694fbc8629072d02ddbe", kill_on_drop: false }` [INFO] [stdout] d3dff2018ae519ed72de6faaa8f69c221d3f4a4fbf27694fbc8629072d02ddbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b6e569c59ecb813e647b582a41467069c45e6ec4fc134a1478fafac2541ef2a [INFO] running `Command { std: "docker" "start" "-a" "5b6e569c59ecb813e647b582a41467069c45e6ec4fc134a1478fafac2541ef2a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) 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] = 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: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | #[cfg(any(target_os = "nacl", target_os = "solaris"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys.rs:458:80 [INFO] [stdout] | [INFO] [stdout] 458 | #[cfg(not(any(all(target_os = "android", target_pointer_width = "32"), target_os = "nacl", target_os = "solaris")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | extern { fn tzset(); } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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] = 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: `...` 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] = 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: `...` 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] = 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: `...` 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] = 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 method `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 method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 329 - let s2 = ss.trim_left_matches(" "); [INFO] [stdout] 329 + let s2 = ss.trim_start_matches(" "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:459:18 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ctime(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ctime(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:472:20 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn asctime(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn asctime(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn rfc822(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 493 | pub fn rfc822(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:511:20 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn rfc822z(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 511 | pub fn rfc822z(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:525:37 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "5b6e569c59ecb813e647b582a41467069c45e6ec4fc134a1478fafac2541ef2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b6e569c59ecb813e647b582a41467069c45e6ec4fc134a1478fafac2541ef2a", kill_on_drop: false }` [INFO] [stdout] 5b6e569c59ecb813e647b582a41467069c45e6ec4fc134a1478fafac2541ef2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 552af6c525b2fc500c5372281010b3d463ec033089dba23e633aab7a7097e425 [INFO] running `Command { std: "docker" "start" "-a" "552af6c525b2fc500c5372281010b3d463ec033089dba23e633aab7a7097e425", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi v0.3.9 [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) 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] = 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: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | #[cfg(any(target_os = "nacl", target_os = "solaris"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys.rs:458:80 [INFO] [stdout] | [INFO] [stdout] 458 | #[cfg(not(any(all(target_os = "android", target_pointer_width = "32"), target_os = "nacl", target_os = "solaris")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | extern { fn tzset(); } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [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] = 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: `...` 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] = 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: `...` 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] = 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: `...` 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] = 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 method `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 method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 329 - let s2 = ss.trim_left_matches(" "); [INFO] [stdout] 329 + let s2 = ss.trim_start_matches(" "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:459:18 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ctime(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ctime(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:472:20 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn asctime(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn asctime(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn rfc822(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 493 | pub fn rfc822(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:511:20 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn rfc822z(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 511 | pub fn rfc822z(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:525:37 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling 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: 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: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [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] = 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: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys.rs:393:15 [INFO] [stdout] | [INFO] [stdout] 393 | #[cfg(any(target_os = "nacl", target_os = "solaris"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nacl` [INFO] [stdout] --> src/sys.rs:458:80 [INFO] [stdout] | [INFO] [stdout] 458 | #[cfg(not(any(all(target_os = "android", target_pointer_width = "32"), target_os = "nacl", target_os = "solaris")))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | extern { fn tzset(); } [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` implied by `#[warn(warnings)]` [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] = 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: `...` 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] = 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: `...` 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] = 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: `...` 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] = 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 constant `std::sync::ONCE_INIT`: the `Once::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] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:667:29 [INFO] [stdout] | [INFO] [stdout] 667 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 667 - static INIT: Once = ONCE_INIT; [INFO] [stdout] 667 + static INIT: Once = Once::new(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 329 - let s2 = ss.trim_left_matches(" "); [INFO] [stdout] 329 + let s2 = ss.trim_start_matches(" "); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:459:18 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ctime(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn ctime(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:472:20 [INFO] [stdout] | [INFO] [stdout] 472 | pub fn asctime(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 472 | pub fn asctime(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:493:19 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn rfc822(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 493 | pub fn rfc822(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:511:20 [INFO] [stdout] | [INFO] [stdout] 511 | pub fn rfc822z(&self) -> TmFmt { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 511 | pub fn rfc822z(&self) -> TmFmt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:525:37 [INFO] [stdout] | [INFO] [stdout] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt { [INFO] [stdout] | -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.71s [INFO] running `Command { std: "docker" "inspect" "552af6c525b2fc500c5372281010b3d463ec033089dba23e633aab7a7097e425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552af6c525b2fc500c5372281010b3d463ec033089dba23e633aab7a7097e425", kill_on_drop: false }` [INFO] [stdout] 552af6c525b2fc500c5372281010b3d463ec033089dba23e633aab7a7097e425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 58f251fa4e7ef1559643d66aa399512ad5fdd8b4214b0516dcfd1fd07fdc131c [INFO] running `Command { std: "docker" "start" "-a" "58f251fa4e7ef1559643d66aa399512ad5fdd8b4214b0516dcfd1fd07fdc131c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | try!(parse_type(fmt, chars.next().unwrap(), self.tm)); [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/display.rs:16:25 [INFO] [stderr] | [INFO] [stderr] 16 | try!(fmt.write_char(ch)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:151:13 [INFO] [stderr] | [INFO] [stderr] 151 | try!(parse_type(fmt, 'a', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:152:13 [INFO] [stderr] | [INFO] [stderr] 152 | try!(fmt.write_str(" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | try!(parse_type(fmt, 'b', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:154:13 [INFO] [stderr] | [INFO] [stderr] 154 | try!(fmt.write_str(" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | try!(parse_type(fmt, 'e', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:156:13 [INFO] [stderr] | [INFO] [stderr] 156 | try!(fmt.write_str(" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:157:13 [INFO] [stderr] | [INFO] [stderr] 157 | try!(parse_type(fmt, 'T', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | try!(fmt.write_str(" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | try!(parse_type(fmt, 'm', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:163:13 [INFO] [stderr] | [INFO] [stderr] 163 | try!(fmt.write_str("/")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:164:13 [INFO] [stderr] | [INFO] [stderr] 164 | try!(parse_type(fmt, 'd', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | try!(fmt.write_str("/")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:172:13 [INFO] [stderr] | [INFO] [stderr] 172 | try!(parse_type(fmt, 'Y', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:173:13 [INFO] [stderr] | [INFO] [stderr] 173 | try!(fmt.write_str("-")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | try!(parse_type(fmt, 'm', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | try!(fmt.write_str("-")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:201:13 [INFO] [stderr] | [INFO] [stderr] 201 | try!(parse_type(fmt, 'H', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:202:13 [INFO] [stderr] | [INFO] [stderr] 202 | try!(fmt.write_str(":")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:206:13 [INFO] [stderr] | [INFO] [stderr] 206 | try!(parse_type(fmt, 'I', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:207:13 [INFO] [stderr] | [INFO] [stderr] 207 | try!(fmt.write_str(":")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:208:13 [INFO] [stderr] | [INFO] [stderr] 208 | try!(parse_type(fmt, 'M', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:209:13 [INFO] [stderr] | [INFO] [stderr] 209 | try!(fmt.write_str(":")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | try!(parse_type(fmt, 'S', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:211:13 [INFO] [stderr] | [INFO] [stderr] 211 | try!(fmt.write_str(" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:217:13 [INFO] [stderr] | [INFO] [stderr] 217 | try!(parse_type(fmt, 'H', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:218:13 [INFO] [stderr] | [INFO] [stderr] 218 | try!(fmt.write_str(":")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:219:13 [INFO] [stderr] | [INFO] [stderr] 219 | try!(parse_type(fmt, 'M', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:220:13 [INFO] [stderr] | [INFO] [stderr] 220 | try!(fmt.write_str(":")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:231:13 [INFO] [stderr] | [INFO] [stderr] 231 | try!(parse_type(fmt, 'e', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:232:13 [INFO] [stderr] | [INFO] [stderr] 232 | try!(fmt.write_str("-")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:233:13 [INFO] [stderr] | [INFO] [stderr] 233 | try!(parse_type(fmt, 'b', tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:234:13 [INFO] [stderr] | [INFO] [stderr] 234 | try!(fmt.write_str("-")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/duration.rs:380:9 [INFO] [stderr] | [INFO] [stderr] 380 | try!(write!(f, "{}P", sign)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/duration.rs:383:13 [INFO] [stderr] | [INFO] [stderr] 383 | try!(write!(f, "{}D", days)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/duration.rs:387:17 [INFO] [stderr] | [INFO] [stderr] 387 | try!(write!(f, "T{}S", secs)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/duration.rs:389:17 [INFO] [stderr] | [INFO] [stderr] 389 | try!(write!(f, "T{}.{:03}S", secs, abs.nanos / NANOS_PER_MILLI)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/duration.rs:391:17 [INFO] [stderr] | [INFO] [stderr] 391 | try!(write!(f, "T{}.{:06}S", secs, abs.nanos / NANOS_PER_MICRO)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/duration.rs:393:17 [INFO] [stderr] | [INFO] [stderr] 393 | try!(write!(f, "T{}.{:09}S", secs, abs.nanos)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:23:17 [INFO] [stderr] | [INFO] [stderr] 23 | try!(parse_type(&mut s, ch, &mut tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parse.rs:26:13 [INFO] [stderr] | [INFO] [stderr] 26 | try!(parse_char(&mut s, ch)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse.rs:336:17 [INFO] [stderr] | [INFO] [stderr] 336 | '0' ... '9' => value = value * 10 + (ch as i64 - '0' as i64), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse.rs:359:17 [INFO] [stderr] | [INFO] [stderr] 359 | '0' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nacl` [INFO] [stderr] --> src/sys.rs:393:15 [INFO] [stderr] | [INFO] [stderr] 393 | #[cfg(any(target_os = "nacl", target_os = "solaris"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nacl` [INFO] [stderr] --> src/sys.rs:458:80 [INFO] [stderr] | [INFO] [stderr] 458 | #[cfg(not(any(all(target_os = "android", target_pointer_width = "32"), target_os = "nacl", target_os = "solaris")))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | extern { fn tzset(); } [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:605:11 [INFO] [stderr] | [INFO] [stderr] 605 | (0...6, 0...11) => (), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:605:18 [INFO] [stderr] | [INFO] [stderr] 605 | (0...6, 0...11) => (), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:606:18 [INFO] [stderr] | [INFO] [stderr] 606 | (_wday, 0...11) => return Err(InvalidDayOfWeek), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/lib.rs:607:11 [INFO] [stderr] | [INFO] [stderr] 607 | (0...6, _mon) => return Err(InvalidMonth), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/duration.rs:411:30 [INFO] [stderr] | [INFO] [stderr] 411 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `core::str::::trim_left_matches`: superseded by `trim_start_matches` [INFO] [stderr] --> src/parse.rs:329:21 [INFO] [stderr] | [INFO] [stderr] 329 | let s2 = ss.trim_left_matches(" "); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated method [INFO] [stderr] | [INFO] [stderr] 329 - let s2 = ss.trim_left_matches(" "); [INFO] [stderr] 329 + let s2 = ss.trim_start_matches(" "); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:556:43 [INFO] [stderr] | [INFO] [stderr] 556 | write!(f, "{}: %{}", self.description(), ch) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:561:39 [INFO] [stderr] | [INFO] [stderr] 561 | _ => write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:459:18 [INFO] [stderr] | [INFO] [stderr] 459 | pub fn ctime(&self) -> TmFmt { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 459 | pub fn ctime(&self) -> TmFmt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:472:20 [INFO] [stderr] | [INFO] [stderr] 472 | pub fn asctime(&self) -> TmFmt { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 472 | pub fn asctime(&self) -> TmFmt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:493:19 [INFO] [stderr] | [INFO] [stderr] 493 | pub fn rfc822(&self) -> TmFmt { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 493 | pub fn rfc822(&self) -> TmFmt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:511:20 [INFO] [stderr] | [INFO] [stderr] 511 | pub fn rfc822z(&self) -> TmFmt { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 511 | pub fn rfc822z(&self) -> TmFmt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:525:37 [INFO] [stderr] | [INFO] [stderr] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt { [INFO] [stderr] | -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 525 | pub fn rfc3339<'a>(&'a self) -> TmFmt<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `time-preview` (lib) generated 60 warnings (run `cargo fix --lib -p time-preview` to apply 13 suggestions) [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/display.rs:14:25 [INFO] [stderr] | [INFO] [stderr] 14 | try!(parse_type(fmt, chars.next().unwrap(), self.tm)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:37:24 [INFO] [stderr] | [INFO] [stderr] 37 | #![cfg_attr(test, deny(warnings))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(deprecated)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse.rs:336:17 [INFO] [stderr] | [INFO] [stderr] 336 | '0' ... '9' => value = value * 10 + (ch as i64 - '0' as i64), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nacl` [INFO] [stderr] --> src/sys.rs:393:15 [INFO] [stderr] | [INFO] [stderr] 393 | #[cfg(any(target_os = "nacl", target_os = "solaris"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_os` are: `aix`, `amdhsa`, `android`, `cuda`, `cygwin`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `lynxos178`, `macos`, `managarm`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, and `tvos` and 11 more [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stderr] --> src/lib.rs:285:5 [INFO] [stderr] | [INFO] [stderr] 285 | extern { fn tzset(); } [INFO] [stderr] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(missing_abi)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:655:27 [INFO] [stderr] | [INFO] [stderr] 655 | use std::sync::{Once, ONCE_INIT, Mutex, MutexGuard, LockResult}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stderr] --> src/lib.rs:667:29 [INFO] [stderr] | [INFO] [stderr] 667 | static INIT: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: replace the use of the deprecated constant [INFO] [stderr] | [INFO] [stderr] 667 - static INIT: Once = ONCE_INIT; [INFO] [stderr] 667 + static INIT: Once = Once::new(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:459:18 [INFO] [stderr] | [INFO] [stderr] 459 | pub fn ctime(&self) -> TmFmt { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` implied by `#[warn(warnings)]` [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 459 | pub fn ctime(&self) -> TmFmt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `time-preview` (lib test) generated 62 warnings (55 duplicates) (run `cargo fix --lib -p time-preview --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/time_preview-bd8c6a1bce7ad8a7) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test duration::tests::test_duration_div ... ok [INFO] [stdout] test duration::tests::test_duration_fmt ... ok [INFO] [stdout] test duration::tests::test_duration_num_microseconds ... ok [INFO] [stdout] test duration::tests::test_duration_num_days ... ok [INFO] [stdout] test duration::tests::test_duration_num_milliseconds ... ok [INFO] [stdout] test duration::tests::test_duration ... ok [INFO] [stdout] test duration::tests::test_duration_mul ... ok [INFO] [stdout] test duration::tests::test_from_std ... ok [INFO] [stdout] test tests::test_asctime ... ok [INFO] [stdout] test tests::test_at_utc ... ok [INFO] [stdout] test tests::test_at ... ok [INFO] [stdout] test tests::test_conversions ... ok [INFO] [stdout] test tests::test_precise_time ... ok [INFO] [stdout] test tests::test_dst ... ok [INFO] [stdout] test tests::test_timespec_hash ... ok [INFO] [stdout] test duration::tests::test_duration_checked_ops ... ok [INFO] [stdout] test tests::test_to_timespec ... ok [INFO] [stdout] test tests::test_precise_time_to ... ok [INFO] [stdout] test duration::tests::test_duration_num_nanoseconds ... ok [INFO] [stdout] test duration::tests::test_duration_num_seconds ... ok [INFO] [stdout] test duration::tests::test_to_std ... ok [INFO] [stdout] test tests::test_steadytime_sub ... ok [INFO] [stdout] test tests::test_ctime ... ok [INFO] [stdout] test tests::test_date_before_1970 ... ok [INFO] [stdout] test tests::test_strftime ... ok [INFO] [stdout] test tests::test_time_sub ... ok [INFO] [stdout] test tests::test_timespec_add ... ok [INFO] [stdout] test tests::test_timespec_sub ... ok [INFO] [stdout] test tests::test_strptime ... ok [INFO] [stdout] test tests::test_timespec_eq_ord ... ok [INFO] [stdout] test tests::test_get_time ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::test_get_time stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'tests::test_get_time' (44) panicked at src/lib.rs:710:9: [INFO] [stdout] assertion failed: tv2.sec < SOME_FUTURE_DATE [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56ce9899c0a2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56ce9899c0a2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56ce9899c0a2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56ce9899c0a2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56ce989ac26f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56ce989ac26f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56ce98969171 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56ce98969171 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56ce98975562 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56ce9897a10f - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56ce98979fa1 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56ce9893a3de - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56ce9893a3de - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56ce9897a7cf - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56ce9897a7cf - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56ce9897a5f6 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x56ce98975699 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56ce9895d64d - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56ce989b3d40 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56ce989b3d1c - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x56ce988fafc6 - time_preview::tests::test_get_time::h1de73f16a0a1f189 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:710:9 [INFO] [stdout] 21: 0x56ce988fb047 - time_preview::tests::test_get_time::{{closure}}::h75359577fc7258b9 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:696:23 [INFO] [stdout] 22: 0x56ce98913696 - core::ops::function::FnOnce::call_once::ha0be8a764bc53314 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x56ce9893a19b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56ce9893a19b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x56ce9894fe05 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x56ce9894fe05 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x56ce9894fe05 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x56ce9894fe05 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x56ce9894fe05 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x56ce9894fe05 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x56ce9894fe05 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x56ce989265f4 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x56ce989265f4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x56ce98929eba - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x56ce98929eba - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x56ce98929eba - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x56ce98929eba - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x56ce98929eba - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x56ce98929eba - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x56ce98929eba - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x56ce989707ff - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x56ce989707ff - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x7ebab3181aa4 - [INFO] [stdout] 44: 0x7ebab320ea34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::test_get_time [INFO] [stdout] [INFO] [stdout] test result: FAILED. 30 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "58f251fa4e7ef1559643d66aa399512ad5fdd8b4214b0516dcfd1fd07fdc131c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58f251fa4e7ef1559643d66aa399512ad5fdd8b4214b0516dcfd1fd07fdc131c", kill_on_drop: false }` [INFO] [stdout] 58f251fa4e7ef1559643d66aa399512ad5fdd8b4214b0516dcfd1fd07fdc131c