[INFO] fetching crate diesel-helper 0.0.1... [INFO] testing diesel-helper-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate diesel-helper 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] removed /workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate diesel-helper 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 61 packages to latest compatible versions [INFO] [stderr] Adding diesel v1.4.8 (available: v2.2.11) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 177372ec0d65e32feca76527fd781788633bebf7d28e0b83be5a73d69de55df8 [INFO] running `Command { std: "docker" "start" "-a" "177372ec0d65e32feca76527fd781788633bebf7d28e0b83be5a73d69de55df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "177372ec0d65e32feca76527fd781788633bebf7d28e0b83be5a73d69de55df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "177372ec0d65e32feca76527fd781788633bebf7d28e0b83be5a73d69de55df8", kill_on_drop: false }` [INFO] [stdout] 177372ec0d65e32feca76527fd781788633bebf7d28e0b83be5a73d69de55df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 10fb445a78e3b18ace7f226ac7ce0529eb4076b7bad896de5bb0db37a64294f7 [INFO] running `Command { std: "docker" "start" "-a" "10fb445a78e3b18ace7f226ac7ce0529eb4076b7bad896de5bb0db37a64294f7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pq-sys v0.4.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling diesel v1.4.8 [INFO] [stderr] Compiling 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 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::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: `#[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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.11s [INFO] running `Command { std: "docker" "inspect" "10fb445a78e3b18ace7f226ac7ce0529eb4076b7bad896de5bb0db37a64294f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fb445a78e3b18ace7f226ac7ce0529eb4076b7bad896de5bb0db37a64294f7", kill_on_drop: false }` [INFO] [stdout] 10fb445a78e3b18ace7f226ac7ce0529eb4076b7bad896de5bb0db37a64294f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4d708184d927683cf8b8fc2ba9a1527b54dd389a86dbebc17e428361513448a6 [INFO] running `Command { std: "docker" "start" "-a" "4d708184d927683cf8b8fc2ba9a1527b54dd389a86dbebc17e428361513448a6", kill_on_drop: false }` [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] [stderr] Compiling 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: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::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: `#[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: 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::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: `#[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] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcPAutEf/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libdotenv-071ec522f34dd5ab.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libserde-8ad07e55861f61dd.rlib,libdiesel-0c262ab733aed1a1.rlib,libpq_sys-e08123ff87be9a9b.rlib}.rlib" "-lpq" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libchrono-d63bd8816755d405.rlib,libiana_time_zone-bcdbc0f1f6b78de9.rlib,libnum_traits-580341538e30138e.rlib,libr2d2-ddcae9d321bcd48f.rlib,libscheduled_thread_pool-f6becfbd13b041c2.rlib,libparking_lot-f5b76ea11ff6db78.rlib,libparking_lot_core-cb0ae65b6acb2214.rlib,liblibc-8e354d7ef70926da.rlib,libcfg_if-bfc6e2941b0f95e3.rlib,libsmallvec-f31619fc744d118e.rlib,liblock_api-a1a42cac6aa59082.rlib,libscopeguard-339f7eb6e1fefd1f.rlib,libbyteorder-1e24148c060ae1e7.rlib,libbitflags-e274cd04b58a060d.rlib,liblazy_static-f3dc5c13b01a78ba.rlib,liblog-fe55feed4fa9693d.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcPAutEf/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/usr/lib/x86_64-linux-gnu" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/diesel_helper-e9785a62dfb8084b" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): in function `>::try_from::{{closure}}': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/net/connection/socket.rs:319:(.text._ZN117_$LT$std..sys..net..connection..socket..LookupHost$u20$as$u20$core..convert..TryFrom$LT$$LP$$RF$str$C$u16$RP$$GT$$GT$8try_from28_$u7b$$u7b$closure$u7d$$u7d$17hf58eb60cc1c9f331E+0x57): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): in function `std::sys::pal::unix::os::home_dir::fallback': [INFO] [stdout] /rustc/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/std/src/sys/pal/unix/os.rs:671:(.text._ZN3std3env8home_dir17h7b909c53ac52fbe9E+0xc5): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking [INFO] [stdout] /usr/bin/ld: /tmp/cco15fdy.ltrans0.ltrans.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIE [INFO] [stdout] /usr/bin/ld: failed to set dynamic section sizes: bad value [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] /usr/bin/ld: /opt/rustwide/rustup-home/toolchains/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/lib/rustlib/x86_64-unknown-linux-musl/lib/libstd-6552f92f1a5eadae.rlib(std-6552f92f1a5eadae.std.ac8d423ff4d2d0a4-cgu.0.rcgu.o): note: the message above does not take linker garbage collection into account [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `diesel-helper` (lib test) due to 1 previous error; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4d708184d927683cf8b8fc2ba9a1527b54dd389a86dbebc17e428361513448a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d708184d927683cf8b8fc2ba9a1527b54dd389a86dbebc17e428361513448a6", kill_on_drop: false }` [INFO] [stdout] 4d708184d927683cf8b8fc2ba9a1527b54dd389a86dbebc17e428361513448a6