[INFO] fetching crate dbase_parser 0.1.0... [INFO] checking dbase_parser-0.1.0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] extracting crate dbase_parser 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate dbase_parser 0.1.0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dbase_parser 0.1.0 [INFO] finished tweaking crates.io crate dbase_parser 0.1.0 [INFO] tweaked toml for crates.io crate dbase_parser 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 690dabe6b0bf9e2284b4b0b894c722a4eb46c55993468b0d835b87e8abb39b9e [INFO] running `Command { std: "docker" "start" "-a" "690dabe6b0bf9e2284b4b0b894c722a4eb46c55993468b0d835b87e8abb39b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "690dabe6b0bf9e2284b4b0b894c722a4eb46c55993468b0d835b87e8abb39b9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "690dabe6b0bf9e2284b4b0b894c722a4eb46c55993468b0d835b87e8abb39b9e", kill_on_drop: false }` [INFO] [stdout] 690dabe6b0bf9e2284b4b0b894c722a4eb46c55993468b0d835b87e8abb39b9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25cdae96176a56753bb8b45feaf7033f10fae05212d91ee0d3a1b77a6ad5198f [INFO] running `Command { std: "docker" "start" "-a" "25cdae96176a56753bb8b45feaf7033f10fae05212d91ee0d3a1b77a6ad5198f", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dbase_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `dBASE3` should have an upper camel case name [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dBASE3(bool), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `DBase3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4Table` should have an upper camel case name [INFO] [stdout] --> src/header.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | dBASE4Table(bool), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4System` should have an upper camel case name [INFO] [stdout] --> src/header.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dBASE4System(bool), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE3` should have an upper camel case name [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dBASE3(bool), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `DBase3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4Table` should have an upper camel case name [INFO] [stdout] --> src/header.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | dBASE4Table(bool), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4System` should have an upper camel case name [INFO] [stdout] --> src/header.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dBASE4System(bool), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Utc, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub last_update: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_date(data: Vec) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Utc, Date, DateTime, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | fn to_julian_date(input: u32) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Utc, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub last_update: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_date(data: Vec) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Utc, Date, DateTime, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | fn to_julian_date(input: u32) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/header.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Utc.ymd(year, month.into(), day.into())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/header.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Utc.ymd(year, month.into(), day.into())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:389:34 [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:389:34 [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/header.rs:436:41 [INFO] [stdout] | [INFO] [stdout] 436 | last_update: Utc::now().date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(FieldValue::Date(Utc.ymd(year, month, day))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/header.rs:436:41 [INFO] [stdout] | [INFO] [stdout] 436 | last_update: Utc::now().date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Utc.ymd(j as i32, m as u32, d as u32)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(FieldValue::Date(Utc.ymd(year, month, day))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/fields.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(FieldValue::DateTime(date.and_hms(hours as u32, minutes as u32, seconds as u32))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Utc.ymd(j as i32, m as u32, d as u32)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/fields.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(FieldValue::DateTime(date.and_hms(hours as u32, minutes as u32, seconds as u32))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:159:70 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(o.parse(&mut db, data).unwrap(), FieldValue::Date(Utc.ymd(2019, 09, 01))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(date, Utc.ymd(2019,09,03)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:172:74 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(o.parse(&mut db, data).unwrap(), FieldValue::DateTime(Utc.ymd(2019, 03, 09).and_hms(01, 0, 0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_available` [INFO] [stdout] --> src/header.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let next_available = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_available` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/fields.rs:172:92 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(o.parse(&mut db, data).unwrap(), FieldValue::DateTime(Utc.ymd(2019, 03, 09).and_hms(01, 0, 0))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/header.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let data_type = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_available` [INFO] [stdout] --> src/header.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let next_available = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_available` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/header.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let data_type = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fields.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut o = FieldTypeD; [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: trait `MemoContainer` is more private than the item `Database::memo` [INFO] [stdout] --> src/header.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub memo: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Database::memo` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `MemoContainer` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/header.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | trait MemoContainer:Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MemoContainer` is more private than the item `Database::memo` [INFO] [stdout] --> src/header.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub memo: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Database::memo` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `MemoContainer` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/header.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | trait MemoContainer:Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_address` and `decimal_count` are never read [INFO] [stdout] --> src/header.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FieldDescriptor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | data_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | length: u8, [INFO] [stdout] 53 | decimal_count: u8 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_address` and `decimal_count` are never read [INFO] [stdout] --> src/header.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FieldDescriptor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | data_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | length: u8, [INFO] [stdout] 53 | decimal_count: u8 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_size` and `record_size` are never read [INFO] [stdout] --> src/header.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | header_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | record_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_size` and `record_size` are never read [INFO] [stdout] --> src/header.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | header_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | record_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/header.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 67 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/header.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 67 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/header.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FoxProMemoContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | block_size: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoxProMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/header.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FoxProMemoContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | block_size: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoxProMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_available` is never read [INFO] [stdout] --> src/header.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct DBaseMemoContainer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | next_available: usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBaseMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_available` is never read [INFO] [stdout] --> src/header.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct DBaseMemoContainer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | next_available: usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBaseMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dbase_parser::header::Record` [INFO] [stdout] --> tests/dbase.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use dbase_parser::header::Record; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> tests/dbase.rs:17:85 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(record.get("created_at").unwrap(), &FieldValue::DateTime(Utc.ymd(2019, 09, 04).and_hms(11, 6, 0))); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> tests/dbase.rs:17:103 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(record.get("created_at").unwrap(), &FieldValue::DateTime(Utc.ymd(2019, 09, 04).and_hms(11, 6, 0))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> tests/dbase.rs:18:75 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(record.get("join").unwrap(), &FieldValue::Date(Utc.ymd(1999, 09, 03))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> tests/dbase.rs:25:86 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(record2.get("created_at").unwrap(), &FieldValue::DateTime(Utc.ymd(2019, 09, 04).and_hms(11, 40, 0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> tests/dbase.rs:25:104 [INFO] [stdout] | [INFO] [stdout] 25 | assert_eq!(record2.get("created_at").unwrap(), &FieldValue::DateTime(Utc.ymd(2019, 09, 04).and_hms(11, 40, 0))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> tests/dbase.rs:26:76 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!(record2.get("join").unwrap(), &FieldValue::Date(Utc.ymd(2019, 09, 04))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "25cdae96176a56753bb8b45feaf7033f10fae05212d91ee0d3a1b77a6ad5198f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25cdae96176a56753bb8b45feaf7033f10fae05212d91ee0d3a1b77a6ad5198f", kill_on_drop: false }` [INFO] [stdout] 25cdae96176a56753bb8b45feaf7033f10fae05212d91ee0d3a1b77a6ad5198f [INFO] checking dbase_parser-0.1.0 against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] extracting crate dbase_parser 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate dbase_parser 0.1.0 on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dbase_parser 0.1.0 [INFO] finished tweaking crates.io crate dbase_parser 0.1.0 [INFO] tweaked toml for crates.io crate dbase_parser 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 37 packages to latest compatible versions [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c779bce5c0d6d10921001b2706228b78586fa8f4a3c273bb35ed60344ce13143 [INFO] running `Command { std: "docker" "start" "-a" "c779bce5c0d6d10921001b2706228b78586fa8f4a3c273bb35ed60344ce13143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c779bce5c0d6d10921001b2706228b78586fa8f4a3c273bb35ed60344ce13143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c779bce5c0d6d10921001b2706228b78586fa8f4a3c273bb35ed60344ce13143", kill_on_drop: false }` [INFO] [stdout] c779bce5c0d6d10921001b2706228b78586fa8f4a3c273bb35ed60344ce13143 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6ec96d1c21745704ac1e35e72152505b3df13a4b4ac23bca3392e6dbbde5ab [INFO] running `Command { std: "docker" "start" "-a" "9b6ec96d1c21745704ac1e35e72152505b3df13a4b4ac23bca3392e6dbbde5ab", kill_on_drop: false }` [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dbase_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `dBASE3` should have an upper camel case name [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dBASE3(bool), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `DBase3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4Table` should have an upper camel case name [INFO] [stdout] --> src/header.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | dBASE4Table(bool), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4System` should have an upper camel case name [INFO] [stdout] --> src/header.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dBASE4System(bool), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE3` should have an upper camel case name [INFO] [stdout] --> src/header.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | dBASE3(bool), [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `DBase3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4Table` should have an upper camel case name [INFO] [stdout] --> src/header.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | dBASE4Table(bool), [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `dBASE4System` should have an upper camel case name [INFO] [stdout] --> src/header.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | dBASE4System(bool), [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `DBase4system` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Utc, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Date, Utc, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub last_update: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | pub last_update: Date, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_date(data: Vec) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/header.rs:73:40 [INFO] [stdout] | [INFO] [stdout] 73 | fn parse_date(data: Vec) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Utc, Date, DateTime, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{Utc, Date, DateTime, TimeZone}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | fn to_julian_date(input: u32) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Date(Date), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/fields.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | fn to_julian_date(input: u32) -> Result, io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/header.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Utc.ymd(year, month.into(), day.into())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/header.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | Ok(Utc.ymd(year, month.into(), day.into())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:389:34 [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header.rs:389:34 [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/header.rs:436:41 [INFO] [stdout] | [INFO] [stdout] 436 | last_update: Utc::now().date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(FieldValue::Date(Utc.ymd(year, month, day))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/header.rs:436:41 [INFO] [stdout] | [INFO] [stdout] 436 | last_update: Utc::now().date(), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Utc.ymd(j as i32, m as u32, d as u32)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/fields.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(FieldValue::DateTime(date.and_hms(hours as u32, minutes as u32, seconds as u32))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:51:41 [INFO] [stdout] | [INFO] [stdout] 51 | Ok(FieldValue::Date(Utc.ymd(year, month, day))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 105 | Ok(Utc.ymd(j as i32, m as u32, d as u32)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/fields.rs:126:38 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(FieldValue::DateTime(date.and_hms(hours as u32, minutes as u32, seconds as u32))) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_available` [INFO] [stdout] --> src/header.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let next_available = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_available` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:159:70 [INFO] [stdout] | [INFO] [stdout] 159 | assert_eq!(o.parse(&mut db, data).unwrap(), FieldValue::Date(Utc.ymd(2019, 09, 01))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:166:26 [INFO] [stdout] | [INFO] [stdout] 166 | assert_eq!(date, Utc.ymd(2019,09,03)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/header.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let data_type = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::ymd`: use `with_ymd_and_hms()` instead [INFO] [stdout] --> src/fields.rs:172:74 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(o.parse(&mut db, data).unwrap(), FieldValue::DateTime(Utc.ymd(2019, 03, 09).and_hms(01, 0, 0))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::Date::::and_hms`: Use and_hms_opt() instead [INFO] [stdout] --> src/fields.rs:172:92 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(o.parse(&mut db, data).unwrap(), FieldValue::DateTime(Utc.ymd(2019, 03, 09).and_hms(01, 0, 0))); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_available` [INFO] [stdout] --> src/header.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | let next_available = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_available` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data_type` [INFO] [stdout] --> src/header.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | let data_type = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_data_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MemoContainer` is more private than the item `Database::memo` [INFO] [stdout] --> src/header.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub memo: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Database::memo` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `MemoContainer` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/header.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | trait MemoContainer:Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/fields.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | let mut o = FieldTypeD; [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: fields `data_address` and `decimal_count` are never read [INFO] [stdout] --> src/header.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FieldDescriptor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | data_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | length: u8, [INFO] [stdout] 53 | decimal_count: u8 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_size` and `record_size` are never read [INFO] [stdout] --> src/header.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | header_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | record_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/header.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 67 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/header.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FoxProMemoContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | block_size: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoxProMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_available` is never read [INFO] [stdout] --> src/header.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct DBaseMemoContainer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | next_available: usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBaseMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn open>(path: T) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let mut file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(FoxProMemoContainer { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | descriptor: file, [INFO] [stdout] 121 | | fragment_size: fragment_size as u32, [INFO] [stdout] 122 | | block_size: block_size as u32 [INFO] [stdout] 123 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn open>(path: T) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let mut file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(DBaseMemoContainer { [INFO] [stdout] | ____________^ [INFO] [stdout] 180 | | descriptor: file, [INFO] [stdout] 181 | | block_size: block_size as usize, [INFO] [stdout] 182 | | next_available: next_available as usize [INFO] [stdout] 183 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 275 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | let fields = self.header.fields.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | fields: Arc::new(fields) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 305 | let field_type_res:Result, io::Error> = match data[11] { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let field_type = field_type_res?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | Ok(FieldDescriptor { [INFO] [stdout] | ________________^ [INFO] [stdout] 325 | | name: field_name, [INFO] [stdout] 326 | | field_type: Arc::new(field_type), [INFO] [stdout] 327 | | data_address: field_address, [INFO] [stdout] 328 | | length: field_length, [INFO] [stdout] 329 | | decimal_count: field_decimal_count [INFO] [stdout] 330 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn parse(path: &str, mut file: impl Read + 'static) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let fields:Vec = Self::parse_fields(field_buffer)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | Ok(Database { [INFO] [stdout] | ____________^ [INFO] [stdout] 410 | | path: path.into(), [INFO] [stdout] 411 | | memo: memo_file, [INFO] [stdout] 412 | | descriptor: Some(Box::new(file)), [INFO] [stdout] ... | [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MemoContainer` is more private than the item `Database::memo` [INFO] [stdout] --> src/header.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | pub memo: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `Database::memo` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but trait `MemoContainer` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/header.rs:85:1 [INFO] [stdout] | [INFO] [stdout] 85 | trait MemoContainer:Debug { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `data_address` and `decimal_count` are never read [INFO] [stdout] --> src/header.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct FieldDescriptor { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | data_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | length: u8, [INFO] [stdout] 53 | decimal_count: u8 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FieldDescriptor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `header_size` and `record_size` are never read [INFO] [stdout] --> src/header.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Header { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 61 | header_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 62 | record_size: u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `path` is never read [INFO] [stdout] --> src/header.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Database { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 67 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `block_size` is never read [INFO] [stdout] --> src/header.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 90 | pub struct FoxProMemoContainer { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 93 | block_size: u32 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FoxProMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `next_available` is never read [INFO] [stdout] --> src/header.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub struct DBaseMemoContainer { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | next_available: usize [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DBaseMemoContainer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:119:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn open>(path: T) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | let mut file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 119 | Ok(FoxProMemoContainer { [INFO] [stdout] | ____________^ [INFO] [stdout] 120 | | descriptor: file, [INFO] [stdout] 121 | | fragment_size: fragment_size as u32, [INFO] [stdout] 122 | | block_size: block_size as u32 [INFO] [stdout] 123 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn open>(path: T) -> Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 162 | let mut file = File::open(path)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 179 | Ok(DBaseMemoContainer { [INFO] [stdout] | ____________^ [INFO] [stdout] 180 | | descriptor: file, [INFO] [stdout] 181 | | block_size: block_size as usize, [INFO] [stdout] 182 | | next_available: next_available as usize [INFO] [stdout] 183 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:281:21 [INFO] [stdout] | [INFO] [stdout] 275 | fn into_iter(self) -> Self::IntoIter { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 276 | let fields = self.header.fields.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 281 | fields: Arc::new(fields) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:324:16 [INFO] [stdout] | [INFO] [stdout] 305 | let field_type_res:Result, io::Error> = match data[11] { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 315 | let field_type = field_type_res?; [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 324 | Ok(FieldDescriptor { [INFO] [stdout] | ________________^ [INFO] [stdout] 325 | | name: field_name, [INFO] [stdout] 326 | | field_type: Arc::new(field_type), [INFO] [stdout] 327 | | data_address: field_address, [INFO] [stdout] 328 | | length: field_length, [INFO] [stdout] 329 | | decimal_count: field_decimal_count [INFO] [stdout] 330 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/header.rs:409:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn parse(path: &str, mut file: impl Read + 'static) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 380 | let fields:Vec = Self::parse_fields(field_buffer)?; [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 389 | let memo_file:Option> = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 409 | Ok(Database { [INFO] [stdout] | ____________^ [INFO] [stdout] 410 | | path: path.into(), [INFO] [stdout] 411 | | memo: memo_file, [INFO] [stdout] 412 | | descriptor: Some(Box::new(file)), [INFO] [stdout] ... | [INFO] [stdout] 420 | | } [INFO] [stdout] 421 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dbase_parser` (lib) due to 6 previous errors; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dbase_parser` (lib test) due to 6 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9b6ec96d1c21745704ac1e35e72152505b3df13a4b4ac23bca3392e6dbbde5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6ec96d1c21745704ac1e35e72152505b3df13a4b4ac23bca3392e6dbbde5ab", kill_on_drop: false }` [INFO] [stdout] 9b6ec96d1c21745704ac1e35e72152505b3df13a4b4ac23bca3392e6dbbde5ab