[INFO] cloning repository https://github.com/0x727/ObserverWard_0x727 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0x727/ObserverWard_0x727" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x727%2FObserverWard_0x727", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x727%2FObserverWard_0x727'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86161fec82d0806b65405e5d67e9fdf39e3f28db [INFO] checking 0x727/ObserverWard_0x727/86161fec82d0806b65405e5d67e9fdf39e3f28db against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0x727%2FObserverWard_0x727" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0x727/ObserverWard_0x727 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] removed /workspace/builds/worker-7-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/0x727/ObserverWard_0x727 [INFO] finished tweaking git repo https://github.com/0x727/ObserverWard_0x727 [INFO] tweaked toml for git repo https://github.com/0x727/ObserverWard_0x727 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/0x727/ObserverWard_0x727 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6aa65b6bfce3c3fe2896483d969d924584ff78dcce837a6058d395b700d8ed26 [INFO] running `Command { std: "docker" "start" "-a" "6aa65b6bfce3c3fe2896483d969d924584ff78dcce837a6058d395b700d8ed26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aa65b6bfce3c3fe2896483d969d924584ff78dcce837a6058d395b700d8ed26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aa65b6bfce3c3fe2896483d969d924584ff78dcce837a6058d395b700d8ed26", kill_on_drop: false }` [INFO] [stdout] 6aa65b6bfce3c3fe2896483d969d924584ff78dcce837a6058d395b700d8ed26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] c767ec4206cbe982b5bc312538abca715ec65127c7bc78961762a47e0ea0f034 [INFO] running `Command { std: "docker" "start" "-a" "c767ec4206cbe982b5bc312538abca715ec65127c7bc78961762a47e0ea0f034", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating engine/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Migrating observer_ward/Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tokio v1.38.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling tokio-openssl v0.6.4 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking actix-server v2.4.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling zip v2.2.0 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking fancy-regex v0.13.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking lockfree-object-pool v0.1.6 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Checking tl v0.7.8 [INFO] [stderr] Checking bumpalo v3.16.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking zopfli v0.8.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling observer_ward v0.1.0 (/tmp/fixit/observer_ward) [INFO] [stderr] Migrating observer_ward/src/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking http-serde v2.1.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking actix-router v0.5.3 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking jsonpath-rust v0.7.0 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking actix-tls v3.4.0 [INFO] [stderr] Checking slinger v0.1.9 [INFO] [stderr] Checking actix-http v3.8.0 [INFO] [stderr] Checking engine v0.1.0 (/tmp/fixit/engine) [INFO] [stderr] Migrating engine/src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stdout] error: mismatched closing delimiter: `)` [INFO] [stdout] --> engine/src/common/http.rs:37:30 [INFO] [stdout] | [INFO] [stdout] 37 | || match resp.body() { Some(b) => { [INFO] [stdout] | ^ unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 41 | })} [INFO] [stdout] | ^ mismatched closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected closing delimiter: `}` [INFO] [stdout] --> engine/src/common/http.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 41 | })} [INFO] [stdout] | - missing open `(` for this delimiter [INFO] [stdout] ... [INFO] [stdout] 88 | } [INFO] [stdout] | ^ unexpected closing delimiter [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `engine` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `engine` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * engine/src/common/http.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: mismatched closing delimiter: `)` [INFO] [stderr] --> engine/src/common/http.rs:37:30 [INFO] [stderr] | [INFO] [stderr] 37 | || match resp.body() { Some(b) => { [INFO] [stderr] | ^ unclosed delimiter [INFO] [stderr] ... [INFO] [stderr] 41 | })} [INFO] [stderr] | ^ mismatched closing delimiter [INFO] [stderr] [INFO] [stderr] error: unexpected closing delimiter: `}` [INFO] [stderr] --> engine/src/common/http.rs:88:1 [INFO] [stderr] | [INFO] [stderr] 41 | })} [INFO] [stderr] | - missing open `(` for this delimiter [INFO] [stderr] ... [INFO] [stderr] 88 | } [INFO] [stderr] | ^ unexpected closing delimiter [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/common/html.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | if let Some(selector) = dom.query_selector(m) { [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] --> engine/src/common/html.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 17 ~ match dom.query_selector(m) { Some(selector) => { [INFO] [stdout] 18 | for title in selector { [INFO] [stdout] ... [INFO] [stdout] 33 | } [INFO] [stdout] 34 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/common/http.rs:37:16 [INFO] [stdout] | [INFO] [stdout] 37 | || (if let Some(b) = resp.body() { [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] --> engine/src/common/http.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | } 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] 37 ~ || match resp.body() { Some(b) => { [INFO] [stdout] 38 | !is_image(resp.headers(), b) [INFO] [stdout] 39 ~ } _ => { [INFO] [stdout] 40 | true [INFO] [stdout] 41 ~ })} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/common/http.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | return if let Some(b) = resp.body() { [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] --> engine/src/common/http.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | } 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] 45 ~ return match resp.body() { Some(b) => { [INFO] [stdout] 46 | let hash = favicon_hash(b); [INFO] [stdout] 47 | Some(hash) [INFO] [stdout] 48 ~ } _ => { [INFO] [stdout] 49 | None [INFO] [stdout] 50 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/common/http.rs:133:16 [INFO] [stdout] | [INFO] [stdout] 133 | let dom = if let Ok(dom) = tl::parse(&text, tl::ParserOptions::default()) { [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] --> engine/src/common/http.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | } 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] 133 ~ let dom = match tl::parse(&text, tl::ParserOptions::default()) { Ok(dom) => { [INFO] [stdout] 134 | dom [INFO] [stdout] 135 ~ } _ => { [INFO] [stdout] 136 | return HashSet::new(); [INFO] [stdout] 137 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/common/http.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(favicon_url) = join(base_url, "/favicon.ico") { [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] --> engine/src/common/http.rs:160:5 [INFO] [stdout] | [INFO] [stdout] 160 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 158 ~ match join(base_url, "/favicon.ico") { Some(favicon_url) => { [INFO] [stdout] 159 | icon_links.insert(favicon_url.to_string()); [INFO] [stdout] 160 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/extractors/mod.rs:54:19 [INFO] [stdout] | [INFO] [stdout] 54 | let json = if let Ok(x) = serde_json::from_str(&corpus) { [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] --> engine/src/extractors/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 54 ~ let json = match serde_json::from_str(&corpus) { Ok(x) => { [INFO] [stdout] 55 | x [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | return (extract_result, BTreeMap::new()); [INFO] [stdout] 58 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/extractors/mod.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | if let Ok(p) = JsonPath::from_str(path) { [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] --> engine/src/extractors/mod.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 60 ~ match JsonPath::from_str(path) { Ok(p) => { [INFO] [stdout] 61 | if let serde_json::Value::Array(array) = p.find(&json) { [INFO] [stdout] ... [INFO] [stdout] 65 | }; [INFO] [stdout] 66 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/info/version.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | if let Some(m) = captures.get(index) { [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] --> engine/src/info/version.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 31 ~ match captures.get(index) { Some(m) => { [INFO] [stdout] 32 | x = x.replace(&value, m.as_str()); [INFO] [stdout] 33 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/matchers/mod.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | let matcher = if let Ok(matcher) = re.captures(&corpus) { [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] --> engine/src/matchers/mod.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | } 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] 109 ~ let matcher = match re.captures(&corpus) { Ok(matcher) => { [INFO] [stdout] 110 | matcher [INFO] [stdout] 111 ~ } _ => { [INFO] [stdout] 112 | continue; [INFO] [stdout] 113 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/operators.rs:40:22 [INFO] [stdout] | [INFO] [stdout] 40 | let words = if let Ok(w) = extractor.part.get_matcher_word_from_part(response) { [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] --> engine/src/operators.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | } 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] 40 ~ let words = match extractor.part.get_matcher_word_from_part(response) { Ok(w) => { [INFO] [stdout] 41 | w [INFO] [stdout] 42 ~ } _ => { [INFO] [stdout] 43 | continue; [INFO] [stdout] 44 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/operators.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | if let Some(er) = result.extract_result.get_mut(&key) { [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] --> engine/src/operators.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | } 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] 54 ~ match result.extract_result.get_mut(&key) { Some(er) => { [INFO] [stdout] 55 | er.extend(extract_result); [INFO] [stdout] 56 ~ } _ => { [INFO] [stdout] 57 | result.extract_result.insert(key.clone(), extract_result); [INFO] [stdout] 58 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/request/mod.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | if let (HttpRaw::Path(sp), HttpRaw::Path(op)) = (&self_http.http_raw, &other_http.http_raw) { [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] --> engine/src/request/mod.rs:92:7 [INFO] [stdout] | [INFO] [stdout] 92 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ match (&self_http.http_raw, &other_http.http_raw) { (HttpRaw::Path(sp), HttpRaw::Path(op)) => { [INFO] [stdout] 89 | if sp == op { [INFO] [stdout] 90 | return true; [INFO] [stdout] 91 | } [INFO] [stdout] 92 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/results.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | if let Some(e) = em.get_mut(k) { [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] --> engine/src/results.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | } 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] 85 ~ match em.get_mut(k) { Some(e) => { [INFO] [stdout] 86 | e.extend(h.iter().map(|x| x.trim().to_string()).collect::>()); [INFO] [stdout] 87 ~ } _ => { [INFO] [stdout] 88 | em.insert( [INFO] [stdout] ... [INFO] [stdout] 93 | ); [INFO] [stdout] 94 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/template/mod.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | while let Some(index) = request [INFO] [stdout] | ______________^ - [INFO] [stdout] | | _______________________________| [INFO] [stdout] 93 | || .operators [INFO] [stdout] 94 | || .matchers [INFO] [stdout] | ||_________________- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 95 | | .iter_mut() [INFO] [stdout] 96 | | .position(|m| matches!(m.matcher_type, MatcherType::Favicon(..))) [INFO] [stdout] | |__________________________________________________________________________^ [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] --> engine/src/template/mod.rs:99:7 [INFO] [stdout] | [INFO] [stdout] 99 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/template/cluster.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | if let Some(fav) = favicon { [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] --> engine/src/template/cluster.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 27 ~ match favicon { Some(fav) => { [INFO] [stdout] 28 | favicon_cops.push(ClusteredOperator::new(fav)); [INFO] [stdout] 29 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> engine/src/template/cluster.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | if let Some(_web) = requests.is_web() { [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] 55 | } else if let Some(tcp) = requests.is_tcp() { [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] --> engine/src/template/cluster.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | } else if let Some(tcp) = requests.is_tcp() { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> engine/src/template/cluster.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 48 ~ match requests.is_web() { Some(_web) => { [INFO] [stdout] 49 | // 如果请求是首页请求就加进去首页分类,否则加入危险分类 [INFO] [stdout] ... [INFO] [stdout] 54 | } [INFO] [stdout] 55 ~ } _ => { match requests.is_tcp() { Some(tcp) => { [INFO] [stdout] 56 | if requests.is_tcp_default() { [INFO] [stdout] ... [INFO] [stdout] 65 | } [INFO] [stdout] 66 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [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" "c767ec4206cbe982b5bc312538abca715ec65127c7bc78961762a47e0ea0f034", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c767ec4206cbe982b5bc312538abca715ec65127c7bc78961762a47e0ea0f034", kill_on_drop: false }` [INFO] [stdout] c767ec4206cbe982b5bc312538abca715ec65127c7bc78961762a47e0ea0f034