[INFO] cloning repository https://github.com/DerLando/recoded [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DerLando/recoded" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerLando%2Frecoded", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerLando%2Frecoded'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0861c21a284a860b43f1ff94e632249c206f3a7 [INFO] checking DerLando/recoded/a0861c21a284a860b43f1ff94e632249c206f3a7 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDerLando%2Frecoded" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DerLando/recoded on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DerLando/recoded [INFO] finished tweaking git repo https://github.com/DerLando/recoded [INFO] tweaked toml for git repo https://github.com/DerLando/recoded written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/DerLando/recoded 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" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 067c3a438dfc1f740e64904ff6f1dc668e54c9c2eccce34f97757c2f8f654a1d [INFO] running `Command { std: "docker" "start" "-a" "067c3a438dfc1f740e64904ff6f1dc668e54c9c2eccce34f97757c2f8f654a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "067c3a438dfc1f740e64904ff6f1dc668e54c9c2eccce34f97757c2f8f654a1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "067c3a438dfc1f740e64904ff6f1dc668e54c9c2eccce34f97757c2f8f654a1d", kill_on_drop: false }` [INFO] [stdout] 067c3a438dfc1f740e64904ff6f1dc668e54c9c2eccce34f97757c2f8f654a1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f045bd58b11a4f6072b54d28fe83f39c72d9f16e433c9fa071c1af0f0b11a5f [INFO] running `Command { std: "docker" "start" "-a" "3f045bd58b11a4f6072b54d28fe83f39c72d9f16e433c9fa071c1af0f0b11a5f", 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.79 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking libloading v0.8.3 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking concurrent-queue v2.4.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling quick-xml v0.31.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking strict-num v0.1.1 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Compiling wayland-scanner v0.31.1 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Compiling wayland-backend v0.3.3 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking event-listener-strategy v0.5.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking async-task v4.7.0 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking owned_ttf_parser v0.20.0 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking ab_glyph v0.2.25 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking async-channel v2.2.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling xml-rs v0.8.20 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking xdg-home v1.1.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.5 [INFO] [stderr] Checking xkeysym v0.2.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling bytemuck_derive v1.6.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling enumflags2_derive v0.7.9 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking bytemuck v1.15.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling enumn v0.1.12 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking blocking v1.5.1 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking x11rb-protocol v0.13.0 [INFO] [stderr] Checking as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking rustls-pki-types v1.4.1 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking raw-window-handle v0.5.2 [INFO] [stderr] Compiling pathfinder_simd v0.5.3 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Checking smol_str v0.2.1 [INFO] [stderr] Compiling rustls v0.22.3 [INFO] [stderr] Checking raw-window-handle v0.6.0 [INFO] [stderr] Checking rctree v0.5.0 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking wasm-bindgen v0.2.92 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Compiling litrs v0.4.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking imagesize v0.12.0 [INFO] [stderr] Checking roxmltree v0.19.0 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Checking data-url v0.3.1 [INFO] [stderr] Compiling document-features v0.2.8 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking enumflags2 v0.7.9 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking async-executor v1.10.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking accesskit v0.12.1 [INFO] [stderr] Checking kurbo v0.9.5 [INFO] [stderr] Checking ecolor v0.26.2 [INFO] [stderr] Checking emath v0.26.2 [INFO] [stderr] Checking epaint v0.26.2 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Checking svgtypes v0.13.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking usvg-tree v0.37.0 [INFO] [stderr] Checking rustls-webpki v0.102.2 [INFO] [stderr] Checking usvg-parser v0.37.0 [INFO] [stderr] Checking unic-ucd-bidi v0.9.0 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking egui v0.26.2 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking usvg v0.37.0 [INFO] [stderr] Checking webbrowser v0.8.15 [INFO] [stderr] Checking unic-bidi v0.9.0 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking web-sys v0.3.69 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking polling v3.6.0 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking wayland-client v0.31.2 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking ureq v2.9.6 [INFO] [stderr] Checking rgb v0.8.37 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking web-time v0.2.4 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking glow v0.13.1 [INFO] [stderr] Checking ehttp v0.4.0 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking x11rb v0.13.0 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking wayland-cursor v0.31.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking resvg v0.37.0 [INFO] [stderr] Checking piet v0.6.2 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking rustybuzz v0.4.0 [INFO] [stderr] Checking directories-next v2.0.0 [INFO] [stderr] Checking tiny-fn v0.1.6 [INFO] [stderr] Checking svg v0.10.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking arboard v3.3.2 [INFO] [stderr] Checking egui_glow v0.26.2 [INFO] [stderr] Checking egui-snarl v0.3.0 [INFO] [stderr] Checking egui_extras v0.26.2 [INFO] [stderr] Checking piet-svg v0.6.2 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking sctk-adwaita v0.8.1 [INFO] [stderr] Checking smithay-clipboard v0.7.1 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.26.2 [INFO] [stderr] Checking eframe v0.26.2 [INFO] [stderr] Checking recoded 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 `recoded` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/shapes.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] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/viewer.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | nodes::Nodes::ConstantValueNode(ref mut node) => node.show_output(ui), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: ambiguous `+` in a type [INFO] [stderr] --> src/shapes.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_shape(&self) -> &(impl piet::kurbo::Shape + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl piet::kurbo::Shape` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/main.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_shapes(input: &GraphInputs) -> Vec { [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/main.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_shapes(input: &GraphInputs) -> Vec { [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] 94 | fn generate_shapes(input: &GraphInputs) -> Vec> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl piet::kurbo::Shape` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/shapes.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape { [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/shapes.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape { [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] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `recoded` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/shapes.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: ambiguous `+` in a type [INFO] [stderr] --> src/shapes.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape + use<> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: try adding parentheses [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_shape(&self) -> &(impl piet::kurbo::Shape + use<>) { [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] error: aborting due to 1 previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/viewer.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | nodes::Nodes::ConstantValueNode(ref mut node) => node.show_output(ui), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see 123076 [INFO] [stdout] = note: `--force-warn rust-2024-incompatible-pat` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl piet::kurbo::Shape` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/main.rs:94:48 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_shapes(input: &GraphInputs) -> Vec { [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/main.rs:94:27 [INFO] [stdout] | [INFO] [stdout] 94 | fn generate_shapes(input: &GraphInputs) -> Vec { [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] 94 | fn generate_shapes(input: &GraphInputs) -> Vec> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl piet::kurbo::Shape` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/shapes.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape { [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/shapes.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape { [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] 13 | pub fn get_shape(&self) -> &impl piet::kurbo::Shape + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 42.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: svg v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking recoded v0.1.0 (/tmp/fixit) [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/viewer.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | nodes::Nodes::ConstantValueNode(ref mut node) => node.show_output(ui), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: patterns are not allowed to reset the default binding mode in edition 2024 [INFO] [stdout] --> src/viewer.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | nodes::Nodes::ConstantValueNode(ref mut node) => node.show_output(ui), [INFO] [stdout] | -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: desugar the match ergonomics: `&mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `recoded` (bin "recoded") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `recoded` (bin "recoded" test) due to 1 previous error [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" "3f045bd58b11a4f6072b54d28fe83f39c72d9f16e433c9fa071c1af0f0b11a5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f045bd58b11a4f6072b54d28fe83f39c72d9f16e433c9fa071c1af0f0b11a5f", kill_on_drop: false }` [INFO] [stdout] 3f045bd58b11a4f6072b54d28fe83f39c72d9f16e433c9fa071c1af0f0b11a5f