[INFO] fetching crate dydx-v3-rust 0.2.3... [INFO] checking dydx-v3-rust-0.2.3 against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] extracting crate dydx-v3-rust 0.2.3 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate dydx-v3-rust 0.2.3 [INFO] finished tweaking crates.io crate dydx-v3-rust 0.2.3 [INFO] tweaked toml for crates.io crate dydx-v3-rust 0.2.3 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dydx-v3-rust 0.2.3 on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 215 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding hex-literal v0.3.4 (available: v1.0.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.3.1) [INFO] [stderr] Adding pyo3 v0.16.6 (available: v0.26.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.24) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.11 [INFO] [stderr] Downloaded readonly v0.2.13 [INFO] [stderr] Downloaded pyo3-macros v0.16.6 [INFO] [stderr] Downloaded pyo3-build-config v0.16.6 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.6 [INFO] [stderr] Downloaded pyo3-ffi v0.16.6 [INFO] [stderr] Downloaded pyo3 v0.16.6 [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2b39f039960aaa71224b9c7b3a7aa65650c3632b97861144ebdc1b348fa816b [INFO] running `Command { std: "docker" "start" "-a" "a2b39f039960aaa71224b9c7b3a7aa65650c3632b97861144ebdc1b348fa816b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2b39f039960aaa71224b9c7b3a7aa65650c3632b97861144ebdc1b348fa816b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2b39f039960aaa71224b9c7b3a7aa65650c3632b97861144ebdc1b348fa816b", kill_on_drop: false }` [INFO] [stdout] a2b39f039960aaa71224b9c7b3a7aa65650c3632b97861144ebdc1b348fa816b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9e64b5b297441083bbf752d880d069222fdaa58b35a1561a919a6dd56e9344c [INFO] running `Command { std: "docker" "start" "-a" "a9e64b5b297441083bbf752d880d069222fdaa58b35a1561a919a6dd56e9344c", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling openssl-sys v0.9.110 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling openssl v0.10.74 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Compiling readonly v0.2.13 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling pyo3-build-config v0.16.6 [INFO] [stderr] Compiling pyo3-ffi v0.16.6 [INFO] [stderr] Compiling pyo3 v0.16.6 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.6 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Compiling pyo3-macros v0.16.6 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking dydx-v3-rust v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/modules/private.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [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/modules/private.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:264:36 [INFO] [stdout] | [INFO] [stdout] 264 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [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/modules/private.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [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/modules/private.rs:316:49 [INFO] [stdout] | [INFO] [stdout] 316 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [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/modules/private.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:230:36 [INFO] [stdout] | [INFO] [stdout] 230 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [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/modules/private.rs:231:49 [INFO] [stdout] | [INFO] [stdout] 231 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:264:36 [INFO] [stdout] | [INFO] [stdout] 264 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [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/modules/private.rs:265:49 [INFO] [stdout] | [INFO] [stdout] 265 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead [INFO] [stdout] --> src/modules/private.rs:315:36 [INFO] [stdout] | [INFO] [stdout] 315 | let naive = NaiveDateTime::from_timestamp(user_params.expiration, 0); [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/modules/private.rs:316:49 [INFO] [stdout] | [INFO] [stdout] 316 | let datetime: DateTime = DateTime::from_utc(naive, Utc); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modules/public.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(host: &str, api_timeout: u64) -> Public { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(host: &str, api_timeout: u64) -> Public<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/modules/public.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(host: &str, api_timeout: u64) -> Public { [INFO] [stdout] | ^^^^ ^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(host: &str, api_timeout: u64) -> Public<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.63s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a9e64b5b297441083bbf752d880d069222fdaa58b35a1561a919a6dd56e9344c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9e64b5b297441083bbf752d880d069222fdaa58b35a1561a919a6dd56e9344c", kill_on_drop: false }` [INFO] [stdout] a9e64b5b297441083bbf752d880d069222fdaa58b35a1561a919a6dd56e9344c