[INFO] cloning repository https://github.com/ericbean/worklog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ericbean/worklog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericbean%2Fworklog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericbean%2Fworklog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 734c70651046a6a05efb071aa2cca2dcfefb4939 [INFO] testing ericbean/worklog against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fericbean%2Fworklog" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ericbean/worklog on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ericbean/worklog [INFO] finished tweaking git repo https://github.com/ericbean/worklog [INFO] tweaked toml for git repo https://github.com/ericbean/worklog written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ericbean/worklog already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-segmentation v1.2.0 [INFO] [stderr] Downloaded num v0.1.37 [INFO] [stderr] Downloaded clap v2.24.2 [INFO] [stderr] Downloaded csv v1.0.0-beta.3 [INFO] [stderr] Downloaded chrono v0.3.1 [INFO] [stderr] Downloaded csv-core v0.1.2 [INFO] [stderr] Downloaded libc v0.2.23 [INFO] [stderr] Downloaded peg v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 138b1dd0191f4903af431799a752c5b31303a07d1983af3fad56b5af78171961 [INFO] running `Command { std: "docker" "start" "-a" "138b1dd0191f4903af431799a752c5b31303a07d1983af3fad56b5af78171961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "138b1dd0191f4903af431799a752c5b31303a07d1983af3fad56b5af78171961", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "138b1dd0191f4903af431799a752c5b31303a07d1983af3fad56b5af78171961", kill_on_drop: false }` [INFO] [stdout] 138b1dd0191f4903af431799a752c5b31303a07d1983af3fad56b5af78171961 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4284bc58358aaed019b5fcb43a0b536306b9ab6b28668c11ed31c897ed4ad8ef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4284bc58358aaed019b5fcb43a0b536306b9ab6b28668c11ed31c897ed4ad8ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.23 [INFO] [stderr] Compiling serde v1.0.8 [INFO] [stderr] Compiling unicode-segmentation v1.2.0 [INFO] [stderr] Compiling peg v0.5.3 [INFO] [stderr] Compiling num-integer v0.1.34 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling num-iter v0.1.33 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling time v0.1.37 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling num v0.1.37 [INFO] [stderr] Compiling csv-core v0.1.2 [INFO] [stderr] Compiling clap v2.24.2 [INFO] [stderr] Compiling serde_derive v1.0.8 [INFO] [stderr] Compiling worklog v0.1.4-alpha (/opt/rustwide/workdir) [INFO] [stderr] Compiling csv v1.0.0-beta.3 [INFO] [stderr] Compiling chrono v0.3.1 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/timeclock/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let mut in_v: Vec = try!(rdr.deserialize().collect()); [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] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | if self.expected.len() == 0 { try! (write! (fmt, "EOF")) ; } else if [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | let mut iter = self.expected.iter() ; try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | { try! (write! (fmt, ", `{}`", escape_default(elem))) ; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:83:459 [INFO] [stdout] | [INFO] [stdout] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:85:460 [INFO] [stdout] | [INFO] [stdout] 85 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:87:852 [INFO] [stdout] | [INFO] [stdout] 87 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:111:505 [INFO] [stdout] | [INFO] [stdout] 111 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:113:505 [INFO] [stdout] | [INFO] [stdout] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:125:500 [INFO] [stdout] | [INFO] [stdout] 125 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:127:502 [INFO] [stdout] | [INFO] [stdout] 127 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:129:503 [INFO] [stdout] | [INFO] [stdout] 129 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:167:500 [INFO] [stdout] | [INFO] [stdout] 167 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:169:501 [INFO] [stdout] | [INFO] [stdout] 169 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:171:499 [INFO] [stdout] | [INFO] [stdout] 171 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let res = try!(grammar::rounding(fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let offset = try!(grammar::offset(offset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | let (hour, minute, second) = try!(grammar::time(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let time = try!(time.with_hour(hour).ok_or(ParseError::Hour)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let time = try!(time.with_minute(minute).ok_or(ParseError::Minute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let time = try!(time.with_second(second as u32).ok_or(ParseError::Second)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let time = try!(time.with_nanosecond(nanosecond as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(grammar::datetime(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let time = try!(time.with_hour(hour).ok_or(ParseError::Hour)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let time = try!(time.with_minute(minute).ok_or(ParseError::Minute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | let time = try!(time.with_second(second as u32).ok_or(ParseError::Second)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | let time = try!(time.with_nanosecond(nanosecond as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | let csv_path = try!(get_csv_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | let mut csv_file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | try!(parsers::parse_rounding(ROUNDING_DEFAULT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | try!(parsers::parse_rounding(matches.value_of("round_ex").unwrap())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | let mut range: Vec> = try!(range.map(|a| parsers::parse_datetime(a, ctime)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!(parsers::parse_datetime(a, ctime) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(print_short_summary(&csv_file, start_date, end_date, rounding)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(print_csv_entries(&csv_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | try!(print_short_summary(&csv_file, start_date, today, rounding)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | let mut data_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 63 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/timeclock/error.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 25 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | WorklogError::Env(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | WorklogError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | WorklogError::CronoParse(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | WorklogError::TimeClock(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | WorklogError::ParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | WorklogError::Env(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - WorklogError::Env(ref err) => Some(err as &Error), [INFO] [stdout] 65 + WorklogError::Env(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | WorklogError::Io(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - WorklogError::Io(ref err) => Some(err as &Error), [INFO] [stdout] 66 + WorklogError::Io(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:67:63 [INFO] [stdout] | [INFO] [stdout] 67 | WorklogError::CronoParse(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - WorklogError::CronoParse(ref err) => Some(err as &Error), [INFO] [stdout] 67 + WorklogError::CronoParse(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | WorklogError::TimeClock(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - WorklogError::TimeClock(ref err) => Some(err as &Error), [INFO] [stdout] 68 + WorklogError::TimeClock(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | WorklogError::ParseError(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - WorklogError::ParseError(ref err) => Some(err as &Error), [INFO] [stdout] 69 + WorklogError::ParseError(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/timeclock/error.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | TimeClockError::Csv(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/timeclock/error.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | TimeClockError::Csv(ref err) => err as &Error, [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - TimeClockError::Csv(ref err) => err as &Error, [INFO] [stdout] 27 + TimeClockError::Csv(ref err) => err as &dyn Error, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parsers.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | ParseError::PE(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | ParseError::PE(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - ParseError::PE(ref err) => Some(err as &Error), [INFO] [stdout] 46 + ParseError::PE(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parsers.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | _ => fmt::Display::fmt(self.description(), f), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.89s [INFO] running `Command { std: "docker" "inspect" "4284bc58358aaed019b5fcb43a0b536306b9ab6b28668c11ed31c897ed4ad8ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4284bc58358aaed019b5fcb43a0b536306b9ab6b28668c11ed31c897ed4ad8ef", kill_on_drop: false }` [INFO] [stdout] 4284bc58358aaed019b5fcb43a0b536306b9ab6b28668c11ed31c897ed4ad8ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d9c2ba85328e4cd53579c87d0df9265e644c9adac08a760650c5820a291a3008 [INFO] running `Command { std: "docker" "start" "-a" "d9c2ba85328e4cd53579c87d0df9265e644c9adac08a760650c5820a291a3008", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling worklog v0.1.4-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/timeclock/mod.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | let mut in_v: Vec = try!(rdr.deserialize().collect()); [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] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:20:39 [INFO] [stdout] | [INFO] [stdout] 20 | if self.expected.len() == 0 { try! (write! (fmt, "EOF")) ; } else if [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 29 | let mut iter = self.expected.iter() ; try! [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | { try! (write! (fmt, ", `{}`", escape_default(elem))) ; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:83:459 [INFO] [stdout] | [INFO] [stdout] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:85:460 [INFO] [stdout] | [INFO] [stdout] 85 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:87:852 [INFO] [stdout] | [INFO] [stdout] 87 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:111:505 [INFO] [stdout] | [INFO] [stdout] 111 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:113:505 [INFO] [stdout] | [INFO] [stdout] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:125:500 [INFO] [stdout] | [INFO] [stdout] 125 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:127:502 [INFO] [stdout] | [INFO] [stdout] 127 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:129:503 [INFO] [stdout] | [INFO] [stdout] 129 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:167:500 [INFO] [stdout] | [INFO] [stdout] 167 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:169:501 [INFO] [stdout] | [INFO] [stdout] 169 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:171:499 [INFO] [stdout] | [INFO] [stdout] 171 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:62:15 [INFO] [stdout] | [INFO] [stdout] 62 | let res = try!(grammar::rounding(fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:69:18 [INFO] [stdout] | [INFO] [stdout] 69 | let offset = try!(grammar::offset(offset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | let (hour, minute, second) = try!(grammar::time(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | let time = try!(time.with_hour(hour).ok_or(ParseError::Hour)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:82:16 [INFO] [stdout] | [INFO] [stdout] 82 | let time = try!(time.with_minute(minute).ok_or(ParseError::Minute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | let time = try!(time.with_second(second as u32).ok_or(ParseError::Second)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let time = try!(time.with_nanosecond(nanosecond as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | try!(grammar::datetime(input)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | let time = try!(time.with_hour(hour).ok_or(ParseError::Hour)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:112:16 [INFO] [stdout] | [INFO] [stdout] 112 | let time = try!(time.with_minute(minute).ok_or(ParseError::Minute)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:113:16 [INFO] [stdout] | [INFO] [stdout] 113 | let time = try!(time.with_second(second as u32).ok_or(ParseError::Second)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parsers.rs:115:16 [INFO] [stdout] | [INFO] [stdout] 115 | let time = try!(time.with_nanosecond(nanosecond as u32) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:50:23 [INFO] [stdout] | [INFO] [stdout] 50 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:70:23 [INFO] [stdout] | [INFO] [stdout] 70 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | let csv_path = try!(get_csv_path()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:135:24 [INFO] [stdout] | [INFO] [stdout] 135 | let mut csv_file = try!(OpenOptions::new() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | try!(parsers::parse_rounding(ROUNDING_DEFAULT)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 145 | try!(parsers::parse_rounding(matches.value_of("round_ex").unwrap())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | let mut range: Vec> = try!(range.map(|a| parsers::parse_datetime(a, ctime)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!(parsers::parse_datetime(a, ctime) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | try!(print_short_summary(&csv_file, start_date, end_date, rounding)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | try!(print_csv_entries(&csv_file)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | try!(print_short_summary(&csv_file, start_date, today, rounding)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | let mut data_path = match env::home_dir() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:63:32 [INFO] [stdout] | [INFO] [stdout] 63 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 63 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 63 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/timeclock/error.rs:25:32 [INFO] [stdout] | [INFO] [stdout] 25 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 25 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:55:47 [INFO] [stdout] | [INFO] [stdout] 55 | WorklogError::Env(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:56:46 [INFO] [stdout] | [INFO] [stdout] 56 | WorklogError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:57:54 [INFO] [stdout] | [INFO] [stdout] 57 | WorklogError::CronoParse(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | WorklogError::TimeClock(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 59 | WorklogError::ParseError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:65:56 [INFO] [stdout] | [INFO] [stdout] 65 | WorklogError::Env(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 - WorklogError::Env(ref err) => Some(err as &Error), [INFO] [stdout] 65 + WorklogError::Env(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:66:55 [INFO] [stdout] | [INFO] [stdout] 66 | WorklogError::Io(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - WorklogError::Io(ref err) => Some(err as &Error), [INFO] [stdout] 66 + WorklogError::Io(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:67:63 [INFO] [stdout] | [INFO] [stdout] 67 | WorklogError::CronoParse(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 - WorklogError::CronoParse(ref err) => Some(err as &Error), [INFO] [stdout] 67 + WorklogError::CronoParse(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:68:62 [INFO] [stdout] | [INFO] [stdout] 68 | WorklogError::TimeClock(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - WorklogError::TimeClock(ref err) => Some(err as &Error), [INFO] [stdout] 68 + WorklogError::TimeClock(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:69:63 [INFO] [stdout] | [INFO] [stdout] 69 | WorklogError::ParseError(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 69 - WorklogError::ParseError(ref err) => Some(err as &Error), [INFO] [stdout] 69 + WorklogError::ParseError(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/timeclock/error.rs:21:49 [INFO] [stdout] | [INFO] [stdout] 21 | TimeClockError::Csv(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/timeclock/error.rs:27:58 [INFO] [stdout] | [INFO] [stdout] 27 | TimeClockError::Csv(ref err) => err as &Error, [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - TimeClockError::Csv(ref err) => err as &Error, [INFO] [stdout] 27 + TimeClockError::Csv(ref err) => err as &dyn Error, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parsers.rs:33:44 [INFO] [stdout] | [INFO] [stdout] 33 | ParseError::PE(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parsers.rs:46:53 [INFO] [stdout] | [INFO] [stdout] 46 | ParseError::PE(ref err) => Some(err as &Error), [INFO] [stdout] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 46 - ParseError::PE(ref err) => Some(err as &Error), [INFO] [stdout] 46 + ParseError::PE(ref err) => Some(err as &dyn Error), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/parsers.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | _ => fmt::Display::fmt(self.description(), f), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.24s [INFO] running `Command { std: "docker" "inspect" "d9c2ba85328e4cd53579c87d0df9265e644c9adac08a760650c5820a291a3008", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9c2ba85328e4cd53579c87d0df9265e644c9adac08a760650c5820a291a3008", kill_on_drop: false }` [INFO] [stdout] d9c2ba85328e4cd53579c87d0df9265e644c9adac08a760650c5820a291a3008 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc23b169d022c2d6c0dd5230ead0aaa9dba36e3f7b8d83b9c42aff57a1da3cd6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc23b169d022c2d6c0dd5230ead0aaa9dba36e3f7b8d83b9c42aff57a1da3cd6", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/timeclock/mod.rs:25:36 [INFO] [stderr] | [INFO] [stderr] 25 | let mut in_v: Vec = try!(rdr.deserialize().collect()); [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] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:18:9 [INFO] [stderr] | [INFO] [stderr] 18 | try! [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:20:39 [INFO] [stderr] | [INFO] [stderr] 20 | if self.expected.len() == 0 { try! (write! (fmt, "EOF")) ; } else if [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | try! [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:29:51 [INFO] [stderr] | [INFO] [stderr] 29 | let mut iter = self.expected.iter() ; try! [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:33:15 [INFO] [stderr] | [INFO] [stderr] 33 | { try! (write! (fmt, ", `{}`", escape_default(elem))) ; } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:83:459 [INFO] [stderr] | [INFO] [stderr] 83 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[0-9]" ) , ... [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:85:460 [INFO] [stderr] | [INFO] [stderr] 85 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:87:852 [INFO] [stderr] | [INFO] [stderr] 87 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:111:505 [INFO] [stderr] | [INFO] [stderr] 111 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:113:505 [INFO] [stderr] | [INFO] [stderr] 113 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:125:500 [INFO] [stderr] | [INFO] [stderr] 125 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:127:502 [INFO] [stderr] | [INFO] [stderr] 127 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:129:503 [INFO] [stderr] | [INFO] [stderr] 129 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' | '.' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:167:500 [INFO] [stderr] | [INFO] [stderr] 167 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:169:501 [INFO] [stderr] | [INFO] [stderr] 169 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: `...` range patterns are deprecated [INFO] [stderr] --> /opt/rustwide/target/debug/build/worklog-5c212085638042ae/out/grammar.rs:171:499 [INFO] [stderr] | [INFO] [stderr] 171 | ...nge_at ( __input , __pos ) ; match __ch { '0' ... '9' => Matched ( __next , ( ) ) , _ => __state . mark_failure ( __pos , "[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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:62:15 [INFO] [stderr] | [INFO] [stderr] 62 | let res = try!(grammar::rounding(fmt)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:69:18 [INFO] [stderr] | [INFO] [stderr] 69 | let offset = try!(grammar::offset(offset)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:79:34 [INFO] [stderr] | [INFO] [stderr] 79 | let (hour, minute, second) = try!(grammar::time(input)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:81:16 [INFO] [stderr] | [INFO] [stderr] 81 | let time = try!(time.with_hour(hour).ok_or(ParseError::Hour)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:82:16 [INFO] [stderr] | [INFO] [stderr] 82 | let time = try!(time.with_minute(minute).ok_or(ParseError::Minute)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:83:16 [INFO] [stderr] | [INFO] [stderr] 83 | let time = try!(time.with_second(second as u32).ok_or(ParseError::Second)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | let time = try!(time.with_nanosecond(nanosecond as u32) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 94 | try!(grammar::datetime(input)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | let time = try!(time.with_hour(hour).ok_or(ParseError::Hour)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:112:16 [INFO] [stderr] | [INFO] [stderr] 112 | let time = try!(time.with_minute(minute).ok_or(ParseError::Minute)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:113:16 [INFO] [stderr] | [INFO] [stderr] 113 | let time = try!(time.with_second(second as u32).ok_or(ParseError::Second)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parsers.rs:115:16 [INFO] [stderr] | [INFO] [stderr] 115 | let time = try!(time.with_nanosecond(nanosecond as u32) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:39:23 [INFO] [stderr] | [INFO] [stderr] 39 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:50:23 [INFO] [stderr] | [INFO] [stderr] 50 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:70:23 [INFO] [stderr] | [INFO] [stderr] 70 | let csv_entries = try!(timeclock::read_timesheet(file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:133:20 [INFO] [stderr] | [INFO] [stderr] 133 | let csv_path = try!(get_csv_path()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:135:24 [INFO] [stderr] | [INFO] [stderr] 135 | let mut csv_file = try!(OpenOptions::new() [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | try!(parsers::parse_rounding(ROUNDING_DEFAULT)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:145:13 [INFO] [stderr] | [INFO] [stderr] 145 | try!(parsers::parse_rounding(matches.value_of("round_ex").unwrap())) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:156:57 [INFO] [stderr] | [INFO] [stderr] 156 | let mut range: Vec> = try!(range.map(|a| parsers::parse_datetime(a, ctime)) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:176:17 [INFO] [stderr] | [INFO] [stderr] 176 | try!(parsers::parse_datetime(a, ctime) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:188:9 [INFO] [stderr] | [INFO] [stderr] 188 | try!(print_short_summary(&csv_file, start_date, end_date, rounding)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | try!(print_csv_entries(&csv_file)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/main.rs:198:9 [INFO] [stderr] | [INFO] [stderr] 198 | try!(print_short_summary(&csv_file, start_date, today, rounding)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stderr] --> src/main.rs:88:36 [INFO] [stderr] | [INFO] [stderr] 88 | let mut data_path = match env::home_dir() { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:63:32 [INFO] [stderr] | [INFO] [stderr] 63 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 63 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 63 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 44 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/timeclock/error.rs:25:32 [INFO] [stderr] | [INFO] [stderr] 25 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 25 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:55:47 [INFO] [stderr] | [INFO] [stderr] 55 | WorklogError::Env(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:56:46 [INFO] [stderr] | [INFO] [stderr] 56 | WorklogError::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:57:54 [INFO] [stderr] | [INFO] [stderr] 57 | WorklogError::CronoParse(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:58:53 [INFO] [stderr] | [INFO] [stderr] 58 | WorklogError::TimeClock(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:59:54 [INFO] [stderr] | [INFO] [stderr] 59 | WorklogError::ParseError(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:65:56 [INFO] [stderr] | [INFO] [stderr] 65 | WorklogError::Env(ref err) => Some(err as &Error), [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 65 - WorklogError::Env(ref err) => Some(err as &Error), [INFO] [stderr] 65 + WorklogError::Env(ref err) => Some(err as &dyn Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:66:55 [INFO] [stderr] | [INFO] [stderr] 66 | WorklogError::Io(ref err) => Some(err as &Error), [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 66 - WorklogError::Io(ref err) => Some(err as &Error), [INFO] [stderr] 66 + WorklogError::Io(ref err) => Some(err as &dyn Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:67:63 [INFO] [stderr] | [INFO] [stderr] 67 | WorklogError::CronoParse(ref err) => Some(err as &Error), [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 67 - WorklogError::CronoParse(ref err) => Some(err as &Error), [INFO] [stderr] 67 + WorklogError::CronoParse(ref err) => Some(err as &dyn Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:68:62 [INFO] [stderr] | [INFO] [stderr] 68 | WorklogError::TimeClock(ref err) => Some(err as &Error), [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 - WorklogError::TimeClock(ref err) => Some(err as &Error), [INFO] [stderr] 68 + WorklogError::TimeClock(ref err) => Some(err as &dyn Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:69:63 [INFO] [stderr] | [INFO] [stderr] 69 | WorklogError::ParseError(ref err) => Some(err as &Error), [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 69 - WorklogError::ParseError(ref err) => Some(err as &Error), [INFO] [stderr] 69 + WorklogError::ParseError(ref err) => Some(err as &dyn Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/timeclock/error.rs:21:49 [INFO] [stderr] | [INFO] [stderr] 21 | TimeClockError::Csv(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/timeclock/error.rs:27:58 [INFO] [stderr] | [INFO] [stderr] 27 | TimeClockError::Csv(ref err) => err as &Error, [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 27 - TimeClockError::Csv(ref err) => err as &Error, [INFO] [stderr] 27 + TimeClockError::Csv(ref err) => err as &dyn Error, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parsers.rs:33:44 [INFO] [stderr] | [INFO] [stderr] 33 | ParseError::PE(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parsers.rs:46:53 [INFO] [stderr] | [INFO] [stderr] 46 | ParseError::PE(ref err) => Some(err as &Error), [INFO] [stderr] | ^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 46 - ParseError::PE(ref err) => Some(err as &Error), [INFO] [stderr] 46 + ParseError::PE(ref err) => Some(err as &dyn Error), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/parsers.rs:56:41 [INFO] [stderr] | [INFO] [stderr] 56 | _ => fmt::Display::fmt(self.description(), f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `worklog` (bin "worklog" test) generated 60 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/worklog-2428158bf829f70a) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test parsers::tests::offset_test ... ok [INFO] [stdout] test parsers::tests::datetime_test ... ok [INFO] [stdout] test parsers::tests::parse_offset_test ... ok [INFO] [stdout] test parsers::tests::time_test ... ok [INFO] [stdout] test timeclock::daterecord::tests::memo_methods_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_in_in_test ... ok [INFO] [stdout] test timeclock::iterators::tests::date_record_iter_test ... ok [INFO] [stdout] test timeclock::daterecord::tests::combine_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_in_invalid_test ... ok [INFO] [stdout] test timeclock::daterecord::tests::duration_methods_test ... ok [INFO] [stdout] test timeclock::daterecord::tests::fmt_display_test ... ok [INFO] [stdout] test timeclock::daterecord::tests::fmt_debug_test ... ok [INFO] [stdout] test parsers::tests::parse_datetime_test ... ok [INFO] [stdout] test parsers::tests::parse_rounding_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_in_out_test ... ok [INFO] [stdout] test timeclock::tests::collect_date_records_tz_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_out_invalid_test ... ok [INFO] [stdout] test timeclock::iterators::tests::to_daterecords ... ok [INFO] [stdout] test util::tests::round_half_test ... ok [INFO] [stdout] test timeclock::tests::pair_time_entries_double_in_test ... ok [INFO] [stdout] test timeclock::tests::pair_time_entries_test ... ok [INFO] [stdout] test timeclock::tests::read_timesheet_haggis_test ... ok [INFO] [stdout] test util::tests::round_quarter_test ... ok [INFO] [stdout] test util::tests::round_none_test ... ok [INFO] [stdout] test timeclock::tests::read_timesheet_test ... ok [INFO] [stdout] test util::tests::round_down_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_invalid_invalid_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_out_in_test ... ok [INFO] [stdout] test timeclock::iterators::tests::iter_out_out_test ... ok [INFO] [stdout] test util::tests::round_zero_test ... ok [INFO] [stdout] test timeclock::tests::collect_date_records_test ... ok [INFO] [stdout] test timeclock::timeentry::tests::timeentry_print_test ... ok [INFO] [stdout] test timeclock::timeentry::tests::timeentrypair_test ... ok [INFO] [stdout] test util::tests::round_up_test ... ok [INFO] [stdout] test timeclock::tests::mark_time_test ... ok [INFO] [stdout] test parsers::tests::parse_time_test ... ok [INFO] [stdout] test parsers::tests::parse_datetime_seperator_test - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bc23b169d022c2d6c0dd5230ead0aaa9dba36e3f7b8d83b9c42aff57a1da3cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc23b169d022c2d6c0dd5230ead0aaa9dba36e3f7b8d83b9c42aff57a1da3cd6", kill_on_drop: false }` [INFO] [stdout] bc23b169d022c2d6c0dd5230ead0aaa9dba36e3f7b8d83b9c42aff57a1da3cd6