[INFO] fetching crate timeblok 0.5.0... [INFO] building timeblok-0.5.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate timeblok 0.5.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate timeblok 0.5.0 [INFO] finished tweaking crates.io crate timeblok 0.5.0 [INFO] tweaked toml for crates.io crate timeblok 0.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate timeblok 0.5.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 236 packages to latest compatible versions [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.4) [INFO] [stderr] Adding directories v4.0.1 (available: v6.0.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding icalendar v0.15.8 (available: v0.17.3) [INFO] [stderr] Adding indicatif v0.17.11 (available: v0.18.0) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded schannel v0.1.28 [INFO] [stderr] Downloaded pest v2.8.2 [INFO] [stderr] Downloaded security-framework-sys v2.15.0 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded pest_generator v2.8.2 [INFO] [stderr] Downloaded chrono-tz-build v0.2.1 [INFO] [stderr] Downloaded winapi-util v0.1.11 [INFO] [stderr] Downloaded icalendar v0.15.8 [INFO] [stderr] Downloaded dateparser v0.2.1 [INFO] [stderr] Downloaded iso8601 v0.6.3 [INFO] [stderr] Downloaded similar v2.7.0 [INFO] [stderr] Downloaded pest_meta v2.8.2 [INFO] [stderr] Downloaded pest_derive v2.8.2 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.54 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded hyper-tls v0.5.0 [INFO] [stderr] Downloaded web-sys v0.3.81 [INFO] [stderr] Downloaded insta v1.43.2 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded chrono-tz v0.8.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b95c79da9fc44498f4ce0ad59d9f49abb09f458fbd215aeeb57fdcddb3870313 [INFO] running `Command { std: "docker" "start" "-a" "b95c79da9fc44498f4ce0ad59d9f49abb09f458fbd215aeeb57fdcddb3870313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b95c79da9fc44498f4ce0ad59d9f49abb09f458fbd215aeeb57fdcddb3870313", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b95c79da9fc44498f4ce0ad59d9f49abb09f458fbd215aeeb57fdcddb3870313", kill_on_drop: false }` [INFO] [stdout] b95c79da9fc44498f4ce0ad59d9f49abb09f458fbd215aeeb57fdcddb3870313 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a6521d66944cf1c0d9b023dbe49bc1c96bc6fcb54b5a60eb3eba0f6738b9017 [INFO] running `Command { std: "docker" "start" "-a" "3a6521d66944cf1c0d9b023dbe49bc1c96bc6fcb54b5a60eb3eba0f6738b9017", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libc v0.2.176 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling unicode-width v0.2.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling console v0.15.11 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling iso8601 v0.6.3 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling pest_meta v2.8.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling pest_generator v2.8.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling indicatif v0.17.11 [INFO] [stderr] Compiling dateparser v0.2.1 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling icalendar v0.15.8 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling pest_derive v2.8.2 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling timeblok v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::CharTryFromError` [INFO] [stdout] --> src/converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::CharTryFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/importer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExactTime` [INFO] [stdout] --> src/importer.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ir::{ExactDateTime, ExactEvent, ExactRange, ExactRecord, ExactTime, ExactTimeRange, Todo, ExactNotes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveWeek` [INFO] [stdout] --> src/ir/mod.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ir/filter.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::Range` [INFO] [stdout] --> src/ir/filter.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use crate::ir::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::TimeRange` [INFO] [stdout] --> src/ir/filter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::ir::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/preset/workalendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/preset/workalendar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/preset/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/preset/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalendar::Calendar` [INFO] [stdout] --> src/preset/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icalendar::Calendar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file` and `get_dir` [INFO] [stdout] --> src/preset/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::{download_file, get_dir}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/preset/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/resolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude as cr` [INFO] [stdout] --> src/resolver.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/resolver.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/utils/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/environment.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::filter::{Filter, BDF}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/resolver.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i,record) in records.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/ir/mod.rs:320:66 [INFO] [stdout] | [INFO] [stdout] 320 | CalendarDateTime::WithTimezone {date_time, tzid: tz} => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let fnc = Rc::new(|env: &Environment, x: &CommandCall| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | insert_command(env, "t", 0, Rc::new(|env: &Environment, x: &CommandCall|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur` and `fit_date` are never read [INFO] [stdout] --> src/environment.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EnvIterator<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | env: &'a Environment, [INFO] [stdout] 23 | cur: Date, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fit_date: Date, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loc` and `get_recurse` are never used [INFO] [stdout] --> src/environment.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 69 | // might come in handy later [INFO] [stdout] 70 | fn get_loc(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_recurse(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/output.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn warn(msg: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_duration` is never used [INFO] [stdout] --> src/resolver.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn resolve_duration(duration: &Duration, base: &Environment) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dirs` is never used [INFO] [stdout] --> src/utils/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Dirs{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/environment.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self) -> EnvIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self) -> EnvIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_note(pair: Pair) -> &str { [INFO] [stdout] | ^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_note(pair: Pair<'_, Rule>) -> &str { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "3a6521d66944cf1c0d9b023dbe49bc1c96bc6fcb54b5a60eb3eba0f6738b9017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a6521d66944cf1c0d9b023dbe49bc1c96bc6fcb54b5a60eb3eba0f6738b9017", kill_on_drop: false }` [INFO] [stdout] 3a6521d66944cf1c0d9b023dbe49bc1c96bc6fcb54b5a60eb3eba0f6738b9017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e75939be2791e17f9e6c36823abb0cae443bca46542b2fa99f9f6e80bad658a1 [INFO] running `Command { std: "docker" "start" "-a" "e75939be2791e17f9e6c36823abb0cae443bca46542b2fa99f9f6e80bad658a1", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::CharTryFromError` [INFO] [stdout] --> src/converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::CharTryFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/importer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExactTime` [INFO] [stdout] --> src/importer.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ir::{ExactDateTime, ExactEvent, ExactRange, ExactRecord, ExactTime, ExactTimeRange, Todo, ExactNotes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveWeek` [INFO] [stdout] --> src/ir/mod.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/ir/filter.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::Range` [INFO] [stdout] --> src/ir/filter.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | use crate::ir::Range; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ir::TimeRange` [INFO] [stdout] --> src/ir/filter.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | use crate::ir::TimeRange; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/preset/workalendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/preset/workalendar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/preset/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/preset/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalendar::Calendar` [INFO] [stdout] --> src/preset/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icalendar::Calendar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file` and `get_dir` [INFO] [stdout] --> src/preset/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::{download_file, get_dir}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/preset/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/resolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude as cr` [INFO] [stdout] --> src/resolver.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/resolver.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/utils/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/environment.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::filter::{Filter, BDF}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/resolver.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i,record) in records.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/ir/mod.rs:320:66 [INFO] [stdout] | [INFO] [stdout] 320 | CalendarDateTime::WithTimezone {date_time, tzid: tz} => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let fnc = Rc::new(|env: &Environment, x: &CommandCall| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | insert_command(env, "t", 0, Rc::new(|env: &Environment, x: &CommandCall|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur` and `fit_date` are never read [INFO] [stdout] --> src/environment.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EnvIterator<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | env: &'a Environment, [INFO] [stdout] 23 | cur: Date, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fit_date: Date, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loc` and `get_recurse` are never used [INFO] [stdout] --> src/environment.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 69 | // might come in handy later [INFO] [stdout] 70 | fn get_loc(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_recurse(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/output.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn warn(msg: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_duration` is never used [INFO] [stdout] --> src/resolver.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn resolve_duration(duration: &Duration, base: &Environment) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dirs` is never used [INFO] [stdout] --> src/utils/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Dirs{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/environment.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self) -> EnvIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self) -> EnvIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_note(pair: Pair) -> &str { [INFO] [stdout] | ^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_note(pair: Pair<'_, Rule>) -> &str { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling insta v1.43.2 [INFO] [stderr] Compiling timeblok v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDateTime` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::NaiveDateTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::char::CharTryFromError` [INFO] [stdout] --> src/converter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::char::CharTryFromError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/converter.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/importer.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExactTime` [INFO] [stdout] --> src/importer.rs:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::ir::{ExactDateTime, ExactEvent, ExactRange, ExactRecord, ExactTime, ExactTimeRange, Todo, ExactNotes}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NaiveWeek` [INFO] [stdout] --> src/ir/mod.rs:2:61 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::{Datelike, NaiveDate, NaiveDateTime, NaiveTime, NaiveWeek, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::create_dir_all` [INFO] [stdout] --> src/preset/workalendar.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::create_dir_all; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/preset/workalendar.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/preset/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/preset/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icalendar::Calendar` [INFO] [stdout] --> src/preset/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use icalendar::Calendar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `download_file` and `get_dir` [INFO] [stdout] --> src/preset/mod.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::utils::{download_file, get_dir}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/preset/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Local` [INFO] [stdout] --> src/resolver.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::Local; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude as cr` [INFO] [stdout] --> src/resolver.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::SystemTime` [INFO] [stdout] --> src/resolver.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::SystemTime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/utils/mod.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Filter` [INFO] [stdout] --> src/environment.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ir::filter::{Filter, BDF}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/resolver.rs:7:39 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:7:29 [INFO] [stdout] | [INFO] [stdout] 7 | use chrono::{prelude as cr, Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:162:10 [INFO] [stdout] | [INFO] [stdout] 162 | for (i,record) in records.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tz` [INFO] [stdout] --> src/ir/mod.rs:320:66 [INFO] [stdout] | [INFO] [stdout] 320 | CalendarDateTime::WithTimezone {date_time, tzid: tz} => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cal` [INFO] [stdout] --> src/preset/workalendar.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let cal = get_holiday(&"US".to_string(), true)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | let fnc = Rc::new(|env: &Environment, x: &CommandCall| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | insert_command(env, "t", 0, Rc::new(|env: &Environment, x: &CommandCall|{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cur` and `fit_date` are never read [INFO] [stdout] --> src/environment.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct EnvIterator<'a> { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 22 | env: &'a Environment, [INFO] [stdout] 23 | cur: Date, [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fit_date: Date, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_loc` and `get_recurse` are never used [INFO] [stdout] --> src/environment.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 68 | impl Environment { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 69 | // might come in handy later [INFO] [stdout] 70 | fn get_loc(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn get_recurse(&self, i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `warn` is never used [INFO] [stdout] --> src/output.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn warn(msg: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `resolve_duration` is never used [INFO] [stdout] --> src/resolver.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | pub fn resolve_duration(duration: &Duration, base: &Environment) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dirs` is never used [INFO] [stdout] --> src/utils/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | pub enum Dirs{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/environment.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self) -> EnvIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 136 | pub fn iter(&self) -> EnvIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:240:21 [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_note(pair: Pair) -> &str { [INFO] [stdout] | ^^^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 240 | fn parse_note(pair: Pair<'_, Rule>) -> &str { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.31s [INFO] running `Command { std: "docker" "inspect" "e75939be2791e17f9e6c36823abb0cae443bca46542b2fa99f9f6e80bad658a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e75939be2791e17f9e6c36823abb0cae443bca46542b2fa99f9f6e80bad658a1", kill_on_drop: false }` [INFO] [stdout] e75939be2791e17f9e6c36823abb0cae443bca46542b2fa99f9f6e80bad658a1