[INFO] fetching crate timeblok 0.5.0... [INFO] checking timeblok-0.5.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate timeblok 0.5.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate timeblok 0.5.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking 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-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 200 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.2.1 (available: v0.4.0) [INFO] [stderr] Adding core-foundation v0.9.4 (available: v0.10.0) [INFO] [stderr] Adding directories v4.0.1 (available: v5.0.1) [INFO] [stderr] Adding dirs-sys v0.3.7 (available: v0.4.1) [INFO] [stderr] Adding encode_unicode v0.3.6 (available: v1.0.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding h2 v0.3.26 (available: v0.4.6) [INFO] [stderr] Adding hermit-abi v0.3.9 (available: v0.4.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (available: v1.0.1) [INFO] [stderr] Adding hyper v0.14.30 (available: v1.4.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding icalendar v0.15.8 (available: v0.16.8) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.7) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (available: v2.1.3) [INFO] [stderr] Adding security-framework v2.11.1 (available: v3.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding sync_wrapper v0.1.2 (available: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (available: v0.6.1) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (available: v0.6.0) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding winreg v0.50.0 (available: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc867805364df3d99f40b678c75339b07a727e3f6c6cd41985eeb675976ef5b6 [INFO] running `Command { std: "docker" "start" "-a" "cc867805364df3d99f40b678c75339b07a727e3f6c6cd41985eeb675976ef5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc867805364df3d99f40b678c75339b07a727e3f6c6cd41985eeb675976ef5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc867805364df3d99f40b678c75339b07a727e3f6c6cd41985eeb675976ef5b6", kill_on_drop: false }` [INFO] [stdout] cc867805364df3d99f40b678c75339b07a727e3f6c6cd41985eeb675976ef5b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0727f972d741daae0efca0d84b729037e5c25e90fa04ddad880865327934c0a [INFO] running `Command { std: "docker" "start" "-a" "d0727f972d741daae0efca0d84b729037e5c25e90fa04ddad880865327934c0a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking gimli v0.31.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking object v0.36.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling portable-atomic v1.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking addr2line v0.24.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking iso8601 v0.6.1 [INFO] [stderr] Checking similar v2.6.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking icalendar v0.15.8 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Checking dateparser v0.2.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking pest v2.7.13 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Compiling pest_meta v2.7.13 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Compiling pest_generator v2.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Compiling pest_derive v2.7.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking insta v1.40.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking timeblok v0.5.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/resolver.rs (4 fixes) [INFO] [stderr] Fixed src/utils/mod.rs (1 fix) [INFO] [stderr] Fixed src/importer.rs (2 fixes) [INFO] [stderr] Fixed src/ir/filter.rs (3 fixes) [INFO] [stderr] Fixed src/lib.rs (2 fixes) [INFO] [stderr] Fixed src/ir/mod.rs (1 fix) [INFO] [stderr] Fixed src/preset/mod.rs (13 fixes) [INFO] [stderr] Fixed src/ir/command.rs (1 fix) [INFO] [stderr] Fixed src/preset/workalendar.rs (2 fixes) [INFO] [stderr] Fixed src/converter.rs (1 fix) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | 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)]` 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:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | 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:202:42 [INFO] [stdout] | [INFO] [stdout] 202 | 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)]` 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:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | 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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `FlexDate` in this scope [INFO] [stdout] --> src/ir/filter.rs:149:18 [INFO] [stdout] | [INFO] [stdout] 149 | let fd = FlexDate { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexDate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:150:28 [INFO] [stdout] | [INFO] [stdout] 150 | year: Box::new(Number(2023)), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NumRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:151:29 [INFO] [stdout] | [INFO] [stdout] 151 | month: Box::new(NumRange { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexField::NumRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:152:24 [INFO] [stdout] | [INFO] [stdout] 152 | start: Number(6), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:153:22 [INFO] [stdout] | [INFO] [stdout] 153 | end: Number(10), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NumRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:155:27 [INFO] [stdout] | [INFO] [stdout] 155 | day: Box::new(NumRange { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexField::NumRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:156:24 [INFO] [stdout] | [INFO] [stdout] 156 | start: Number(8), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:157:22 [INFO] [stdout] | [INFO] [stdout] 157 | end: Number(15), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExactDate` in this scope [INFO] [stdout] --> src/ir/filter.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | &ExactDate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::ExactDate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExactDate` in this scope [INFO] [stdout] --> src/ir/filter.rs:169:14 [INFO] [stdout] | [INFO] [stdout] 169 | &ExactDate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::ExactDate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExactDate` in this scope [INFO] [stdout] --> src/ir/filter.rs:177:14 [INFO] [stdout] | [INFO] [stdout] 177 | &ExactDate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::ExactDate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExactDate` in this scope [INFO] [stdout] --> src/ir/filter.rs:185:14 [INFO] [stdout] | [INFO] [stdout] 185 | &ExactDate { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::ExactDate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `TimeRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | let trange = TimeRange { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::ExactRange::TimeRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::TimeRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/ir/filter.rs:197:20 [INFO] [stdout] | [INFO] [stdout] 197 | start: DateTime::from_ymd(2020, 1, 3), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::DateTime; [INFO] [stdout] | [INFO] [stdout] 147 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DateTime` [INFO] [stdout] --> src/ir/filter.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 198 | end: DateTime::from_ymd(2020, 2, 1), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `DateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::DateTime; [INFO] [stdout] | [INFO] [stdout] 147 + use chrono::DateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Range` [INFO] [stdout] --> src/ir/filter.rs:201:21 [INFO] [stdout] | [INFO] [stdout] 201 | let range = Range::Time(trange); [INFO] [stdout] | ^^^^^ use of undeclared type `Range` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::Range; [INFO] [stdout] | [INFO] [stdout] 147 + use std::collections::btree_map::Range; [INFO] [stdout] | [INFO] [stdout] 147 + use std::collections::btree_set::Range; [INFO] [stdout] | [INFO] [stdout] 147 + use std::ops::Range; [INFO] [stdout] | [INFO] [stdout] and 2 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Environment` [INFO] [stdout] --> src/ir/filter.rs:202:19 [INFO] [stdout] | [INFO] [stdout] 202 | let env = Environment::from_exact(ExactDateTime::from_ymd_hms(2020, 1, 1, 1, 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `Environment` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::Environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ExactDateTime` [INFO] [stdout] --> src/ir/filter.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | let env = Environment::from_exact(ExactDateTime::from_ymd_hms(2020, 1, 1, 1, 1, 1)); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ExactDateTime` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ExactDateTime; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Date` [INFO] [stdout] --> src/ir/filter.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | assert!(range.check(&Date::from_ymd(2020, 1, 3), Some(&env))); [INFO] [stdout] | ^^^^ use of undeclared type `Date` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::Date; [INFO] [stdout] | [INFO] [stdout] 147 + use chrono::Date; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Date` [INFO] [stdout] --> src/ir/filter.rs:204:31 [INFO] [stdout] | [INFO] [stdout] 204 | assert!(!range.check(&Date::from_ymd(2020, 1, 2), Some(&env))); [INFO] [stdout] | ^^^^ use of undeclared type `Date` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::Date; [INFO] [stdout] | [INFO] [stdout] 147 + use chrono::Date; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Date` [INFO] [stdout] --> src/ir/filter.rs:205:30 [INFO] [stdout] | [INFO] [stdout] 205 | assert!(range.check(&Date::from_ymd(2020, 2, 1), Some(&env))); [INFO] [stdout] | ^^^^ use of undeclared type `Date` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::Date; [INFO] [stdout] | [INFO] [stdout] 147 + use chrono::Date; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinFilt` in this scope [INFO] [stdout] --> src/ir/filter.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | let orfilt = BinFilt { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::BinFilt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NumRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:211:27 [INFO] [stdout] | [INFO] [stdout] 211 | lhs: Box::new(NumRange { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexField::NumRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:212:24 [INFO] [stdout] | [INFO] [stdout] 212 | start: Number(1), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:213:22 [INFO] [stdout] | [INFO] [stdout] 213 | end: Number(5), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NumRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:215:27 [INFO] [stdout] | [INFO] [stdout] 215 | rhs: Box::new(NumRange { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexField::NumRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:216:24 [INFO] [stdout] | [INFO] [stdout] 216 | start: Number(10), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:217:22 [INFO] [stdout] | [INFO] [stdout] 217 | end: Number(15), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/ir/filter.rs:219:17 [INFO] [stdout] | [INFO] [stdout] 219 | op: Op::OR, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::Op; [INFO] [stdout] | [INFO] [stdout] 147 + use pest::pratt_parser::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:221:31 [INFO] [stdout] | [INFO] [stdout] 221 | assert!(orfilt.check(&Number(1), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:222:32 [INFO] [stdout] | [INFO] [stdout] 222 | assert!(!orfilt.check(&Number(8), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:223:31 [INFO] [stdout] | [INFO] [stdout] 223 | assert!(orfilt.check(&Number(13), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinFilt` in this scope [INFO] [stdout] --> src/ir/filter.rs:224:23 [INFO] [stdout] | [INFO] [stdout] 224 | let andfilt = BinFilt { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::BinFilt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NumRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:225:27 [INFO] [stdout] | [INFO] [stdout] 225 | lhs: Box::new(NumRange { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexField::NumRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:226:24 [INFO] [stdout] | [INFO] [stdout] 226 | start: Number(1), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:227:22 [INFO] [stdout] | [INFO] [stdout] 227 | end: Number(8), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `NumRange` in this scope [INFO] [stdout] --> src/ir/filter.rs:229:27 [INFO] [stdout] | [INFO] [stdout] 229 | rhs: Box::new(NumRange { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::FlexField::NumRange; [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumRange; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | start: Number(3), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Unsure` in this scope [INFO] [stdout] --> src/ir/filter.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 231 | end: Unsure, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Unsure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/ir/filter.rs:233:17 [INFO] [stdout] | [INFO] [stdout] 233 | op: Op::And, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::Op; [INFO] [stdout] | [INFO] [stdout] 147 + use pest::pratt_parser::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | assert!(!andfilt.check(&Number(1), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:236:32 [INFO] [stdout] | [INFO] [stdout] 236 | assert!(andfilt.check(&Number(8), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:237:33 [INFO] [stdout] | [INFO] [stdout] 237 | assert!(!andfilt.check(&Number(13), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `BinFilt` in this scope [INFO] [stdout] --> src/ir/filter.rs:238:24 [INFO] [stdout] | [INFO] [stdout] 238 | let combfilt = BinFilt { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::BinFilt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ExcludeFilt` in this scope [INFO] [stdout] --> src/ir/filter.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 239 | lhs: Box::new(ExcludeFilt { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::ExcludeFilt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Op` [INFO] [stdout] --> src/ir/filter.rs:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | op: Op::OR, [INFO] [stdout] | ^^ use of undeclared type `Op` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::filter::Op; [INFO] [stdout] | [INFO] [stdout] 147 + use pest::pratt_parser::Op; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:245:33 [INFO] [stdout] | [INFO] [stdout] 245 | assert!(combfilt.check(&Number(3), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:246:33 [INFO] [stdout] | [INFO] [stdout] 246 | assert!(combfilt.check(&Number(9), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Number` in this scope [INFO] [stdout] --> src/ir/filter.rs:247:34 [INFO] [stdout] | [INFO] [stdout] 247 | assert!(!combfilt.check(&Number(2), None)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 147 + use crate::ir::NumVal::Number; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::NaiveDate` [INFO] [stdout] --> src/converter.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | use chrono::NaiveDate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/tests.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | ($input:expr, $base_time:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | ($input:expr_2021, $base_time:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/tests.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | ($input:expr, $base_time:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 6 | ($input:expr, $base_time:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tests/tests.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | ($input:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 10 | ($input:expr_2021) => { [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:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Datelike` [INFO] [stdout] --> src/resolver.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Datelike, Timelike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/converter.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | 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)]` 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:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | 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] [stderr] error: could not compile `timeblok` (lib test) due to 50 previous errors; 13 warnings emitted [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/preset/mod.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | 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:202:42 [INFO] [stdout] | [INFO] [stdout] 202 | 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] error: aborting due to 49 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d0727f972d741daae0efca0d84b729037e5c25e90fa04ddad880865327934c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0727f972d741daae0efca0d84b729037e5c25e90fa04ddad880865327934c0a", kill_on_drop: false }` [INFO] [stdout] d0727f972d741daae0efca0d84b729037e5c25e90fa04ddad880865327934c0a