[INFO] cloning repository https://github.com/BajlandoKG/kzkzk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BajlandoKG/kzkzk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBajlandoKG%2Fkzkzk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBajlandoKG%2Fkzkzk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23e229eb1ba649697af0c9895001cb161e3d4d04 [INFO] checking BajlandoKG/kzkzk/23e229eb1ba649697af0c9895001cb161e3d4d04 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBajlandoKG%2Fkzkzk" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BajlandoKG/kzkzk 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 git repo https://github.com/BajlandoKG/kzkzk [INFO] finished tweaking git repo https://github.com/BajlandoKG/kzkzk [INFO] tweaked toml for git repo https://github.com/BajlandoKG/kzkzk written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BajlandoKG/kzkzk 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 478d409081d8e71c6d8b66c185a058f22a4ca1d9cf9840f2591e5dcf70041696 [INFO] running `Command { std: "docker" "start" "-a" "478d409081d8e71c6d8b66c185a058f22a4ca1d9cf9840f2591e5dcf70041696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "478d409081d8e71c6d8b66c185a058f22a4ca1d9cf9840f2591e5dcf70041696", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "478d409081d8e71c6d8b66c185a058f22a4ca1d9cf9840f2591e5dcf70041696", kill_on_drop: false }` [INFO] [stdout] 478d409081d8e71c6d8b66c185a058f22a4ca1d9cf9840f2591e5dcf70041696 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] cdcaad61d2f6e3cbe55ec9845605edfc88ce8507093cf27431be742fb5a6ce82 [INFO] running `Command { std: "docker" "start" "-a" "cdcaad61d2f6e3cbe55ec9845605edfc88ce8507093cf27431be742fb5a6ce82", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking libflate v0.1.27 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking slog-scope v4.3.0 [INFO] [stderr] Checking slog-async v2.3.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking slog-stdlog v3.0.5 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking ropey v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking whoami v0.8.1 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking daemonize v0.4.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking term v0.6.1 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Compiling trackable_derive v0.1.2 [INFO] [stderr] Checking slog-term v2.4.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking trackable v0.2.23 [INFO] [stderr] Checking slog-kvfilter v0.7.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking sloggers v0.3.5 [INFO] [stderr] Checking lsp-types v0.73.0 [INFO] [stderr] Checking jsonrpc-core v14.1.0 [INFO] [stderr] Checking kak-lsp v8.0.0-snapshot (/opt/rustwide/workdir) [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/language_server_transport.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LanguageServerTransport { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub errors: Worker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/context.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 51 | lang_srv_tx: Sender, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | editor_tx: Sender, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | batches: HashMap::default(), [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/context.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 51 | lang_srv_tx: Sender, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | editor_tx: Sender, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | documents: HashMap::default(), [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/context.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|val| serde_json::from_value(val).expect("Failed to parse response")) [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/editor_transport.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 23 | let (sender, receiver) = bounded(channel_capacity); [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] 53 | let from_editor = receiver; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | let to_editor = Worker::spawn( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(EditorTransport { [INFO] [stdout] | ________^ [INFO] [stdout] 101 | | from_editor, [INFO] [stdout] 102 | | to_editor, [INFO] [stdout] 103 | | }) [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/language_features/goto.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(path, locations)| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let path_str = path.to_str().unwrap(); [INFO] [stdout] 65 | let contents = match get_file_contents(path_str, ctx) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Some(contents) => contents, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / locations [INFO] [stdout] 70 | | .map(|Location { range, .. }| { [INFO] [stdout] 71 | | let stripped = path.strip_prefix(&ctx.root_path).unwrap_or(&path); [INFO] [stdout] 72 | | let pos = lsp_range_to_kakoune(&range, &contents, &ctx.offset_encoding).start; [INFO] [stdout] ... | [INFO] [stdout] 82 | | ) [INFO] [stdout] 83 | | }) [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/language_features/rust_analyzer.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, PartialEq, Eq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/language_server_transport.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 22 | let mut child = Command::new(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let writer = BufWriter::new(child.stdin.take().expect("Failed to open stdin")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | move |receiver, _| { [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] 86 | match child.try_wait() { [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/text_edit.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 22 | let path = std::ffi::CString::new(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let text = Rope::from_reader(BufReader::new(file))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | let temp_file = File::create(&temp_path)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | / apply_text_edits_to_file_impl(text, temp_file, text_edits, offset_encoding) [INFO] [stdout] 99 | | .and_then(|_| std::fs::rename(&temp_path, filename)) [INFO] [stdout] 100 | | .and_then(|_| { [INFO] [stdout] 101 | | Ok(unsafe { [INFO] [stdout] 102 | | libc::chmod(path.as_ptr(), stat.st_mode); [INFO] [stdout] 103 | | }) [INFO] [stdout] 104 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: panic message is not a string literal [INFO] [stdout] --> src/thread_worker.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box` [INFO] [stdout] | [INFO] [stdout] 29 | panic!("{:?}", e) [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 29 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [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/thread_worker.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn spawn(name: &'static str, f: impl FnOnce() + Send + 'static) -> ScopedThread { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let inner = thread::Builder::new().name(name.into()).spawn(f).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | ScopedThread { inner: Some(inner) } [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/types.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/util.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | .and_then(|doc| Some(doc.text.clone())) [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/util.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | .and_then(|f| Rope::from_reader(BufReader::new(f)).ok()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kak-lsp` (bin "kak-lsp") due to 13 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/language_server_transport.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct LanguageServerTransport { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub errors: Worker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/context.rs:60:22 [INFO] [stdout] | [INFO] [stdout] 51 | lang_srv_tx: Sender, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | editor_tx: Sender, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 60 | batches: HashMap::default(), [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/context.rs:72:24 [INFO] [stdout] | [INFO] [stdout] 51 | lang_srv_tx: Sender, [INFO] [stdout] | ---------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | editor_tx: Sender, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | documents: HashMap::default(), [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/context.rs:118:32 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|val| serde_json::from_value(val).expect("Failed to parse response")) [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/editor_transport.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 23 | let (sender, receiver) = bounded(channel_capacity); [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] 53 | let from_editor = receiver; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | [INFO] [stdout] 55 | let to_editor = Worker::spawn( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 100 | Ok(EditorTransport { [INFO] [stdout] | ________^ [INFO] [stdout] 101 | | from_editor, [INFO] [stdout] 102 | | to_editor, [INFO] [stdout] 103 | | }) [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/language_features/goto.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 63 | .map(|(path, locations)| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 64 | let path_str = path.to_str().unwrap(); [INFO] [stdout] 65 | let contents = match get_file_contents(path_str, ctx) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | Some(contents) => contents, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | / locations [INFO] [stdout] 70 | | .map(|Location { range, .. }| { [INFO] [stdout] 71 | | let stripped = path.strip_prefix(&ctx.root_path).unwrap_or(&path); [INFO] [stdout] 72 | | let pos = lsp_range_to_kakoune(&range, &contents, &ctx.offset_encoding).start; [INFO] [stdout] ... | [INFO] [stdout] 82 | | ) [INFO] [stdout] 83 | | }) [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/language_features/rust_analyzer.rs:30:32 [INFO] [stdout] | [INFO] [stdout] 30 | #[derive(Debug, PartialEq, Eq, Deserialize, Serialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/language_server_transport.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 22 | let mut child = Command::new(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 30 | let writer = BufWriter::new(child.stdin.take().expect("Failed to open stdin")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | move |receiver, _| { [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] 86 | match child.try_wait() { [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/text_edit.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 22 | let path = std::ffi::CString::new(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | let text = Rope::from_reader(BufReader::new(file))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | [INFO] [stdout] 38 | let temp_file = File::create(&temp_path)?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | / apply_text_edits_to_file_impl(text, temp_file, text_edits, offset_encoding) [INFO] [stdout] 99 | | .and_then(|_| std::fs::rename(&temp_path, filename)) [INFO] [stdout] 100 | | .and_then(|_| { [INFO] [stdout] 101 | | Ok(unsafe { [INFO] [stdout] 102 | | libc::chmod(path.as_ptr(), stat.st_mode); [INFO] [stdout] 103 | | }) [INFO] [stdout] 104 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |__________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: panic message is not a string literal [INFO] [stdout] --> src/thread_worker.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | panic!(e) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Box` [INFO] [stdout] | [INFO] [stdout] 29 | panic!("{:?}", e) [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 29 | std::panic::panic_any(e) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [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/thread_worker.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn spawn(name: &'static str, f: impl FnOnce() + Send + 'static) -> ScopedThread { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 37 | let inner = thread::Builder::new().name(name.into()).spawn(f).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | ScopedThread { inner: Some(inner) } [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/types.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 201 | #[derive(Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (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/util.rs:203:30 [INFO] [stdout] | [INFO] [stdout] 203 | .and_then(|doc| Some(doc.text.clone())) [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/util.rs:207:31 [INFO] [stdout] | [INFO] [stdout] 207 | .and_then(|f| Rope::from_reader(BufReader::new(f)).ok()) [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 12 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kak-lsp` (bin "kak-lsp" test) due to 13 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cdcaad61d2f6e3cbe55ec9845605edfc88ce8507093cf27431be742fb5a6ce82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdcaad61d2f6e3cbe55ec9845605edfc88ce8507093cf27431be742fb5a6ce82", kill_on_drop: false }` [INFO] [stdout] cdcaad61d2f6e3cbe55ec9845605edfc88ce8507093cf27431be742fb5a6ce82