[INFO] fetching crate binance-openapi 0.0.0... [INFO] testing binance-openapi-0.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate binance-openapi 0.0.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate binance-openapi 0.0.0 [INFO] finished tweaking crates.io crate binance-openapi 0.0.0 [INFO] tweaked toml for crates.io crate binance-openapi 0.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binance-openapi 0.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 231 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding fs-err v2.11.0 (available: v3.1.3) [INFO] [stderr] Adding progenitor v0.7.0 (available: v0.11.2) [INFO] [stderr] Adding progenitor-client v0.7.0 (available: v0.11.2) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding regress v0.4.1 (available: v0.10.5) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding schemars v0.8.22 (available: v1.1.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typify v0.1.0 [INFO] [stderr] Downloaded serde_tokenstream v0.2.2 [INFO] [stderr] Downloaded progenitor-macro v0.7.0 [INFO] [stderr] Downloaded progenitor-client v0.7.0 [INFO] [stderr] Downloaded progenitor v0.7.0 [INFO] [stderr] Downloaded typify-macro v0.1.0 [INFO] [stderr] Downloaded getopts v0.2.24 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded regress v0.4.1 [INFO] [stderr] Downloaded openapiv3 v2.2.0 [INFO] [stderr] Downloaded regress v0.9.1 [INFO] [stderr] Downloaded typify-impl v0.1.0 [INFO] [stderr] Downloaded progenitor-impl v0.7.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee5c8a4773f20e9ce2e7ac0d965cf5017e1162e681995890b20de1ae40cbb466 [INFO] running `Command { std: "docker" "start" "-a" "ee5c8a4773f20e9ce2e7ac0d965cf5017e1162e681995890b20de1ae40cbb466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee5c8a4773f20e9ce2e7ac0d965cf5017e1162e681995890b20de1ae40cbb466", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee5c8a4773f20e9ce2e7ac0d965cf5017e1162e681995890b20de1ae40cbb466", kill_on_drop: false }` [INFO] [stdout] ee5c8a4773f20e9ce2e7ac0d965cf5017e1162e681995890b20de1ae40cbb466 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff460fec3f35317cbbc8ec9e05b374109d002b95ea7154224ff771c034490674 [INFO] running `Command { std: "docker" "start" "-a" "ff460fec3f35317cbbc8ec9e05b374109d002b95ea7154224ff771c034490674", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling schemars v0.8.22 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling unicode-width v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling getopts v0.2.24 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regress v0.9.1 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling fs-err v2.11.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling regress v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling schemars_derive v0.8.22 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling openapiv3 v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling typify-impl v0.1.0 [INFO] [stderr] Compiling progenitor-client v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling typify-macro v0.1.0 [INFO] [stderr] Compiling typify v0.1.0 [INFO] [stderr] Compiling progenitor-impl v0.7.0 [INFO] [stderr] Compiling progenitor-macro v0.7.0 [INFO] [stderr] Compiling progenitor v0.7.0 [INFO] [stderr] Compiling binance-openapi v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `patchty` [INFO] [stdout] --> build.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let patchty = TypePatch::default(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patchty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: binance-openapi@0.0.0: Skipping codegen dump to file. [INFO] [stdout] warning: unused import: `crate::datetimerfc3339::*` [INFO] [stdout] --> src/codegen.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::datetimerfc3339::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/datetimerfc3339.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DateRfc3339(pub(crate) 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/datetimerfc3339.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | Self(chrono::Date::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/datetimerfc3339.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Self(chrono::Date::from_utc(value, chrono::Utc))) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/datetimerfc3339.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | Self(chrono::Utc::today()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/datetimerfc3339.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | chrono::NaiveDateTime::from_timestamp_millis(millis) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetimerfc3339.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetimerfc3339.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/datetimerfc3339.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::naive::NaiveDateTime::from_timestamp_millis(millis).ok_or(_e)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_local`: Use TimeZone::from_local_datetime() or NaiveDateTime::and_local_timezone instead [INFO] [stdout] --> src/datetimerfc3339.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(chrono::DateTime::from_local(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/codegen.rs:15693:23 [INFO] [stdout] | [INFO] [stdout] 15693 | } else if let Ok(v) = value.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/codegen.rs:55954:23 [INFO] [stdout] | [INFO] [stdout] 55954 | } else if let Ok(v) = value.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn pre_hook(inner: &AuthProvider, request: &reqwest::Request) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn post_hook(inner: &AuthProvider, response_result: &Result) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "ff460fec3f35317cbbc8ec9e05b374109d002b95ea7154224ff771c034490674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff460fec3f35317cbbc8ec9e05b374109d002b95ea7154224ff771c034490674", kill_on_drop: false }` [INFO] [stdout] ff460fec3f35317cbbc8ec9e05b374109d002b95ea7154224ff771c034490674 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0dc6eb720f65d6d270b2f4ebbbdec8165c747871d5e454d1a35350e2d40d5c9 [INFO] running `Command { std: "docker" "start" "-a" "f0dc6eb720f65d6d270b2f4ebbbdec8165c747871d5e454d1a35350e2d40d5c9", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `patchty` [INFO] [stdout] --> build.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | let patchty = TypePatch::default(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patchty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: binance-openapi@0.0.0: Skipping codegen dump to file. [INFO] [stdout] warning: unused import: `crate::datetimerfc3339::*` [INFO] [stdout] --> src/codegen.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::datetimerfc3339::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/datetimerfc3339.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DateRfc3339(pub(crate) 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/datetimerfc3339.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | Self(chrono::Date::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/datetimerfc3339.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Self(chrono::Date::from_utc(value, chrono::Utc))) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/datetimerfc3339.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | Self(chrono::Utc::today()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/datetimerfc3339.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | chrono::NaiveDateTime::from_timestamp_millis(millis) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetimerfc3339.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetimerfc3339.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling binance-openapi v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/datetimerfc3339.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::naive::NaiveDateTime::from_timestamp_millis(millis).ok_or(_e)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_local`: Use TimeZone::from_local_datetime() or NaiveDateTime::and_local_timezone instead [INFO] [stdout] --> src/datetimerfc3339.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(chrono::DateTime::from_local(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/codegen.rs:15693:23 [INFO] [stdout] | [INFO] [stdout] 15693 | } else if let Ok(v) = value.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/codegen.rs:55954:23 [INFO] [stdout] | [INFO] [stdout] 55954 | } else if let Ok(v) = value.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn pre_hook(inner: &AuthProvider, request: &reqwest::Request) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn post_hook(inner: &AuthProvider, response_result: &Result) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::datetimerfc3339::*` [INFO] [stdout] --> src/codegen.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::datetimerfc3339::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/datetimerfc3339.rs:7:43 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct DateRfc3339(pub(crate) 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/datetimerfc3339.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | Self(chrono::Date::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stdout] --> src/datetimerfc3339.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Self(chrono::Date::from_utc(value, chrono::Utc))) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stdout] --> src/datetimerfc3339.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | Self(chrono::Utc::today()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/datetimerfc3339.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | chrono::NaiveDateTime::from_timestamp_millis(millis) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetimerfc3339.rs:69:32 [INFO] [stdout] | [INFO] [stdout] 69 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/datetimerfc3339.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stdout] --> src/datetimerfc3339.rs:87:51 [INFO] [stdout] | [INFO] [stdout] 87 | chrono::naive::NaiveDateTime::from_timestamp_millis(millis).ok_or(_e)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_local`: Use TimeZone::from_local_datetime() or NaiveDateTime::and_local_timezone instead [INFO] [stdout] --> src/datetimerfc3339.rs:88:38 [INFO] [stdout] | [INFO] [stdout] 88 | Ok(chrono::DateTime::from_local(naive, chrono::Utc)) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/codegen.rs:15693:23 [INFO] [stdout] | [INFO] [stdout] 15693 | } else if let Ok(v) = value.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/codegen.rs:55954:23 [INFO] [stdout] | [INFO] [stdout] 55954 | } else if let Ok(v) = value.parse() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn pre_hook(inner: &AuthProvider, request: &reqwest::Request) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inner` [INFO] [stdout] --> src/lib.rs:27:25 [INFO] [stdout] | [INFO] [stdout] 27 | pub(crate) fn post_hook(inner: &AuthProvider, response_result: &Result) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.85s [INFO] running `Command { std: "docker" "inspect" "f0dc6eb720f65d6d270b2f4ebbbdec8165c747871d5e454d1a35350e2d40d5c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0dc6eb720f65d6d270b2f4ebbbdec8165c747871d5e454d1a35350e2d40d5c9", kill_on_drop: false }` [INFO] [stdout] f0dc6eb720f65d6d270b2f4ebbbdec8165c747871d5e454d1a35350e2d40d5c9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8cb1273818879f4230b07ec86e6b2bc332aedcd08de57bf72738d84de6b4149 [INFO] running `Command { std: "docker" "start" "-a" "b8cb1273818879f4230b07ec86e6b2bc332aedcd08de57bf72738d84de6b4149", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `patchty` [INFO] [stderr] --> build.rs:61:9 [INFO] [stderr] | [INFO] [stderr] 61 | let patchty = TypePatch::default(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_patchty` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `binance-openapi` (build script) generated 1 warning [INFO] [stderr] warning: binance-openapi@0.0.0: Skipping codegen dump to file. [INFO] [stderr] warning: unused import: `crate::datetimerfc3339::*` [INFO] [stderr] --> src/codegen.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::datetimerfc3339::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/datetimerfc3339.rs:7:43 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct DateRfc3339(pub(crate) chrono::Date); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/datetimerfc3339.rs:15:22 [INFO] [stderr] | [INFO] [stderr] 15 | Self(chrono::Date::from_utc(naive, chrono::Utc)) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `chrono::Date`: Use `NaiveDate` or `DateTime` instead [INFO] [stderr] --> src/datetimerfc3339.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | Ok(Self(chrono::Date::from_utc(value, chrono::Utc))) [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::Utc::today`: use `Utc::now()` instead, potentially with `.date_naive()` [INFO] [stderr] --> src/datetimerfc3339.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | Self(chrono::Utc::today()) [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stderr] --> src/datetimerfc3339.rs:26:40 [INFO] [stderr] | [INFO] [stderr] 26 | chrono::NaiveDateTime::from_timestamp_millis(millis) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/datetimerfc3339.rs:69:32 [INFO] [stderr] | [INFO] [stderr] 69 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/datetimerfc3339.rs:75:32 [INFO] [stderr] | [INFO] [stderr] 75 | Self(chrono::DateTime::from_utc(naive, chrono::Utc)) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp_millis`: use `DateTime::from_timestamp_millis` instead [INFO] [stderr] --> src/datetimerfc3339.rs:87:51 [INFO] [stderr] | [INFO] [stderr] 87 | chrono::naive::NaiveDateTime::from_timestamp_millis(millis).ok_or(_e)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_local`: Use TimeZone::from_local_datetime() or NaiveDateTime::and_local_timezone instead [INFO] [stderr] --> src/datetimerfc3339.rs:88:38 [INFO] [stderr] | [INFO] [stderr] 88 | Ok(chrono::DateTime::from_local(naive, chrono::Utc)) [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/codegen.rs:15693:23 [INFO] [stderr] | [INFO] [stderr] 15693 | } else if let Ok(v) = value.parse() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: irrefutable `if let` pattern [INFO] [stderr] --> src/codegen.rs:55954:23 [INFO] [stderr] | [INFO] [stderr] 55954 | } else if let Ok(v) = value.parse() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this pattern will always match, so the `if let` is useless [INFO] [stderr] = help: consider replacing the `if let` with a `let` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner` [INFO] [stderr] --> src/lib.rs:23:24 [INFO] [stderr] | [INFO] [stderr] 23 | pub(crate) fn pre_hook(inner: &AuthProvider, request: &reqwest::Request) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `inner` [INFO] [stderr] --> src/lib.rs:27:25 [INFO] [stderr] | [INFO] [stderr] 27 | pub(crate) fn post_hook(inner: &AuthProvider, response_result: &Result) [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_inner` [INFO] [stderr] [INFO] [stderr] warning: `binance-openapi` (lib) generated 14 warnings (run `cargo fix --lib -p binance-openapi` to apply 3 suggestions) [INFO] [stderr] warning: `binance-openapi` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/binance_openapi-4112ee9632c63be9) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests binance_openapi [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8cb1273818879f4230b07ec86e6b2bc332aedcd08de57bf72738d84de6b4149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8cb1273818879f4230b07ec86e6b2bc332aedcd08de57bf72738d84de6b4149", kill_on_drop: false }` [INFO] [stdout] b8cb1273818879f4230b07ec86e6b2bc332aedcd08de57bf72738d84de6b4149