[INFO] fetching crate leptos-chartistry 0.1.7... [INFO] checking leptos-chartistry-0.1.7 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate leptos-chartistry 0.1.7 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate leptos-chartistry 0.1.7 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 leptos-chartistry 0.1.7 [INFO] finished tweaking crates.io crate leptos-chartistry 0.1.7 [INFO] tweaked toml for crates.io crate leptos-chartistry 0.1.7 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 192 packages to latest compatible versions [INFO] [stderr] Adding attribute-derive v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding attribute-derive-macro v0.9.2 (available: v0.10.1) [INFO] [stderr] Adding codee v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding dashmap v5.5.3 (available: v6.1.0) [INFO] [stderr] Adding idna v0.5.0 (available: v1.0.2) [INFO] [stderr] Adding itertools v0.12.1 (available: v0.13.0) [INFO] [stderr] Adding leptos-use v0.12.0 (available: v0.13.5) [INFO] [stderr] Adding manyhow v0.10.4 (available: v0.11.4) [INFO] [stderr] Adding manyhow-macros v0.10.4 (available: v0.11.4) [INFO] [stderr] Adding oco_ref v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding proc-macro-utils v0.8.0 (available: v0.10.0) [INFO] [stderr] Adding rstml v0.11.2 (available: v0.12.0) [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [INFO] [stderr] Adding serde_qs v0.12.0 (available: v0.13.0) [INFO] [stderr] Adding typed-builder v0.18.2 (available: v0.20.0) [INFO] [stderr] Adding typed-builder-macro v0.18.2 (available: v0.20.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 79dee6a7d539a11db9f2cf71ad4cb6a73f89eb8961218fc900aed403f7302419 [INFO] running `Command { std: "docker" "start" "-a" "79dee6a7d539a11db9f2cf71ad4cb6a73f89eb8961218fc900aed403f7302419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79dee6a7d539a11db9f2cf71ad4cb6a73f89eb8961218fc900aed403f7302419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79dee6a7d539a11db9f2cf71ad4cb6a73f89eb8961218fc900aed403f7302419", kill_on_drop: false }` [INFO] [stdout] 79dee6a7d539a11db9f2cf71ad4cb6a73f89eb8961218fc900aed403f7302419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9da40d4042f21784e926682dce8ee00aa398abc407148d5c157b489e87132c87 [INFO] running `Command { std: "docker" "start" "-a" "9da40d4042f21784e926682dce8ee00aa398abc407148d5c157b489e87132c87", 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.13 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling xxhash-rust v0.8.12 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling camino v1.1.9 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling collection_literals v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking send_wrapper v0.6.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking self_cell v1.0.4 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Compiling manyhow-macros v0.10.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Compiling leptos-use v0.12.0 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling const_format v0.2.33 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling server_fn_macro v0.6.15 [INFO] [stderr] Compiling manyhow v0.10.4 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling derive-where v1.2.7 [INFO] [stderr] Compiling server_fn_macro_default v0.6.15 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.9.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking unic-langid-impl v0.9.5 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking unic-langid v0.9.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Checking codee v0.1.2 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Compiling attribute-derive v0.9.2 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling default-struct-builder v0.5.0 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Checking oco_ref v0.1.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Compiling leptos_hot_reload v0.6.15 [INFO] [stderr] Checking leptos_reactive v0.6.15 [INFO] [stderr] Compiling leptos_macro v0.6.15 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking leptos_config v0.6.15 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.0 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking server_fn v0.6.15 [INFO] [stderr] Checking leptos_server v0.6.15 [INFO] [stderr] Checking leptos_dom v0.6.15 [INFO] [stderr] Checking leptos v0.6.15 [INFO] [stderr] Checking leptos-chartistry v0.1.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `leptos_chartistry` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/chart.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: return type is incorrect [INFO] [stderr] [INFO] [stderr] = help: return signature must be `-> impl IntoView` [INFO] [stderr] [INFO] [stderr] --> src/chart.rs:236:1 [INFO] [stderr] | [INFO] [stderr] 236 | / fn RenderChart<'a, X: Tick, Y: Tick>( [INFO] [stderr] 237 | | watch: UseWatchedNode, [INFO] [stderr] 238 | | pre_state: PreState, [INFO] [stderr] 239 | | aspect_ratio: Memo, [INFO] [stderr] ... | [INFO] [stderr] 245 | | tooltip: Tooltip, [INFO] [stderr] 246 | | ) -> impl IntoView + use { [INFO] [stderr] | |______________________________^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RenderChart` in this scope [INFO] [stderr] --> src/chart.rs:219:18 [INFO] [stderr] | [INFO] [stderr] 219 | src/chart.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | aspect_ratio::KnownAspectRatio, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 5 | layout::{EdgeLayout, Layout}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | overlay::tooltip::Tooltip, [INFO] [stderr] 7 | projection::Projection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | series::{RenderData, UseData}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | state::{PreState, State}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | use_watched_node::{use_watched_node, UseWatchedNode}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_generator(gen: impl TickGen + 'static) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | generator: create_rw_signal(Rc::new(gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn map_ticks(&self, gen: Signal>) -> Signal> { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | gen.with(|GeneratedTicks { ticks, state }| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(gen: Gen) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | Self::from_generator(gen) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use gen::{ [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | fn from_period(gen: &Timestamps, period: Period) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | format: gen.format.clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | all_periods: gen.periods.clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 4.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 14.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | gen.generate(&first, &last, &mk_span((5.0 * 6.0 + 4.0) * 3.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | gen.generate(&first, &last, &mk_span(1000.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ticks(gen.generate(&dt, &dt, &mk_span(1000.0)), vec![]) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | assert_ticks(gen.generate(&first, &last, &mk_span(10.0)), vec![]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let gen = Timestamps::from_periods([]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ticks(gen.generate(&first, &last, &mk_span(1000.0)), vec![]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/chart.rs:246:6 [INFO] [stdout] | [INFO] [stdout] 246 | ) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/chart.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 236 | fn RenderChart<'a, X: Tick, Y: Tick>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 246 | ) -> impl IntoView + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | fn stops(&self, range_y: (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | fn stops(&self, range_y: (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 123 | fn stops(&self, range_y: (f64, f64)) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | fn sequential_stops(&self) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | fn sequential_stops(&self) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 133 | fn sequential_stops(&self) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:139:65 [INFO] [stdout] | [INFO] [stdout] 139 | fn diverging_stops(&self, (bottom_y, top_y): (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | fn diverging_stops(&self, (bottom_y, top_y): (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 139 | fn diverging_stops(&self, (bottom_y, top_y): (f64, f64)) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:168:65 [INFO] [stdout] | [INFO] [stdout] 168 | fn generate_stops(swatches: &[Colour], from: f64, step: f64) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | fn generate_stops(swatches: &[Colour], from: f64, step: f64) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 168 | fn generate_stops(swatches: &[Colour], from: f64, step: f64) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/series/use_data/range.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(range) = self.0.as_mut() { [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/series/use_data/range.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 23 ~ match self.0.as_mut() { Some(range) => { [INFO] [stdout] 24 | range.update(t); [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | *self = Range(InnerRange::new(t)); [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `leptos_chartistry` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/chart.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: return type is incorrect [INFO] [stderr] [INFO] [stderr] = help: return signature must be `-> impl IntoView` [INFO] [stderr] [INFO] [stderr] --> src/chart.rs:236:1 [INFO] [stderr] | [INFO] [stderr] 236 | / fn RenderChart<'a, X: Tick, Y: Tick>( [INFO] [stderr] 237 | | watch: UseWatchedNode, [INFO] [stderr] 238 | | pre_state: PreState, [INFO] [stderr] 239 | | aspect_ratio: Memo, [INFO] [stderr] ... | [INFO] [stderr] 245 | | tooltip: Tooltip, [INFO] [stderr] 246 | | ) -> impl IntoView + use { [INFO] [stderr] | |______________________________^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `RenderChart` in this scope [INFO] [stderr] --> src/chart.rs:219:18 [INFO] [stderr] | [INFO] [stderr] 219 | src/chart.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | aspect_ratio::KnownAspectRatio, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 5 | layout::{EdgeLayout, Layout}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 6 | overlay::tooltip::Tooltip, [INFO] [stderr] 7 | projection::Projection, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | series::{RenderData, UseData}, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 9 | state::{PreState, State}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 10 | use_watched_node::{use_watched_node, UseWatchedNode}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_generator(gen: impl TickGen + 'static) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | generator: create_rw_signal(Rc::new(gen)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn map_ticks(&self, gen: Signal>) -> Signal> { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | gen.with(|GeneratedTicks { ticks, state }| { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(gen: Gen) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/layout/tick_labels.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | Self::from_generator(gen) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod gen; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use gen::{ [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | fn from_period(gen: &Timestamps, period: Period) -> Self { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 205 | format: gen.format.clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 206 | all_periods: gen.periods.clone(), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 4.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 14.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | gen.generate(&first, &last, &mk_span((5.0 * 6.0 + 4.0) * 3.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | gen.generate(&first, &last, &mk_span(1000.0)), [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ticks(gen.generate(&dt, &dt, &mk_span(1000.0)), vec![]) [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | assert_ticks(gen.generate(&first, &last, &mk_span(10.0)), vec![]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let gen = Timestamps::from_periods([]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/ticks/gen/timestamps.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ticks(gen.generate(&first, &last, &mk_span(1000.0)), vec![]); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.83s [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/chart.rs:246:6 [INFO] [stdout] | [INFO] [stdout] 246 | ) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/chart.rs:236:16 [INFO] [stdout] | [INFO] [stdout] 236 | fn RenderChart<'a, X: Tick, Y: Tick>( [INFO] [stdout] | ^^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 246 | ) -> impl IntoView + use { [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:123:45 [INFO] [stdout] | [INFO] [stdout] 123 | fn stops(&self, range_y: (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | fn stops(&self, range_y: (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 123 | fn stops(&self, range_y: (f64, f64)) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:133:35 [INFO] [stdout] | [INFO] [stdout] 133 | fn sequential_stops(&self) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:133:25 [INFO] [stdout] | [INFO] [stdout] 133 | fn sequential_stops(&self) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 133 | fn sequential_stops(&self) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:139:65 [INFO] [stdout] | [INFO] [stdout] 139 | fn diverging_stops(&self, (bottom_y, top_y): (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:139:24 [INFO] [stdout] | [INFO] [stdout] 139 | fn diverging_stops(&self, (bottom_y, top_y): (f64, f64)) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 139 | fn diverging_stops(&self, (bottom_y, top_y): (f64, f64)) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl leptos::IntoView` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/colours/scheme.rs:168:65 [INFO] [stdout] | [INFO] [stdout] 168 | fn generate_stops(swatches: &[Colour], from: f64, step: f64) -> impl IntoView { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/colours/scheme.rs:168:29 [INFO] [stdout] | [INFO] [stdout] 168 | fn generate_stops(swatches: &[Colour], from: f64, step: f64) -> impl IntoView { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 168 | fn generate_stops(swatches: &[Colour], from: f64, step: f64) -> impl IntoView + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/series/use_data/range.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(range) = self.0.as_mut() { [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/series/use_data/range.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 23 ~ match self.0.as_mut() { Some(range) => { [INFO] [stdout] 24 | range.update(t); [INFO] [stdout] 25 ~ } _ => { [INFO] [stdout] 26 | *self = Range(InnerRange::new(t)); [INFO] [stdout] 27 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 31 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking leptos-chartistry v0.1.7 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_generator(gen: impl TickGen + 'static) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_generator(r#gen: impl TickGen + 'static) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:72:27 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_generator(gen: impl TickGen + 'static) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 72 | pub fn from_generator(r#gen: impl TickGen + 'static) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | generator: create_rw_signal(Rc::new(gen)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:76:49 [INFO] [stdout] | [INFO] [stdout] 76 | generator: create_rw_signal(Rc::new(gen)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn map_ticks(&self, gen: Signal>) -> Signal> { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 97 | fn map_ticks(&self, r#gen: Signal>) -> Signal> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:97:25 [INFO] [stdout] | [INFO] [stdout] 97 | fn map_ticks(&self, gen: Signal>) -> Signal> { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 97 | fn map_ticks(&self, r#gen: Signal>) -> Signal> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | gen.with(|GeneratedTicks { ticks, state }| { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 101 | gen.with(|GeneratedTicks { ticks, state }| { [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(gen: Gen) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | fn from(r#gen: Gen) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | Self::from_generator(gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn from(gen: Gen) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 116 | fn from(r#gen: Gen) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/layout/tick_labels.rs:117:30 [INFO] [stdout] | [INFO] [stdout] 117 | Self::from_generator(gen) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1 | mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use gen::{ [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 3 | pub use r#gen::{ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | mod gen; [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 1 | mod r#gen; [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use gen::{ [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 3 | pub use r#gen::{ [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | fn from_period(gen: &Timestamps, period: Period) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 203 | fn from_period(r#gen: &Timestamps, period: Period) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 204 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 205 | format: gen.format.clone(), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 204 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 205 | format: gen.format.clone(), [INFO] [stdout] 206 | all_periods: gen.periods.clone(), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 431 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 4.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 14.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | gen.generate(&first, &last, &mk_span((5.0 * 6.0 + 4.0) * 3.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 480 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:203:20 [INFO] [stdout] | [INFO] [stdout] 203 | fn from_period(gen: &Timestamps, period: Period) -> Self { [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 203 | fn from_period(r#gen: &Timestamps, period: Period) -> Self { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | gen.generate(&first, &last, &mk_span(1000.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:205:21 [INFO] [stdout] | [INFO] [stdout] 204 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 205 | format: gen.format.clone(), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 494 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ticks(gen.generate(&dt, &dt, &mk_span(1000.0)), vec![]) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:206:26 [INFO] [stdout] | [INFO] [stdout] 204 | Self { [INFO] [stdout] | ---- while parsing this struct [INFO] [stdout] 205 | format: gen.format.clone(), [INFO] [stdout] 206 | all_periods: gen.periods.clone(), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 501 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | assert_ticks(gen.generate(&first, &last, &mk_span(10.0)), vec![]); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let gen = Timestamps::from_periods([]); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 509 | let r#gen = Timestamps::from_periods([]); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ticks(gen.generate(&first, &last, &mk_span(1000.0)), vec![]); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 431 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:436:13 [INFO] [stdout] | [INFO] [stdout] 436 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 4.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:442:13 [INFO] [stdout] | [INFO] [stdout] 442 | gen.generate(&first, &last, &mk_span((4.0 * 6.0 + 4.0) * 14.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:466:13 [INFO] [stdout] | [INFO] [stdout] 466 | gen.generate(&first, &last, &mk_span(1000000.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | gen.generate(&first, &last, &mk_span((5.0 * 6.0 + 4.0) * 3.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 480 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:484:13 [INFO] [stdout] | [INFO] [stdout] 484 | gen.generate(&first, &last, &mk_span(1000.0)), [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 494 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:496:22 [INFO] [stdout] | [INFO] [stdout] 496 | assert_ticks(gen.generate(&dt, &dt, &mk_span(1000.0)), vec![]) [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:501:13 [INFO] [stdout] | [INFO] [stdout] 501 | let gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 501 | let r#gen = Timestamps::from_periods(Period::all()); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:504:22 [INFO] [stdout] | [INFO] [stdout] 504 | assert_ticks(gen.generate(&first, &last, &mk_span(10.0)), vec![]); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:509:13 [INFO] [stdout] | [INFO] [stdout] 509 | let gen = Timestamps::from_periods([]); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 509 | let r#gen = Timestamps::from_periods([]); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/ticks/gen/timestamps.rs:512:22 [INFO] [stdout] | [INFO] [stdout] 512 | assert_ticks(gen.generate(&first, &last, &mk_span(1000.0)), vec![]); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/colours/scheme.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | {move || scheme.get().stops(range_y.get().unwrap_or_default())} [INFO] [stdout] | ------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/colours/scheme.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | {move || scheme.get().stops(range_y.get().unwrap_or_default())} [INFO] [stdout] | ------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | returns a value referencing data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-chartistry` (lib) due to 27 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos-chartistry` (lib test) due to 27 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" "9da40d4042f21784e926682dce8ee00aa398abc407148d5c157b489e87132c87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9da40d4042f21784e926682dce8ee00aa398abc407148d5c157b489e87132c87", kill_on_drop: false }` [INFO] [stdout] 9da40d4042f21784e926682dce8ee00aa398abc407148d5c157b489e87132c87