[INFO] fetching crate zoneinfo_parse 0.1.4... [INFO] testing zoneinfo_parse-0.1.4 against try#fc4ba03ef77ca5018fb78a097d3b924d30f15bfc+target=i686-unknown-linux-musl for musl_upgrade_1_2_take4 [INFO] extracting crate zoneinfo_parse 0.1.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate zoneinfo_parse 0.1.4 on toolchain fc4ba03ef77ca5018fb78a097d3b924d30f15bfc [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate zoneinfo_parse 0.1.4 [INFO] finished tweaking crates.io crate zoneinfo_parse 0.1.4 [INFO] tweaked toml for crates.io crate zoneinfo_parse 0.1.4 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pad v0.1.6 [INFO] [stderr] Downloaded locale v0.2.2 [INFO] [stderr] Downloaded iso8601 v0.1.1 [INFO] [stderr] Downloaded datetime v0.4.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62c1b217ea63af4f75930bc8f69985b236bbe32d24a6bf6a112a292a4d078ec7 [INFO] running `Command { std: "docker" "start" "-a" "62c1b217ea63af4f75930bc8f69985b236bbe32d24a6bf6a112a292a4d078ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62c1b217ea63af4f75930bc8f69985b236bbe32d24a6bf6a112a292a4d078ec7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62c1b217ea63af4f75930bc8f69985b236bbe32d24a6bf6a112a292a4d078ec7", kill_on_drop: false }` [INFO] [stdout] 62c1b217ea63af4f75930bc8f69985b236bbe32d24a6bf6a112a292a4d078ec7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "build" "--frozen" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 971ccb90831b53ce629901e9b5d6d635407c5b2784a1197b5ff35c235e3ef7f8 [INFO] running `Command { std: "docker" "start" "-a" "971ccb90831b53ce629901e9b5d6d635407c5b2784a1197b5ff35c235e3ef7f8", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling locale v0.2.2 [INFO] [stderr] Compiling pad v0.1.6 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling iso8601 v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling datetime v0.4.7 [INFO] [stderr] Compiling zoneinfo_parse v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/line.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / /// A set of regexes to test against. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// All of these regexes use the `(?x)` flag, which means they support [INFO] [stdout] 94 | | /// comments and whitespace directly in the regex string! [INFO] [stdout] | |_--------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let from_year = try!(caps.name("from").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | to => Some(try!(to.parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | let month = try!(caps.name("in").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | let day = try!(caps.name("on").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | let time = try!(caps.name("at").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | let time_to_add = try!(caps.name("save").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let info = try!(ZoneInfo::from_captures(caps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let utc_offset = try!(caps.name("gmtoff").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let saving = try!(Saving::from_str(caps.name("rulessave").unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:82 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:99 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:116 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:133 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:99 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:116 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:347:82 [INFO] [stdout] | [INFO] [stdout] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:347:99 [INFO] [stdout] | [INFO] [stdout] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:348:82 [INFO] [stdout] | [INFO] [stdout] 348 | (Some(y), _ , _ , _ ) => Some(ChangeTime::UntilYear (try!(y.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let time = try!(input.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LocalDate` is imported redundantly [INFO] [stdout] --> src/line.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 85 | use datetime::{LocalDate, LocalTime, LocalDateTime, Month, Weekday}; [INFO] [stdout] | --------- the item `LocalDate` is already imported here [INFO] [stdout] ... [INFO] [stdout] 606 | use datetime::{LocalDate, DatePiece, Year}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:640:27 [INFO] [stdout] | [INFO] [stdout] 640 | let weekday = try!(input[4..].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:826:35 [INFO] [stdout] | [INFO] [stdout] 826 | Ok(Line::Continuation(try!(ZoneInfo::from_captures(caps)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/line.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/line.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | fn cause(&self) -> Option<&ErrorTrait> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 789 | fn cause(&self) -> Option<&dyn ErrorTrait> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | fn cause(&self) -> Option<&ErrorTrait> { [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] 413 | fn cause(&self) -> Option<&dyn ErrorTrait> { [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/line.rs:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/table.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/line.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut zoneset = match self.table.zonesets.entry(zone_line.name.to_owned()) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut zoneset = match self.current_zoneset_name { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/table.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn format(&self, dst_offset: i64, letters: Option<&String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/table.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn format_constant(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | replace(start_utc_offset, timespan.offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | replace(start_dst_offset, *dst_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `bool` [INFO] [stdout] --> src/structure.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | set.insert(Child::TimeZone(&key[last_slash + 1 ..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | #![warn(unused_results)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `bool` [INFO] [stdout] --> src/structure.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | set.insert(Child::Submodule(&parent[first_slash + 1 ..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.69s [INFO] running `Command { std: "docker" "inspect" "971ccb90831b53ce629901e9b5d6d635407c5b2784a1197b5ff35c235e3ef7f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "971ccb90831b53ce629901e9b5d6d635407c5b2784a1197b5ff35c235e3ef7f8", kill_on_drop: false }` [INFO] [stdout] 971ccb90831b53ce629901e9b5d6d635407c5b2784a1197b5ff35c235e3ef7f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--no-run" "--message-format=json" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c7a26b64da64f1eb5cc981800fc8863fb25060aba39dec6ba2f81190b69d18df [INFO] running `Command { std: "docker" "start" "-a" "c7a26b64da64f1eb5cc981800fc8863fb25060aba39dec6ba2f81190b69d18df", kill_on_drop: false }` [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/line.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / /// A set of regexes to test against. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// All of these regexes use the `(?x)` flag, which means they support [INFO] [stdout] 94 | | /// comments and whitespace directly in the regex string! [INFO] [stdout] | |_--------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let from_year = try!(caps.name("from").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | to => Some(try!(to.parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | let month = try!(caps.name("in").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | let day = try!(caps.name("on").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | let time = try!(caps.name("at").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | let time_to_add = try!(caps.name("save").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let info = try!(ZoneInfo::from_captures(caps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let utc_offset = try!(caps.name("gmtoff").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let saving = try!(Saving::from_str(caps.name("rulessave").unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:82 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:99 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:116 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:133 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:99 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:116 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:347:82 [INFO] [stdout] | [INFO] [stdout] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:347:99 [INFO] [stdout] | [INFO] [stdout] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:348:82 [INFO] [stdout] | [INFO] [stdout] 348 | (Some(y), _ , _ , _ ) => Some(ChangeTime::UntilYear (try!(y.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let time = try!(input.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LocalDate` is imported redundantly [INFO] [stdout] --> src/line.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 85 | use datetime::{LocalDate, LocalTime, LocalDateTime, Month, Weekday}; [INFO] [stdout] | --------- the item `LocalDate` is already imported here [INFO] [stdout] ... [INFO] [stdout] 606 | use datetime::{LocalDate, DatePiece, Year}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:640:27 [INFO] [stdout] | [INFO] [stdout] 640 | let weekday = try!(input[4..].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:826:35 [INFO] [stdout] | [INFO] [stdout] 826 | Ok(Line::Continuation(try!(ZoneInfo::from_captures(caps)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/line.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/line.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | fn cause(&self) -> Option<&ErrorTrait> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 789 | fn cause(&self) -> Option<&dyn ErrorTrait> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | fn cause(&self) -> Option<&ErrorTrait> { [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] 413 | fn cause(&self) -> Option<&dyn ErrorTrait> { [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/line.rs:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/table.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/line.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut zoneset = match self.table.zonesets.entry(zone_line.name.to_owned()) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut zoneset = match self.current_zoneset_name { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/table.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn format(&self, dst_offset: i64, letters: Option<&String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/table.rs:282:5 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn format_constant(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | replace(start_utc_offset, timespan.offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | replace(start_dst_offset, *dst_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `bool` [INFO] [stdout] --> src/structure.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | set.insert(Child::TimeZone(&key[last_slash + 1 ..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | #![warn(unused_results)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `bool` [INFO] [stdout] --> src/structure.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | set.insert(Child::Submodule(&parent[first_slash + 1 ..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 48 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling zoneinfo_parse v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/line.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | / /// A set of regexes to test against. [INFO] [stdout] 92 | | /// [INFO] [stdout] 93 | | /// All of these regexes use the `(?x)` flag, which means they support [INFO] [stdout] 94 | | /// comments and whitespace directly in the regex string! [INFO] [stdout] | |_--------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:221:29 [INFO] [stdout] | [INFO] [stdout] 221 | let from_year = try!(caps.name("from").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:227:33 [INFO] [stdout] | [INFO] [stdout] 227 | to => Some(try!(to.parse())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:239:32 [INFO] [stdout] | [INFO] [stdout] 239 | let month = try!(caps.name("in").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:240:32 [INFO] [stdout] | [INFO] [stdout] 240 | let day = try!(caps.name("on").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | let time = try!(caps.name("at").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:242:32 [INFO] [stdout] | [INFO] [stdout] 242 | let time_to_add = try!(caps.name("save").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:301:24 [INFO] [stdout] | [INFO] [stdout] 301 | let info = try!(ZoneInfo::from_captures(caps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:337:29 [INFO] [stdout] | [INFO] [stdout] 337 | let utc_offset = try!(caps.name("gmtoff").unwrap().parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:338:29 [INFO] [stdout] | [INFO] [stdout] 338 | let saving = try!(Saving::from_str(caps.name("rulessave").unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:82 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:99 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:116 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:345:133 [INFO] [stdout] | [INFO] [stdout] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:82 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:99 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:346:116 [INFO] [stdout] | [INFO] [stdout] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:347:82 [INFO] [stdout] | [INFO] [stdout] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:347:99 [INFO] [stdout] | [INFO] [stdout] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:348:82 [INFO] [stdout] | [INFO] [stdout] 348 | (Some(y), _ , _ , _ ) => Some(ChangeTime::UntilYear (try!(y.parse()))), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:391:24 [INFO] [stdout] | [INFO] [stdout] 391 | let time = try!(input.parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `LocalDate` is imported redundantly [INFO] [stdout] --> src/line.rs:606:24 [INFO] [stdout] | [INFO] [stdout] 85 | use datetime::{LocalDate, LocalTime, LocalDateTime, Month, Weekday}; [INFO] [stdout] | --------- the item `LocalDate` is already imported here [INFO] [stdout] ... [INFO] [stdout] 606 | use datetime::{LocalDate, DatePiece, Year}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:640:27 [INFO] [stdout] | [INFO] [stdout] 640 | let weekday = try!(input[4..].parse()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/line.rs:826:35 [INFO] [stdout] | [INFO] [stdout] 826 | Ok(Line::Continuation(try!(ZoneInfo::from_captures(caps)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/line.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/line.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | / lazy_static! { [INFO] [stdout] 96 | | [INFO] [stdout] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stdout] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stdout] ... | [INFO] [stdout] 170 | | $"##).unwrap(); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/line.rs:789:32 [INFO] [stdout] | [INFO] [stdout] 789 | fn cause(&self) -> Option<&ErrorTrait> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 789 | fn cause(&self) -> Option<&dyn ErrorTrait> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/table.rs:413:32 [INFO] [stdout] | [INFO] [stdout] 413 | fn cause(&self) -> Option<&ErrorTrait> { [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] 413 | fn cause(&self) -> Option<&dyn ErrorTrait> { [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/line.rs:780:30 [INFO] [stdout] | [INFO] [stdout] 780 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/table.rs:404:30 [INFO] [stdout] | [INFO] [stdout] 404 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ascii::AsciiExt` [INFO] [stdout] --> src/line.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:327:13 [INFO] [stdout] | [INFO] [stdout] 327 | let mut zoneset = match self.table.zonesets.entry(zone_line.name.to_owned()) { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/table.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | let mut zoneset = match self.current_zoneset_name { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:308:25 [INFO] [stdout] | [INFO] [stdout] 308 | replace(start_utc_offset, timespan.offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | replace(start_dst_offset, *dst_offset); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:310:25 [INFO] [stdout] | [INFO] [stdout] 310 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/transitions.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `bool` [INFO] [stdout] --> src/structure.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | set.insert(Child::TimeZone(&key[last_slash + 1 ..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | #![warn(unused_results)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused result of type `bool` [INFO] [stdout] --> src/structure.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | set.insert(Child::Submodule(&parent[first_slash + 1 ..])); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.64s [INFO] running `Command { std: "docker" "inspect" "c7a26b64da64f1eb5cc981800fc8863fb25060aba39dec6ba2f81190b69d18df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7a26b64da64f1eb5cc981800fc8863fb25060aba39dec6ba2f81190b69d18df", kill_on_drop: false }` [INFO] [stdout] c7a26b64da64f1eb5cc981800fc8863fb25060aba39dec6ba2f81190b69d18df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+fc4ba03ef77ca5018fb78a097d3b924d30f15bfc" "test" "--frozen" "--target" "i686-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1ebad77b8226e6662025638131f5c0580b5547785cf4c9f671ce20f8682f7c5c [INFO] running `Command { std: "docker" "start" "-a" "1ebad77b8226e6662025638131f5c0580b5547785cf4c9f671ce20f8682f7c5c", kill_on_drop: false }` [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/line.rs:91:1 [INFO] [stderr] | [INFO] [stderr] 91 | / /// A set of regexes to test against. [INFO] [stderr] 92 | | /// [INFO] [stderr] 93 | | /// All of these regexes use the `(?x)` flag, which means they support [INFO] [stderr] 94 | | /// comments and whitespace directly in the regex string! [INFO] [stderr] | |_--------------------------------------------------------^ [INFO] [stderr] | | [INFO] [stderr] | rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:221:29 [INFO] [stderr] | [INFO] [stderr] 221 | let from_year = try!(caps.name("from").unwrap().parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:227:33 [INFO] [stderr] | [INFO] [stderr] 227 | to => Some(try!(to.parse())), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:239:32 [INFO] [stderr] | [INFO] [stderr] 239 | let month = try!(caps.name("in").unwrap().parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:240:32 [INFO] [stderr] | [INFO] [stderr] 240 | let day = try!(caps.name("on").unwrap().parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:241:32 [INFO] [stderr] | [INFO] [stderr] 241 | let time = try!(caps.name("at").unwrap().parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:242:32 [INFO] [stderr] | [INFO] [stderr] 242 | let time_to_add = try!(caps.name("save").unwrap().parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:301:24 [INFO] [stderr] | [INFO] [stderr] 301 | let info = try!(ZoneInfo::from_captures(caps)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:337:29 [INFO] [stderr] | [INFO] [stderr] 337 | let utc_offset = try!(caps.name("gmtoff").unwrap().parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:338:29 [INFO] [stderr] | [INFO] [stderr] 338 | let saving = try!(Saving::from_str(caps.name("rulessave").unwrap())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:345:82 [INFO] [stderr] | [INFO] [stderr] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:345:99 [INFO] [stderr] | [INFO] [stderr] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:345:116 [INFO] [stderr] | [INFO] [stderr] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:345:133 [INFO] [stderr] | [INFO] [stderr] 345 | ... (Some(y), Some(m), Some(d), Some(t)) => Some(ChangeTime::UntilTime (try!(y.parse()), try!(m.parse()), try!(d.parse()), try!(t.pars... [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:346:82 [INFO] [stderr] | [INFO] [stderr] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:346:99 [INFO] [stderr] | [INFO] [stderr] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:346:116 [INFO] [stderr] | [INFO] [stderr] 346 | (Some(y), Some(m), Some(d), _ ) => Some(ChangeTime::UntilDay (try!(y.parse()), try!(m.parse()), try!(d.parse()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:347:82 [INFO] [stderr] | [INFO] [stderr] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:347:99 [INFO] [stderr] | [INFO] [stderr] 347 | (Some(y), Some(m), _ , _ ) => Some(ChangeTime::UntilMonth (try!(y.parse()), try!(m.parse()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:348:82 [INFO] [stderr] | [INFO] [stderr] 348 | (Some(y), _ , _ , _ ) => Some(ChangeTime::UntilYear (try!(y.parse()))), [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:391:24 [INFO] [stderr] | [INFO] [stderr] 391 | let time = try!(input.parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: the item `LocalDate` is imported redundantly [INFO] [stderr] --> src/line.rs:606:24 [INFO] [stderr] | [INFO] [stderr] 85 | use datetime::{LocalDate, LocalTime, LocalDateTime, Month, Weekday}; [INFO] [stderr] | --------- the item `LocalDate` is already imported here [INFO] [stderr] ... [INFO] [stderr] 606 | use datetime::{LocalDate, DatePiece, Year}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:640:27 [INFO] [stderr] | [INFO] [stderr] 640 | let weekday = try!(input[4..].parse()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/line.rs:826:35 [INFO] [stderr] | [INFO] [stderr] 826 | Ok(Line::Continuation(try!(ZoneInfo::from_captures(caps)))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stderr] --> src/line.rs:80:17 [INFO] [stderr] | [INFO] [stderr] 80 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/line.rs:95:1 [INFO] [stderr] | [INFO] [stderr] 95 | / lazy_static! { [INFO] [stderr] 96 | | [INFO] [stderr] 97 | | /// Format of a Rule line: one capturing group per field. [INFO] [stderr] 98 | | static ref RULE_LINE: Regex = Regex::new(r##"(?x) ^ [INFO] [stderr] ... | [INFO] [stderr] 170 | | $"##).unwrap(); [INFO] [stderr] 171 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/line.rs:789:32 [INFO] [stderr] | [INFO] [stderr] 789 | fn cause(&self) -> Option<&ErrorTrait> { [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 789 | fn cause(&self) -> Option<&dyn ErrorTrait> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/table.rs:413:32 [INFO] [stderr] | [INFO] [stderr] 413 | fn cause(&self) -> Option<&ErrorTrait> { [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] 413 | fn cause(&self) -> Option<&dyn ErrorTrait> { [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/line.rs:780:30 [INFO] [stderr] | [INFO] [stderr] 780 | write!(f, "{}", self.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/table.rs:404:30 [INFO] [stderr] | [INFO] [stderr] 404 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ascii::AsciiExt` [INFO] [stderr] --> src/line.rs:80:5 [INFO] [stderr] | [INFO] [stderr] 80 | use std::ascii::AsciiExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/table.rs:327:13 [INFO] [stderr] | [INFO] [stderr] 327 | let mut zoneset = match self.table.zonesets.entry(zone_line.name.to_owned()) { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/table.rs:342:13 [INFO] [stderr] | [INFO] [stderr] 342 | let mut zoneset = match self.current_zoneset_name { [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/table.rs:268:5 [INFO] [stderr] | [INFO] [stderr] 268 | pub fn format(&self, dst_offset: i64, letters: Option<&String>) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/table.rs:282:5 [INFO] [stderr] | [INFO] [stderr] 282 | pub fn format_constant(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/transitions.rs:308:25 [INFO] [stderr] | [INFO] [stderr] 308 | replace(start_utc_offset, timespan.offset); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/transitions.rs:309:25 [INFO] [stderr] | [INFO] [stderr] 309 | replace(start_dst_offset, *dst_offset); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/transitions.rs:310:25 [INFO] [stderr] | [INFO] [stderr] 310 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/transitions.rs:315:25 [INFO] [stderr] | [INFO] [stderr] 315 | replace(start_zone_id, Some(timespan.format.format(*dst_offset, earliest_rule.letters.as_ref()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused result of type `bool` [INFO] [stderr] --> src/structure.rs:63:17 [INFO] [stderr] | [INFO] [stderr] 63 | set.insert(Child::TimeZone(&key[last_slash + 1 ..])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | #![warn(unused_results)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused result of type `bool` [INFO] [stderr] --> src/structure.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | set.insert(Child::Submodule(&parent[first_slash + 1 ..])); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `zoneinfo_parse` (lib) generated 48 warnings (7 duplicates) [INFO] [stdout] [INFO] [stderr] warning: `zoneinfo_parse` (lib test) generated 46 warnings (46 duplicates) [INFO] [stdout] running 28 tests [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/zoneinfo_parse-7baa2cc307378e89) [INFO] [stdout] test line::test::another_comment ... ok [INFO] [stdout] test line::test::link ... ok [INFO] [stdout] test line::test::comment_after ... ok [INFO] [stdout] test line::test::golb ... ok [INFO] [stdout] test line::test::month ... ok [INFO] [stdout] test line::test::multiple_hash ... ok [INFO] [stdout] test line::test::comment ... ok [INFO] [stdout] test line::test::empty ... ok [INFO] [stdout] test line::test::rules::rule_1 ... ok [INFO] [stdout] test line::test::rules::no_hyphen ... ok [INFO] [stdout] test line::test::rules::bad_month ... ok [INFO] [stdout] test line::test::rules::rule_2 ... ok [INFO] [stdout] test line::test::two_comments_after ... ok [INFO] [stdout] test line::test::spaces ... ok [INFO] [stdout] test line::test::non_comment ... ok [INFO] [stdout] test line::test::zones::negative_offsets ... ok [INFO] [stdout] test line::test::zones::continuation_2 ... ok [INFO] [stdout] test line::test::zones::negative_offsets_2 ... ok [INFO] [stdout] test line::test::zones::continuation_1 ... ok [INFO] [stdout] test structure::test::hierarchy ... ok [INFO] [stdout] test structure::test::separate ... ok [INFO] [stdout] test transitions::test::optimise_macquarie ... ok [INFO] [stdout] test line::test::zones::negative_offsets_3 ... ok [INFO] [stdout] test structure::test::child ... ok [INFO] [stdout] test line::test::zones::zone_hyphen ... ok [INFO] [stdout] test line::test::rules::rule_3 ... ok [INFO] [stdout] test structure::test::empty ... ok [INFO] [stdout] test line::test::zones::zone ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] [stderr] Running tests/transition_tests.rs (/opt/rustwide/target/i686-unknown-linux-musl/debug/deps/transition_tests-6a868c28e69586a3) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test no_transitions ... ok [INFO] [stdout] test two_transitions ... ok [INFO] [stdout] test two_rules ... ok [INFO] [stdout] test one_transition ... ok [INFO] [stdout] test tripoli ... ok [INFO] [stdout] test one_rule ... ok [INFO] [stdout] test dushanbe ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1ebad77b8226e6662025638131f5c0580b5547785cf4c9f671ce20f8682f7c5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebad77b8226e6662025638131f5c0580b5547785cf4c9f671ce20f8682f7c5c", kill_on_drop: false }` [INFO] [stdout] 1ebad77b8226e6662025638131f5c0580b5547785cf4c9f671ce20f8682f7c5c