[INFO] cloning repository https://github.com/quphase/stocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quphase/stocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquphase%2Fstocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquphase%2Fstocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3556efd37502acf36176101a0f430a34657bd18b [INFO] checking quphase/stocks against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquphase%2Fstocks" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quphase/stocks on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quphase/stocks [INFO] finished tweaking git repo https://github.com/quphase/stocks [INFO] tweaked toml for git repo https://github.com/quphase/stocks written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/quphase/stocks 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-file v0.2.0 [INFO] [stderr] Downloaded gloo-timers v0.2.2 [INFO] [stderr] Downloaded gloo-utils v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ce1d9e547982fac39fc52da7d44a38b0aa6176ea4cb88c11bae093416aced2a [INFO] running `Command { std: "docker" "start" "-a" "0ce1d9e547982fac39fc52da7d44a38b0aa6176ea4cb88c11bae093416aced2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ce1d9e547982fac39fc52da7d44a38b0aa6176ea4cb88c11bae093416aced2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce1d9e547982fac39fc52da7d44a38b0aa6176ea4cb88c11bae093416aced2a", kill_on_drop: false }` [INFO] [stdout] 0ce1d9e547982fac39fc52da7d44a38b0aa6176ea4cb88c11bae093416aced2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45e476f29c63cb1eb1364203bc9f82caeb2fec60cc6f0bab8dce22620b56f93c [INFO] running `Command { std: "docker" "start" "-a" "45e476f29c63cb1eb1364203bc9f82caeb2fec60cc6f0bab8dce22620b56f93c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-utils v0.1.1 [INFO] [stderr] Checking gloo-console v0.2.1 [INFO] [stderr] Checking gloo-dialogs v0.1.0 [INFO] [stderr] Checking gloo-timers v0.2.2 [INFO] [stderr] Checking gloo-render v0.1.0 [INFO] [stderr] Checking gloo-storage v0.2.0 [INFO] [stderr] Checking gloo-file v0.2.0 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking stock-tax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opening_strategy` [INFO] [stdout] --> src/option_tax.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(opening_strategy) = &d.opening_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opening_strategy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closing_strategy` [INFO] [stdout] --> src/option_tax.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(closing_strategy) = &d.closing_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closing_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/option_tax.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut d in &data { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opening_strategy` [INFO] [stdout] --> src/option_tax.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(opening_strategy) = &d.opening_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opening_strategy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closing_strategy` [INFO] [stdout] --> src/option_tax.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(closing_strategy) = &d.closing_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closing_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/option_tax.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut d in &data { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.73s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.78 [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" "45e476f29c63cb1eb1364203bc9f82caeb2fec60cc6f0bab8dce22620b56f93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e476f29c63cb1eb1364203bc9f82caeb2fec60cc6f0bab8dce22620b56f93c", kill_on_drop: false }` [INFO] [stdout] 45e476f29c63cb1eb1364203bc9f82caeb2fec60cc6f0bab8dce22620b56f93c [INFO] checking quphase/stocks against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquphase%2Fstocks" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/quphase/stocks on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/quphase/stocks [INFO] finished tweaking git repo https://github.com/quphase/stocks [INFO] tweaked toml for git repo https://github.com/quphase/stocks written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/quphase/stocks 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b99534a528496791ff68ec7df935f2fe4a090942c54ea52c4b68568a9610f161 [INFO] running `Command { std: "docker" "start" "-a" "b99534a528496791ff68ec7df935f2fe4a090942c54ea52c4b68568a9610f161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b99534a528496791ff68ec7df935f2fe4a090942c54ea52c4b68568a9610f161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b99534a528496791ff68ec7df935f2fe4a090942c54ea52c4b68568a9610f161", kill_on_drop: false }` [INFO] [stdout] b99534a528496791ff68ec7df935f2fe4a090942c54ea52c4b68568a9610f161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e1979f9a0e5cb320306e4ed8d350054d8f636f9869d2ed05caae30f58d4a41f [INFO] running `Command { std: "docker" "start" "-a" "3e1979f9a0e5cb320306e4ed8d350054d8f636f9869d2ed05caae30f58d4a41f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.78 [INFO] [stderr] Compiling bumpalo v3.8.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.55 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.28 [INFO] [stderr] Checking gloo-events v0.1.1 [INFO] [stderr] Checking gloo-utils v0.1.1 [INFO] [stderr] Checking gloo-console v0.2.1 [INFO] [stderr] Checking gloo-render v0.1.0 [INFO] [stderr] Checking gloo-timers v0.2.2 [INFO] [stderr] Checking gloo-dialogs v0.1.0 [INFO] [stderr] Checking gloo-storage v0.2.0 [INFO] [stderr] Checking gloo-file v0.2.0 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking stock-tax v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `opening_strategy` [INFO] [stdout] --> src/option_tax.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(opening_strategy) = &d.opening_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opening_strategy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closing_strategy` [INFO] [stdout] --> src/option_tax.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(closing_strategy) = &d.closing_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closing_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/option_tax.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut d in &data { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 112 | let link = ctx.link().clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | gloo_file::callbacks::read_as_text(&file, move |res| { [INFO] [stdout] 114 | link.send_message(Msg::Loaded( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 115 | | file_name, [INFO] [stdout] 116 | | res.unwrap_or_else(|e| e.to_string()), [INFO] [stdout] 117 | | investment, [INFO] [stdout] 118 | | )) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stock-tax` (bin "stock-tax" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `opening_strategy` [INFO] [stdout] --> src/option_tax.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if let Some(opening_strategy) = &d.opening_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_opening_strategy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `closing_strategy` [INFO] [stdout] --> src/option_tax.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | if let Some(closing_strategy) = &d.closing_strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_closing_strategy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/option_tax.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | for mut d in &data { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:114:43 [INFO] [stdout] | [INFO] [stdout] 112 | let link = ctx.link().clone(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 113 | gloo_file::callbacks::read_as_text(&file, move |res| { [INFO] [stdout] 114 | link.send_message(Msg::Loaded( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 115 | | file_name, [INFO] [stdout] 116 | | res.unwrap_or_else(|e| e.to_string()), [INFO] [stdout] 117 | | investment, [INFO] [stdout] 118 | | )) [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `stock-tax` (bin "stock-tax") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e1979f9a0e5cb320306e4ed8d350054d8f636f9869d2ed05caae30f58d4a41f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e1979f9a0e5cb320306e4ed8d350054d8f636f9869d2ed05caae30f58d4a41f", kill_on_drop: false }` [INFO] [stdout] 3e1979f9a0e5cb320306e4ed8d350054d8f636f9869d2ed05caae30f58d4a41f