[INFO] cloning repository https://github.com/Xevion/time-banner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Xevion/time-banner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXevion%2Ftime-banner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXevion%2Ftime-banner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7207a25aefb295595193763c022da35ab8cd6170 [INFO] checking Xevion/time-banner/7207a25aefb295595193763c022da35ab8cd6170 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXevion%2Ftime-banner" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Xevion/time-banner on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Xevion/time-banner [INFO] finished tweaking git repo https://github.com/Xevion/time-banner [INFO] tweaked toml for git repo https://github.com/Xevion/time-banner written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Xevion/time-banner already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8465f6e2d6fca8958422a29d8fed328e85238a35ee2d4ea01939fbe12b3cb8b9 [INFO] running `Command { std: "docker" "start" "-a" "8465f6e2d6fca8958422a29d8fed328e85238a35ee2d4ea01939fbe12b3cb8b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8465f6e2d6fca8958422a29d8fed328e85238a35ee2d4ea01939fbe12b3cb8b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8465f6e2d6fca8958422a29d8fed328e85238a35ee2d4ea01939fbe12b3cb8b9", kill_on_drop: false }` [INFO] [stdout] 8465f6e2d6fca8958422a29d8fed328e85238a35ee2d4ea01939fbe12b3cb8b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36499c4ac373e79e01beb12f6c5401a91340fb2f27ef416ac33b12bf6b895cf [INFO] running `Command { std: "docker" "start" "-a" "a36499c4ac373e79e01beb12f6c5401a91340fb2f27ef416ac33b12bf6b895cf", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling regex-syntax v0.7.2 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Checking arrayvec v0.7.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking xmlparser v0.13.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking tiny-skia-path v0.10.0 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Checking roxmltree v0.18.0 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unicode-general-category v0.6.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking svgtypes v0.11.0 [INFO] [stderr] Checking fontconfig-parser v0.5.2 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking usvg-tree v0.34.0 [INFO] [stderr] Checking memmap2 v0.6.2 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking bstr v1.5.0 [INFO] [stderr] Compiling regex v1.8.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling serde_json v1.0.97 [INFO] [stderr] Checking ttf-parser v0.19.0 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling phf_generator v0.11.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking ttf-parser v0.18.1 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unicode-script v0.5.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking data-url v0.2.0 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling axum v0.6.18 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking usvg-parser v0.34.0 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking tiny-skia v0.10.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking tracing-log v0.1.3 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz-build v0.2.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking rgb v0.8.36 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking fontdb v0.14.1 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking matchit v0.7.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking rustybuzz v0.7.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Compiling chrono-tz v0.8.3 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling time-banner v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling tracing-attributes v0.1.24 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Checking usvg-text-layout v0.34.0 [INFO] [stderr] Checking isolang v2.3.0 [INFO] [stderr] Checking usvg v0.34.1 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking resvg v0.34.1 [INFO] [stderr] Compiling pest v2.6.0 [INFO] [stderr] Compiling pest_meta v2.6.0 [INFO] [stderr] Compiling pest_generator v2.6.0 [INFO] [stderr] Compiling pest_derive v2.6.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking serde_path_to_error v0.1.11 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking envy v0.4.2 [INFO] [stderr] Checking tera v1.19.0 [INFO] [stderr] Checking timeago v0.4.1 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/relative.rs (2 fixes) [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TIMEZONES` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/time-banner-3ebfca47c7a6be8b/out/codegen.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | static TIMEZONES: phf::Map<&'static str, &'static str> = ::phf::Map { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_abbreviation` is never used [INFO] [stdout] --> src/abbr.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn parse_abbreviation(abbreviation: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_absolute` is never used [INFO] [stdout] --> src/parse.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_absolute(raw: String) -> Result<(DateTime, FixedOffset), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Absolute` is never constructed [INFO] [stdout] --> src/template.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum OutputForm { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 24 | Relative, [INFO] [stdout] 25 | Absolute, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tz_offset`, `tz_name`, and `view` are never read [INFO] [stdout] --> src/template.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct RenderContext<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub tz_offset: FixedOffset, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 32 | pub tz_name: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 33 | pub view: &'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `RenderError` is never constructed [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum TimeBannerError { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 6 | ParseError(String), [INFO] [stdout] 7 | RenderError(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `months` is never used [INFO] [stdout] --> src/relative.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Months { [INFO] [stdout] | ------ associated function in this trait [INFO] [stdout] 6 | fn months(count: i32) -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration` is never used [INFO] [stdout] --> src/relative.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn parse_duration(str: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(parse_duration(""), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:98:43 [INFO] [stdout] | [INFO] [stdout] 98 | assert_eq!(parse_duration(""), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(parse_duration(" "), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | assert_eq!(parse_duration(" "), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:100:20 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(parse_duration(" "), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 100 | assert_eq!(parse_duration(" "), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | ... assert_eq!(parse_duration("1y2mon3w4d5h6m7s"), Ok(Duration::hours(365 * 24 + 6) + Duration::months(2) + Duration::days(3 * 7 + 4) +... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:105:59 [INFO] [stdout] | [INFO] [stdout] 105 | ... assert_eq!(parse_duration("1y2mon3w4d5h6m7s"), Ok(Duration::hours(365 * 24 + 6) + Duration::months(2) + Duration::days(3 * 7 + 4) +... [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:105:91 [INFO] [stdout] | [INFO] [stdout] 105 | ... assert_eq!(parse_duration("1y2mon3w4d5h6m7s"), Ok(Duration::hours(365 * 24 + 6) + Duration::months(2) + Duration::days(3 * 7 + 4) +... [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:105:113 [INFO] [stdout] | [INFO] [stdout] 105 | ...::hours(365 * 24 + 6) + Duration::months(2) + Duration::days(3 * 7 + 4) + Duration::hours(5) + Duration::minutes(6) + Duration::second... [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:105:141 [INFO] [stdout] | [INFO] [stdout] 105 | ...tion::months(2) + Duration::days(3 * 7 + 4) + Duration::hours(5) + Duration::minutes(6) + Duration::seconds(7))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:105:162 [INFO] [stdout] | [INFO] [stdout] 105 | ...ation::days(3 * 7 + 4) + Duration::hours(5) + Duration::minutes(6) + Duration::seconds(7))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:105:185 [INFO] [stdout] | [INFO] [stdout] 105 | ...+ Duration::hours(5) + Duration::minutes(6) + Duration::seconds(7))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | ... assert_eq!(parse_duration("19year33weeks4d9min"), Ok(Duration::hours((365 * 24 + 6) * 19) + Duration::days(33 * 7 + 4) + Duration::... [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:106:62 [INFO] [stdout] | [INFO] [stdout] 106 | ... assert_eq!(parse_duration("19year33weeks4d9min"), Ok(Duration::hours((365 * 24 + 6) * 19) + Duration::days(33 * 7 + 4) + Duration::... [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:106:101 [INFO] [stdout] | [INFO] [stdout] 106 | ..."), Ok(Duration::hours((365 * 24 + 6) * 19) + Duration::days(33 * 7 + 4) + Duration::minutes(9))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:106:130 [INFO] [stdout] | [INFO] [stdout] 106 | ... 24 + 6) * 19) + Duration::days(33 * 7 + 4) + Duration::minutes(9))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(parse_duration("1y"), Ok(Duration::days(365) + Duration::hours(6))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:111:45 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(parse_duration("1y"), Ok(Duration::days(365) + Duration::hours(6))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:111:67 [INFO] [stdout] | [INFO] [stdout] 111 | assert_eq!(parse_duration("1y"), Ok(Duration::days(365) + Duration::hours(6))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(parse_duration("2year"), Ok(Duration::days(365 * 2) + Duration::hours(6 * 2))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:112:48 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(parse_duration("2year"), Ok(Duration::days(365 * 2) + Duration::hours(6 * 2))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:112:74 [INFO] [stdout] | [INFO] [stdout] 112 | assert_eq!(parse_duration("2year"), Ok(Duration::days(365 * 2) + Duration::hours(6 * 2))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(parse_duration("144years"), Ok(Duration::days(365 * 144) + Duration::hours(6 * 144))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(parse_duration("144years"), Ok(Duration::days(365 * 144) + Duration::hours(6 * 144))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:113:79 [INFO] [stdout] | [INFO] [stdout] 113 | assert_eq!(parse_duration("144years"), Ok(Duration::days(365 * 144) + Duration::hours(6 * 144))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:118:23 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(0, parse_duration("0mon").unwrap().num_minutes()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:119:28 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(131490, parse_duration("3mon").unwrap().num_minutes()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:120:29 [INFO] [stdout] | [INFO] [stdout] 120 | assert_eq!(-613620, parse_duration("-14mon").unwrap().num_minutes()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | assert_eq!(6311520, parse_duration("+144months").unwrap().num_minutes()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(parse_duration("0w"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:126:45 [INFO] [stdout] | [INFO] [stdout] 126 | assert_eq!(parse_duration("0w"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:127:20 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(parse_duration("7w"), Ok(Duration::days(7 * 7))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:127:45 [INFO] [stdout] | [INFO] [stdout] 127 | assert_eq!(parse_duration("7w"), Ok(Duration::days(7 * 7))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(parse_duration("19week"), Ok(Duration::days(7 * 19))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:128:49 [INFO] [stdout] | [INFO] [stdout] 128 | assert_eq!(parse_duration("19week"), Ok(Duration::days(7 * 19))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(parse_duration("433weeks"), Ok(Duration::days(7 * 433))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:129:51 [INFO] [stdout] | [INFO] [stdout] 129 | assert_eq!(parse_duration("433weeks"), Ok(Duration::days(7 * 433))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:134:20 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(parse_duration("0d"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:134:45 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(parse_duration("0d"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(parse_duration("9d"), Ok(Duration::days(9))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:135:45 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(parse_duration("9d"), Ok(Duration::days(9))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(parse_duration("43day"), Ok(Duration::days(43))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:136:48 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(parse_duration("43day"), Ok(Duration::days(43))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(parse_duration("969days"), Ok(Duration::days(969))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:137:50 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(parse_duration("969days"), Ok(Duration::days(969))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(parse_duration("0h"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:142:45 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(parse_duration("0h"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:143:20 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(parse_duration("4h"), Ok(Duration::hours(4))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:143:45 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(parse_duration("4h"), Ok(Duration::hours(4))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(parse_duration("150hour"), Ok(Duration::hours(150))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:144:50 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(parse_duration("150hour"), Ok(Duration::hours(150))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(parse_duration("777hours"), Ok(Duration::hours(777))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:145:51 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(parse_duration("777hours"), Ok(Duration::hours(777))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:150:20 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(parse_duration("0m"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:150:45 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(parse_duration("0m"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(parse_duration("5m"), Ok(Duration::minutes(5))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | assert_eq!(parse_duration("5m"), Ok(Duration::minutes(5))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:152:20 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(parse_duration("60min"), Ok(Duration::minutes(60))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:152:48 [INFO] [stdout] | [INFO] [stdout] 152 | assert_eq!(parse_duration("60min"), Ok(Duration::minutes(60))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(parse_duration("999minutes"), Ok(Duration::minutes(999))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:153:53 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(parse_duration("999minutes"), Ok(Duration::minutes(999))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(parse_duration("0s"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:158:45 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(parse_duration("0s"), Ok(Duration::zero())); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:159:20 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(parse_duration("6s"), Ok(Duration::seconds(6))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:159:45 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(parse_duration("6s"), Ok(Duration::seconds(6))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:160:20 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(parse_duration("60sec"), Ok(Duration::minutes(1))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:160:48 [INFO] [stdout] | [INFO] [stdout] 160 | assert_eq!(parse_duration("60sec"), Ok(Duration::minutes(1))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_duration` in this scope [INFO] [stdout] --> src/relative.rs:161:20 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(parse_duration("999seconds"), Ok(Duration::seconds(999))); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::parse_duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/relative.rs:161:53 [INFO] [stdout] | [INFO] [stdout] 161 | assert_eq!(parse_duration("999seconds"), Ok(Duration::seconds(999))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 96 + use crate::relative::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use chrono::Duration; [INFO] [stdout] | [INFO] [stdout] 96 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `raw_time` [INFO] [stdout] --> src/routes.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_raw_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `extension` [INFO] [stdout] --> src/routes.rs:51:20 [INFO] [stdout] | [INFO] [stdout] 51 | let (raw_time, extension) = parse_path(path.as_str()); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_extension` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time-banner` (bin "time-banner" test) due to 71 previous errors; 4 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "a36499c4ac373e79e01beb12f6c5401a91340fb2f27ef416ac33b12bf6b895cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36499c4ac373e79e01beb12f6c5401a91340fb2f27ef416ac33b12bf6b895cf", kill_on_drop: false }` [INFO] [stdout] a36499c4ac373e79e01beb12f6c5401a91340fb2f27ef416ac33b12bf6b895cf