[INFO] fetching crate dialtone_yew 0.1.0... [INFO] checking dialtone_yew-0.1.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate dialtone_yew 0.1.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate dialtone_yew 0.1.0 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 dialtone_yew 0.1.0 [INFO] finished tweaking crates.io crate dialtone_yew 0.1.0 [INFO] tweaked toml for crates.io crate dialtone_yew 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate dialtone_yew 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e90dee8b7da9501a5a6095903e00973b5f18dabe32b252e2223d237640703b10 [INFO] running `Command { std: "docker" "start" "-a" "e90dee8b7da9501a5a6095903e00973b5f18dabe32b252e2223d237640703b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e90dee8b7da9501a5a6095903e00973b5f18dabe32b252e2223d237640703b10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90dee8b7da9501a5a6095903e00973b5f18dabe32b252e2223d237640703b10", kill_on_drop: false }` [INFO] [stdout] e90dee8b7da9501a5a6095903e00973b5f18dabe32b252e2223d237640703b10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f58223ec313c8534cc1cc72d3c8c9ca1c0a1c200baf0aa2d7e94da9bcc4f720 [INFO] running `Command { std: "docker" "start" "-a" "4f58223ec313c8534cc1cc72d3c8c9ca1c0a1c200baf0aa2d7e94da9bcc4f720", 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.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.81 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.10.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.81 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking once_cell v1.12.1 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.22 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking const_format v0.2.25 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.81 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Compiling bounce-macros v0.2.0 [INFO] [stderr] Compiling yew-router-macro v0.16.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.81 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.81 [INFO] [stderr] Checking pin-project v1.0.11 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_variant v0.1.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking dialtone_common v0.1.0 [INFO] [stderr] Checking js-sys v0.3.58 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking web-sys v0.3.58 [INFO] [stderr] Checking gloo-timers v0.2.4 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.31 [INFO] [stderr] Checking serde-wasm-bindgen v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.11 [INFO] [stderr] Checking dialtone_reqwest v0.1.0 [INFO] [stderr] Checking gloo-utils v0.1.4 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console v0.2.1 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking gloo-storage v0.2.1 [INFO] [stderr] Checking gloo-net v0.2.3 [INFO] [stderr] Checking gloo-worker v0.1.2 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-history v0.1.0 [INFO] [stderr] Checking gloo v0.4.2 [INFO] [stderr] Checking yew v0.19.3 [INFO] [stderr] Checking gloo v0.7.0 [INFO] [stderr] Checking bounce v0.2.0 [INFO] [stderr] Checking yew-router v0.16.0 [INFO] [stderr] Checking dialtone_yew v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `dialtone_yew` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/components/pages/account/index.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: expected a valid html element [INFO] [stderr] --> src/components/pages/account/index.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | match (*page_state.webuser).clone() { Some(webuser) => { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::components::common::bordered_panel::*` [INFO] [stderr] --> src/components/pages/account/index.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::components::common::bordered_panel::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::components::common::loading::*` [INFO] [stderr] --> src/components/pages/account/index.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::components::common::loading::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::MainRoute` [INFO] [stderr] --> src/components/pages/account/index.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::MainRoute; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/common/dt_status_const_text.rs:52:79 [INFO] [stdout] | [INFO] [stdout] 52 | {props.status.message.clone()} [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] warning: unused import: `common::main_layout::*` [INFO] [stderr] --> src/components/pages/account/index.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | components::{common::main_layout::*, pages::error::handle_error}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/components/common/main_layout.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | if let Some(n) = &sc_atom.0.user_name { [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/components/common/main_layout.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | } 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] 98 ~ match &sc_atom.0.user_name { Some(n) => { [INFO] [stdout] 99 | user_name.set(Some(n.to_string())); [INFO] [stdout] 100 ~ } _ => { [INFO] [stdout] 101 | user_name.set(None); [INFO] [stdout] 102 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/components/pages/account/index.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | if let Some(webuser) = (*page_state.webuser).clone() { [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/components/pages/account/index.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 66 ~ match (*page_state.webuser).clone() { Some(webuser) => { [INFO] [stdout] 67 |
[INFO] [stdout] ... [INFO] [stdout] 96 |
[INFO] [stdout] 97 ~ } _ => { [INFO] [stdout] 98 | [INFO] [stdout] 99 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected a valid html element [INFO] [stdout] --> src/components/pages/account/index.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | match (*page_state.webuser).clone() { Some(webuser) => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::common::bordered_panel::*` [INFO] [stdout] --> src/components/pages/account/index.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::components::common::bordered_panel::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::common::loading::*` [INFO] [stdout] --> src/components/pages/account/index.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::components::common::loading::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::MainRoute` [INFO] [stdout] --> src/components/pages/account/index.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::MainRoute; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::main_layout::*` [INFO] [stdout] --> src/components/pages/account/index.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | components::{common::main_layout::*, pages::error::handle_error}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dialtone_yew` (bin "dialtone_yew") due to 2 previous errors; 4 warnings emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4f58223ec313c8534cc1cc72d3c8c9ca1c0a1c200baf0aa2d7e94da9bcc4f720", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f58223ec313c8534cc1cc72d3c8c9ca1c0a1c200baf0aa2d7e94da9bcc4f720", kill_on_drop: false }` [INFO] [stdout] 4f58223ec313c8534cc1cc72d3c8c9ca1c0a1c200baf0aa2d7e94da9bcc4f720