[INFO] fetching crate diesel-helper 0.0.1... [INFO] checking diesel-helper-0.0.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate diesel-helper 0.0.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate diesel-helper 0.0.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate diesel-helper 0.0.1 [INFO] finished tweaking crates.io crate diesel-helper 0.0.1 [INFO] tweaked toml for crates.io crate diesel-helper 0.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 55 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.4) [INFO] [stderr] Adding diesel_derives v1.4.1 (available: v2.2.3) [INFO] [stderr] Adding pq-sys v0.4.8 (available: v0.6.3) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39a6f6bc622ff374193f1e819a69619bd20fc32714e090d077800792349cc99e [INFO] running `Command { std: "docker" "start" "-a" "39a6f6bc622ff374193f1e819a69619bd20fc32714e090d077800792349cc99e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39a6f6bc622ff374193f1e819a69619bd20fc32714e090d077800792349cc99e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39a6f6bc622ff374193f1e819a69619bd20fc32714e090d077800792349cc99e", kill_on_drop: false }` [INFO] [stdout] 39a6f6bc622ff374193f1e819a69619bd20fc32714e090d077800792349cc99e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f104ef61c048118d00e7b01a8a752ca2cba049270733b8d39d7e8825e0ea356b [INFO] running `Command { std: "docker" "start" "-a" "f104ef61c048118d00e7b01a8a752ca2cba049270733b8d39d7e8825e0ea356b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking dotenv v0.15.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Checking diesel v1.4.8 [INFO] [stderr] Checking diesel-helper v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/utils.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_utc_date_range(s: &str) -> Option<(chrono::Date, chrono::Date)> { [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/utils.rs:16:84 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_utc_date_range(s: &str) -> Option<(chrono::Date, chrono::Date)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/utils.rs:16:57 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_utc_date_range(s: &str) -> Option<(chrono::Date, chrono::Date)> { [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/utils.rs:16:84 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parse_utc_date_range(s: &str) -> Option<(chrono::Date, chrono::Date)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | if let Ok(date1) = chrono::Utc.datetime_from_str(&format!("{} 00:00:00", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | if let Ok(date2) = chrono::Utc.datetime_from_str(&format!("{} 23:59:59", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(date1) = chrono::Utc.datetime_from_str(&format!("{} 00:00:00", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | if let Ok(date2) = chrono::Utc.datetime_from_str(&format!("{} 00:00:00", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/utils.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | return Some((date1.date(), date2.date())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:7:40 [INFO] [stdout] | [INFO] [stdout] 7 | if let Ok(date1) = chrono::Utc.datetime_from_str(&format!("{} 00:00:00", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/utils.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | return Some((date1.date(), date2.date())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:8:44 [INFO] [stdout] | [INFO] [stdout] 8 | if let Ok(date2) = chrono::Utc.datetime_from_str(&format!("{} 23:59:59", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:20:40 [INFO] [stdout] | [INFO] [stdout] 20 | if let Ok(date1) = chrono::Utc.datetime_from_str(&format!("{} 00:00:00", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::TimeZone::datetime_from_str`: use `DateTime::parse_from_str` or `NaiveDateTime::parse_from_str` with `and_utc()` or `and_local_timezone()` instead [INFO] [stdout] --> src/utils.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | if let Ok(date2) = chrono::Utc.datetime_from_str(&format!("{} 00:00:00", vec[0]), FORMAT) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/utils.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | return Some((date1.date(), date2.date())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `chrono::DateTime::::date`: Use `date_naive()` instead [INFO] [stdout] --> src/utils.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | return Some((date1.date(), date2.date())); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pagination.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_paginated` [INFO] [stdout] 36 | pub struct Paginated { [INFO] [stdout] | --------- `Paginated` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/pagination.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug, Clone, Copy, QueryId)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `QueryId` is not local [INFO] [stdout] | move the `impl` block outside of this function `_impl_query_id_for_paginated` [INFO] [stdout] 36 | pub struct Paginated { [INFO] [stdout] | --------- `Paginated` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `QueryId` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.27s [INFO] running `Command { std: "docker" "inspect" "f104ef61c048118d00e7b01a8a752ca2cba049270733b8d39d7e8825e0ea356b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f104ef61c048118d00e7b01a8a752ca2cba049270733b8d39d7e8825e0ea356b", kill_on_drop: false }` [INFO] [stdout] f104ef61c048118d00e7b01a8a752ca2cba049270733b8d39d7e8825e0ea356b