[INFO] fetching crate databento 0.12.1... [INFO] checking databento-0.12.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate databento 0.12.1 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate databento 0.12.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate databento 0.12.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate databento 0.12.1 [INFO] tweaked toml for crates.io crate databento 0.12.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate databento 0.12.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a45314ba9df3b798fc7ec1c2debe2020b72814d01b665ace1b7b2ed119d6f6a [INFO] running `Command { std: "docker" "start" "-a" "7a45314ba9df3b798fc7ec1c2debe2020b72814d01b665ace1b7b2ed119d6f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a45314ba9df3b798fc7ec1c2debe2020b72814d01b665ace1b7b2ed119d6f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a45314ba9df3b798fc7ec1c2debe2020b72814d01b665ace1b7b2ed119d6f6a", kill_on_drop: false }` [INFO] [stdout] 7a45314ba9df3b798fc7ec1c2debe2020b72814d01b665ace1b7b2ed119d6f6a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85c5f8fee6b46adad6a631ad260a8db388d88cbe1c240f5da550b562df5b9798 [INFO] running `Command { std: "docker" "start" "-a" "85c5f8fee6b46adad6a631ad260a8db388d88cbe1c240f5da550b562df5b9798", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling indexmap v2.4.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Compiling syn v2.0.76 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rustls-pki-types v1.8.0 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking json-writer v0.4.0 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking cpufeatures v0.2.13 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking rustls-pemfile v2.1.3 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling num_enum_derive v0.7.3 [INFO] [stderr] Compiling dbn-macros v0.20.1 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking tokio v1.39.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking num_enum v0.7.3 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Checking zstd v0.13.2 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.12 [INFO] [stderr] Checking deadpool v0.10.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking dbn v0.20.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking wiremock v0.6.1 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking databento v0.12.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/live.rs (1 fix) [INFO] [stderr] Fixed src/historical/deserialize.rs (1 fix) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/historical/batch.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | while let Some(chunk) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/historical/batch.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/historical/timeseries.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | while let Some(rec_ref) = http_decoder.decode_record_ref().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/historical/timeseries.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/live.rs from 2021 edition to 2024 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/historical/batch.rs:181:15 [INFO] [stdout] | [INFO] [stdout] 181 | while let Some(chunk) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/historical/batch.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/historical/timeseries.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | while let Some(rec_ref) = http_decoder.decode_record_ref().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^--------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/historical/timeseries.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/live.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | while let Some(rec) = client.next_record().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/live.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/historical.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/historical.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | while let Some(trade) = decoder.decode_record::().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^------------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/historical.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/live_smoke_test.rs from 2021 edition to 2024 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/live_smoke_test.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | while let Some(record) = client.next_record().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/live_smoke_test.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> examples/live_smoke_test.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some(record) = client.next_record().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> examples/live_smoke_test.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.29s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking databento v0.12.1 (/tmp/fixit) [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/historical.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mut decoder = client [INFO] [stdout] | _______________________^ [INFO] [stdout] 15 | | .timeseries() [INFO] [stdout] | |_____________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 27 | .await?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 28 | let symbol_map = decoder [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 14 ~ let binding = client [INFO] [stdout] 15 + .timeseries(); [INFO] [stdout] 16 ~ let mut decoder = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> examples/historical.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | &GetRangeParams::builder() [INFO] [stdout] | ______________^ [INFO] [stdout] 18 | | .dataset("GLBX.MDP3") [INFO] [stdout] 19 | | .date_time_range(( [INFO] [stdout] 20 | | datetime!(2022-06-10 14:30 UTC), [INFO] [stdout] ... | [INFO] [stdout] 24 | | .schema(Schema::Trades) [INFO] [stdout] 25 | | .build(), [INFO] [stdout] | |________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] 26 | ) [INFO] [stdout] 27 | .await?; [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 28 | let symbol_map = decoder [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 14 ~ let binding = GetRangeParams::builder() [INFO] [stdout] 15 + .dataset("GLBX.MDP3") [INFO] [stdout] 16 + .date_time_range(( [INFO] [stdout] 17 + datetime!(2022-06-10 14:30 UTC), [INFO] [stdout] 18 + datetime!(2022-06-10 14:40 UTC), [INFO] [stdout] 19 + )) [INFO] [stdout] 20 + .symbols(Symbols::All) [INFO] [stdout] 21 + .schema(Schema::Trades) [INFO] [stdout] 22 + .build(); [INFO] [stdout] 23 ~ let mut decoder = client [INFO] [stdout] 24 | .timeseries() [INFO] [stdout] 25 | .get_range( [INFO] [stdout] 26 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `databento` (example "historical") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/historical/timeseries.rs:284:27 [INFO] [stdout] | [INFO] [stdout] 284 | let mut decoder = target [INFO] [stdout] | ___________________________^ [INFO] [stdout] 285 | | .timeseries() [INFO] [stdout] | |_________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 295 | .unwrap(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 296 | assert_eq!(decoder.metadata().schema.unwrap(), SCHEMA); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 284 ~ let binding = target [INFO] [stdout] 285 + .timeseries(); [INFO] [stdout] 286 ~ let mut decoder = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/historical/timeseries.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | &GetRangeParams::builder() [INFO] [stdout] | __________________^ [INFO] [stdout] 288 | | .dataset(dbn::datasets::XNAS_ITCH) [INFO] [stdout] 289 | | .schema(SCHEMA) [INFO] [stdout] 290 | | .symbols(vec!["SPOT", "AAPL"]) [INFO] [stdout] 291 | | .date_time_range((START, END)) [INFO] [stdout] 292 | | .build(), [INFO] [stdout] | |____________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 295 | .unwrap(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 296 | assert_eq!(decoder.metadata().schema.unwrap(), SCHEMA); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 284 ~ let binding = GetRangeParams::builder() [INFO] [stdout] 285 + .dataset(dbn::datasets::XNAS_ITCH) [INFO] [stdout] 286 + .schema(SCHEMA) [INFO] [stdout] 287 + .symbols(vec!["SPOT", "AAPL"]) [INFO] [stdout] 288 + .date_time_range((START, END)) [INFO] [stdout] 289 + .build(); [INFO] [stdout] 290 ~ let mut decoder = target [INFO] [stdout] 291 | .timeseries() [INFO] [stdout] 292 | .get_range( [INFO] [stdout] 293 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/historical/timeseries.rs:337:27 [INFO] [stdout] | [INFO] [stdout] 337 | let mut decoder = target [INFO] [stdout] | ___________________________^ [INFO] [stdout] 338 | | .timeseries() [INFO] [stdout] | |_________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 350 | .unwrap(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 351 | assert_eq!(decoder.metadata().schema.unwrap(), SCHEMA); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 337 ~ let binding = target [INFO] [stdout] 338 + .timeseries(); [INFO] [stdout] 339 ~ let mut decoder = binding [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/historical/timeseries.rs:340:18 [INFO] [stdout] | [INFO] [stdout] 340 | &GetRangeToFileParams::builder() [INFO] [stdout] | __________________^ [INFO] [stdout] 341 | | .dataset(DATASET) [INFO] [stdout] 342 | | .schema(SCHEMA) [INFO] [stdout] 343 | | .symbols(vec!["BRN.FUT"]) [INFO] [stdout] ... | [INFO] [stdout] 346 | | .path(path.clone()) [INFO] [stdout] 347 | | .build(), [INFO] [stdout] | |____________________________^ creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 350 | .unwrap(); [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] 351 | assert_eq!(decoder.metadata().schema.unwrap(), SCHEMA); [INFO] [stdout] | ------- borrow later used here [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 337 ~ let binding = GetRangeToFileParams::builder() [INFO] [stdout] 338 + .dataset(DATASET) [INFO] [stdout] 339 + .schema(SCHEMA) [INFO] [stdout] 340 + .symbols(vec!["BRN.FUT"]) [INFO] [stdout] 341 + .stype_in(SType::Parent) [INFO] [stdout] 342 + .date_time_range((START, END)) [INFO] [stdout] 343 + .path(path.clone()) [INFO] [stdout] 344 + .build(); [INFO] [stdout] 345 ~ let mut decoder = target [INFO] [stdout] 346 | .timeseries() [INFO] [stdout] 347 | .get_range_to_file( [INFO] [stdout] 348 ~ &binding, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `databento` (lib test) due to 5 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "85c5f8fee6b46adad6a631ad260a8db388d88cbe1c240f5da550b562df5b9798", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85c5f8fee6b46adad6a631ad260a8db388d88cbe1c240f5da550b562df5b9798", kill_on_drop: false }` [INFO] [stdout] 85c5f8fee6b46adad6a631ad260a8db388d88cbe1c240f5da550b562df5b9798