[INFO] cloning repository https://github.com/AndrewBrownK/krusty-kache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndrewBrownK/krusty-kache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewBrownK%2Fkrusty-kache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndrewBrownK%2Fkrusty-kache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0a0d9b087ea2d299089044942f086ef1093022b8 [INFO] checking AndrewBrownK/krusty-kache/0a0d9b087ea2d299089044942f086ef1093022b8 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%2FAndrewBrownK%2Fkrusty-kache" "/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/AndrewBrownK/krusty-kache 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/AndrewBrownK/krusty-kache [INFO] finished tweaking git repo https://github.com/AndrewBrownK/krusty-kache [INFO] tweaked toml for git repo https://github.com/AndrewBrownK/krusty-kache written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AndrewBrownK/krusty-kache 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 56d3a5731731ffa05aa1533494bbe8afd14f03e9de6dd666a76f67f4c78653cd [INFO] running `Command { std: "docker" "start" "-a" "56d3a5731731ffa05aa1533494bbe8afd14f03e9de6dd666a76f67f4c78653cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "56d3a5731731ffa05aa1533494bbe8afd14f03e9de6dd666a76f67f4c78653cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56d3a5731731ffa05aa1533494bbe8afd14f03e9de6dd666a76f67f4c78653cd", kill_on_drop: false }` [INFO] [stdout] 56d3a5731731ffa05aa1533494bbe8afd14f03e9de6dd666a76f67f4c78653cd [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 -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] 590e9d4508eb54b871ab1eeafb96cddee1e47841f0d080d251fdd66833c77c05 [INFO] running `Command { std: "docker" "start" "-a" "590e9d4508eb54b871ab1eeafb96cddee1e47841f0d080d251fdd66833c77c05", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking smallvec v1.5.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking hashbag v0.1.3 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking evmap v10.0.2 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Checking krusty-kache v1.0.1 (/opt/rustwide/workdir) [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/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 16 | let (rh, wh) = evmap::new(); [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] 19 | let read_handle_factory = rh.factory(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let write_handle_post = Arc::new(Mutex::new(wh)); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let write_handle_put = write_handle_post.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let write_handle_delete = write_handle_post.clone(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let mut routes = Router::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | match Iron::new(routes).http("localhost:3000") { [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/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 44 | fn use_key<'a>(f: impl Fn(String) -> Response + Sync + Send + 'a) -> Box { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | use_key_and_value(move |k, _| f(k)) [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/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 49 | fn use_key_and_value<'a>(f: impl Fn(String, String) -> Response + Sync + Send + 'a) -> Box { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Box::new(move |req: &mut Request| { [INFO] [stdout] | ______________^ [INFO] [stdout] 51 | | let key = req [INFO] [stdout] 52 | | .extensions.get::() [INFO] [stdout] 53 | | .and_then(|it| { it.find("key")}); [INFO] [stdout] ... | [INFO] [stdout] 70 | | Ok(f(key, body)) [INFO] [stdout] 71 | | }) [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/main.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn use_key_and_value<'a>(f: impl Fn(String, String) -> Response + Sync + Send + 'a) -> Box { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(f(key, body)) [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/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 75 | fn create_put_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | use_key_and_value(move |key, value| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 77 | | match write_handle.lock() { [INFO] [stdout] 78 | | Ok(mut write_handle) => { [INFO] [stdout] 79 | | write_handle.update(key, value); [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [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/main.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 75 | fn create_put_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | use_key_and_value(move |key, value| { [INFO] [stdout] 77 | match write_handle.lock() { [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/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn create_delete_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | use_key(move |key| { [INFO] [stdout] | _____________^ [INFO] [stdout] 94 | | match write_handle.lock() { [INFO] [stdout] 95 | | Ok(mut write_handle) => { [INFO] [stdout] 96 | | write_handle.empty(key); [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [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/main.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 92 | fn create_delete_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | use_key(move |key| { [INFO] [stdout] 94 | match write_handle.lock() { [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/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn create_get_handler(read_handle_factory: ReadHandleFactory) -> Box { [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let read_handle = ThreadLocal::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | use_key(move |key| { [INFO] [stdout] | _____________^ [INFO] [stdout] 120 | | let read_handle = read_handle.get_or(|| read_handle_factory.handle()); [INFO] [stdout] 121 | | match read_handle.get_one(&key) { [INFO] [stdout] 122 | | None => Response::with(status::NoContent), [INFO] [stdout] 123 | | Some(value) => Response::with((status::Ok, (*value).as_str())) [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | }) [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/main.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 112 | fn create_get_handler(read_handle_factory: ReadHandleFactory) -> Box { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let read_handle = ThreadLocal::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | match read_handle.get_one(&key) { [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: aborting due to 10 previous errors [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/main.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 16 | let (rh, wh) = evmap::new(); [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] 19 | let read_handle_factory = rh.factory(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 22 | let write_handle_post = Arc::new(Mutex::new(wh)); [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let write_handle_put = write_handle_post.clone(); [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | let write_handle_delete = write_handle_post.clone(); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | let mut routes = Router::new(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | match Iron::new(routes).http("localhost:3000") { [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] [stderr] error: could not compile `krusty-kache` (bin "krusty-kache" test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 44 | fn use_key<'a>(f: impl Fn(String) -> Response + Sync + Send + 'a) -> Box { [INFO] [stdout] | ------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 45 | use_key_and_value(move |k, _| f(k)) [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/main.rs:50:14 [INFO] [stdout] | [INFO] [stdout] 49 | fn use_key_and_value<'a>(f: impl Fn(String, String) -> Response + Sync + Send + 'a) -> Box { [INFO] [stdout] | --------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 50 | Box::new(move |req: &mut Request| { [INFO] [stdout] | ______________^ [INFO] [stdout] 51 | | let key = req [INFO] [stdout] 52 | | .extensions.get::() [INFO] [stdout] 53 | | .and_then(|it| { it.find("key")}); [INFO] [stdout] ... | [INFO] [stdout] 70 | | Ok(f(key, body)) [INFO] [stdout] 71 | | }) [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/main.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 49 | fn use_key_and_value<'a>(f: impl Fn(String, String) -> Response + Sync + Send + 'a) -> Box { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | Ok(f(key, body)) [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/main.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 75 | fn create_put_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | use_key_and_value(move |key, value| { [INFO] [stdout] | _______________________^ [INFO] [stdout] 77 | | match write_handle.lock() { [INFO] [stdout] 78 | | Ok(mut write_handle) => { [INFO] [stdout] 79 | | write_handle.update(key, value); [INFO] [stdout] ... | [INFO] [stdout] 87 | | } [INFO] [stdout] 88 | | }) [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/main.rs:77:15 [INFO] [stdout] | [INFO] [stdout] 75 | fn create_put_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 76 | use_key_and_value(move |key, value| { [INFO] [stdout] 77 | match write_handle.lock() { [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/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 92 | fn create_delete_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ----------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | use_key(move |key| { [INFO] [stdout] | _____________^ [INFO] [stdout] 94 | | match write_handle.lock() { [INFO] [stdout] 95 | | Ok(mut write_handle) => { [INFO] [stdout] 96 | | write_handle.empty(key); [INFO] [stdout] ... | [INFO] [stdout] 104 | | } [INFO] [stdout] 105 | | }) [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/main.rs:94:15 [INFO] [stdout] | [INFO] [stdout] 92 | fn create_delete_handler(write_handle: Arc>>) -> Box { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | use_key(move |key| { [INFO] [stdout] 94 | match write_handle.lock() { [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/main.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 112 | fn create_get_handler(read_handle_factory: ReadHandleFactory) -> Box { [INFO] [stdout] | ------------------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let read_handle = ThreadLocal::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 119 | use_key(move |key| { [INFO] [stdout] | _____________^ [INFO] [stdout] 120 | | let read_handle = read_handle.get_or(|| read_handle_factory.handle()); [INFO] [stdout] 121 | | match read_handle.get_one(&key) { [INFO] [stdout] 122 | | None => Response::with(status::NoContent), [INFO] [stdout] 123 | | Some(value) => Response::with((status::Ok, (*value).as_str())) [INFO] [stdout] 124 | | } [INFO] [stdout] 125 | | }) [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/main.rs:121:15 [INFO] [stdout] | [INFO] [stdout] 112 | fn create_get_handler(read_handle_factory: ReadHandleFactory) -> Box { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 118 | let read_handle = ThreadLocal::new(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | match read_handle.get_one(&key) { [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `krusty-kache` (bin "krusty-kache") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "590e9d4508eb54b871ab1eeafb96cddee1e47841f0d080d251fdd66833c77c05", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590e9d4508eb54b871ab1eeafb96cddee1e47841f0d080d251fdd66833c77c05", kill_on_drop: false }` [INFO] [stdout] 590e9d4508eb54b871ab1eeafb96cddee1e47841f0d080d251fdd66833c77c05