[INFO] fetching crate shadowsocks-rust 1.20.4... [INFO] checking shadowsocks-rust-1.20.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate shadowsocks-rust 1.20.4 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate shadowsocks-rust 1.20.4 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shadowsocks-rust 1.20.4 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate shadowsocks-rust 1.20.4 [INFO] tweaked toml for crates.io crate shadowsocks-rust 1.20.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate shadowsocks-rust 1.20.4 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5a8bee4f687df952102ed8b412f8055433e5dca7571d4eb9e155bb6dfae492e [INFO] running `Command { std: "docker" "start" "-a" "e5a8bee4f687df952102ed8b412f8055433e5dca7571d4eb9e155bb6dfae492e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5a8bee4f687df952102ed8b412f8055433e5dca7571d4eb9e155bb6dfae492e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a8bee4f687df952102ed8b412f8055433e5dca7571d4eb9e155bb6dfae492e", kill_on_drop: false }` [INFO] [stdout] e5a8bee4f687df952102ed8b412f8055433e5dca7571d4eb9e155bb6dfae492e [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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42812a7d4421856fe96b8dd64e4af4ce754f614ccf813ad09032f518169d1583 [INFO] running `Command { std: "docker" "start" "-a" "42812a7d4421856fe96b8dd64e4af4ce754f614ccf813ad09032f518169d1583", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling cc v1.1.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.124 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking lru_time_cache v0.11.11 [INFO] [stderr] Checking num_threads v0.1.7 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking byte_string v1.0.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking iprange v0.6.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking qrcode v0.14.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling blake3 v1.5.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking rtoolbox v0.0.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking rpassword v7.3.1 [INFO] [stderr] Checking sysexits v0.8.1 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking clap v4.5.15 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking ring-compat v0.8.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking shadowsocks-crypto v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling build-time v0.1.3 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking pest v2.7.11 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking sendfd v0.4.3 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking tokio-tfo v0.3.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hickory-proto v0.24.1 [INFO] [stderr] Checking idna v1.0.2 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hickory-resolver v0.24.1 [INFO] [stderr] Checking shadowsocks v1.20.2 [INFO] [stderr] Checking shadowsocks-service v1.20.4 [INFO] [stderr] Checking shadowsocks-rust v1.20.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vparser/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Err(..) => Err($help.to_owned()), [INFO] [stdout] | ^^^^^^^ matches no values because `std::result::Result` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 38 | value_parser_type!(parse_manager_server_host, ManagerServerHost, "invalid server-host"); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `value_parser_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/local.rs:1050:8 [INFO] [stdout] | [INFO] [stdout] 580 | let (config, _, runtime) = { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 619 | let mut config = match config_path_opt { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 620 | Some(cpath) => match Config::load_from_file(&cpath, ConfigType::Local) { [INFO] [stdout] 621 | Ok(cfg) => cfg, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 655 | let mut sc = ServerConfig::new(svr_addr, password, method); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 681 | if let Some(mut svr_addr) = matches.get_one::("SERVER_URL").cloned() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 889 | let acl = match AccessControl::load_from_file(acl_file) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 890 | Ok(acl) => acl, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 891 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 970 | if let Err(err) = crate::sys::run_as_user(uname) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 978 | let mut builder = match service_config.runtime.mode { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 982 | let mut builder = Builder::new_multi_thread(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 991 | let runtime = builder.enable_all().build().expect("create tokio Runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 996 | let main_fut = async move { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | Ok((runtime, main_fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/manager.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 271 | let (config, runtime) = { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | let mut config = match config_path_opt { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | Some(cpath) => match Config::load_from_file(&cpath, ConfigType::Manager) { [INFO] [stdout] 312 | Ok(cfg) => cfg, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | let acl = match AccessControl::load_from_file(acl_file) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | Ok(acl) => acl, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 426 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 494 | if let Err(err) = crate::sys::run_as_user(uname) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 502 | let mut builder = match service_config.runtime.mode { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 506 | let mut builder = Builder::new_multi_thread(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 515 | let runtime = builder.enable_all().build().expect("create tokio Runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | let main_fut = async move { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | Ok((runtime, main_fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/manager.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 271 | let (config, runtime) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 521 | let abort_signal = monitor::create_signal_monitor(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | let server = run_manager(config); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 523 | [INFO] [stdout] 524 | tokio::pin!(abort_signal); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | tokio::pin!(server); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | [INFO] [stdout] 527 | match future::select(server, abort_signal).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/server.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 283 | let (config, runtime) = { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let mut config = match config_path_opt { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | Some(cpath) => match Config::load_from_file(&cpath, ConfigType::Server) { [INFO] [stdout] 324 | Ok(cfg) => cfg, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 358 | let mut sc = ServerConfig::new(svr_addr, password, method); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let acl = match AccessControl::load_from_file(acl_file) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | Ok(acl) => acl, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 514 | if let Err(err) = crate::sys::run_as_user(uname) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | let mut builder = match service_config.runtime.mode { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let mut builder = Builder::new_multi_thread(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 535 | let runtime = builder.enable_all().build().expect("create tokio Runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | let main_fut = async move { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | Ok((runtime, main_fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/server.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 283 | let (config, runtime) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 541 | let abort_signal = monitor::create_signal_monitor(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 542 | let server = run_server(config); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | [INFO] [stdout] 544 | tokio::pin!(abort_signal); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | tokio::pin!(server); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 546 | [INFO] [stdout] 547 | match future::select(server, abort_signal).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/vparser/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | Err(..) => Err($help.to_owned()), [INFO] [stdout] | ^^^^^^^ matches no values because `std::result::Result` is uninhabited [INFO] [stdout] ... [INFO] [stdout] 38 | value_parser_type!(parse_manager_server_host, ManagerServerHost, "invalid server-host"); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `value_parser_type` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/local.rs:1050:8 [INFO] [stdout] | [INFO] [stdout] 580 | let (config, _, runtime) = { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 598 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 619 | let mut config = match config_path_opt { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 620 | Some(cpath) => match Config::load_from_file(&cpath, ConfigType::Local) { [INFO] [stdout] 621 | Ok(cfg) => cfg, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 655 | let mut sc = ServerConfig::new(svr_addr, password, method); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 681 | if let Some(mut svr_addr) = matches.get_one::("SERVER_URL").cloned() { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 889 | let acl = match AccessControl::load_from_file(acl_file) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 890 | Ok(acl) => acl, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 891 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 970 | if let Err(err) = crate::sys::run_as_user(uname) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 978 | let mut builder = match service_config.runtime.mode { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 982 | let mut builder = Builder::new_multi_thread(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 991 | let runtime = builder.enable_all().build().expect("create tokio Runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 996 | let main_fut = async move { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1050 | Ok((runtime, main_fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/manager.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 271 | let (config, runtime) = { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 289 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 310 | let mut config = match config_path_opt { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 311 | Some(cpath) => match Config::load_from_file(&cpath, ConfigType::Manager) { [INFO] [stdout] 312 | Ok(cfg) => cfg, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 424 | let acl = match AccessControl::load_from_file(acl_file) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 425 | Ok(acl) => acl, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 426 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 494 | if let Err(err) = crate::sys::run_as_user(uname) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 502 | let mut builder = match service_config.runtime.mode { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 506 | let mut builder = Builder::new_multi_thread(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 515 | let runtime = builder.enable_all().build().expect("create tokio Runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 520 | let main_fut = async move { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 543 | Ok((runtime, main_fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/manager.rs:527:15 [INFO] [stdout] | [INFO] [stdout] 271 | let (config, runtime) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 521 | let abort_signal = monitor::create_signal_monitor(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 522 | let server = run_manager(config); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 523 | [INFO] [stdout] 524 | tokio::pin!(abort_signal); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 525 | tokio::pin!(server); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 526 | [INFO] [stdout] 527 | match future::select(server, abort_signal).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/server.rs:563:8 [INFO] [stdout] | [INFO] [stdout] 283 | let (config, runtime) = { [INFO] [stdout] | ------ ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 301 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 322 | let mut config = match config_path_opt { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 323 | Some(cpath) => match Config::load_from_file(&cpath, ConfigType::Server) { [INFO] [stdout] 324 | Ok(cfg) => cfg, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 358 | let mut sc = ServerConfig::new(svr_addr, password, method); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 443 | let acl = match AccessControl::load_from_file(acl_file) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | Ok(acl) => acl, [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 514 | if let Err(err) = crate::sys::run_as_user(uname) { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | let mut builder = match service_config.runtime.mode { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 526 | let mut builder = Builder::new_multi_thread(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 535 | let runtime = builder.enable_all().build().expect("create tokio Runtime"); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 540 | let main_fut = async move { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 563 | Ok((runtime, main_fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/service/server.rs:547:15 [INFO] [stdout] | [INFO] [stdout] 283 | let (config, runtime) = { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 541 | let abort_signal = monitor::create_signal_monitor(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 542 | let server = run_server(config); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 543 | [INFO] [stdout] 544 | tokio::pin!(abort_signal); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 545 | tokio::pin!(server); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 546 | [INFO] [stdout] 547 | match future::select(server, abort_signal).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shadowsocks-rust` (lib test) due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `shadowsocks-rust` (lib) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "42812a7d4421856fe96b8dd64e4af4ce754f614ccf813ad09032f518169d1583", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42812a7d4421856fe96b8dd64e4af4ce754f614ccf813ad09032f518169d1583", kill_on_drop: false }` [INFO] [stdout] 42812a7d4421856fe96b8dd64e4af4ce754f614ccf813ad09032f518169d1583