[INFO] cloning repository https://github.com/arrrght/rabbe2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arrrght/rabbe2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farrrght%2Frabbe2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farrrght%2Frabbe2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3899e72017ef4e637e848e0bde0ece23f7058a26 [INFO] checking arrrght/rabbe2/3899e72017ef4e637e848e0bde0ece23f7058a26 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%2Farrrght%2Frabbe2" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arrrght/rabbe2 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/arrrght/rabbe2 [INFO] finished tweaking git repo https://github.com/arrrght/rabbe2 [INFO] tweaked toml for git repo https://github.com/arrrght/rabbe2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/arrrght/rabbe2 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e29b795c80a6e0ebb87d528b359c6464c69b90a54d67ef52470e33a30bf1fc15 [INFO] running `Command { std: "docker" "start" "-a" "e29b795c80a6e0ebb87d528b359c6464c69b90a54d67ef52470e33a30bf1fc15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e29b795c80a6e0ebb87d528b359c6464c69b90a54d67ef52470e33a30bf1fc15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29b795c80a6e0ebb87d528b359c6464c69b90a54d67ef52470e33a30bf1fc15", kill_on_drop: false }` [INFO] [stdout] e29b795c80a6e0ebb87d528b359c6464c69b90a54d67ef52470e33a30bf1fc15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 66b6e97601f5cf8c43923a9cc5dff38b9a59c8a6ca1600914d02c5cf3d32ced3 [INFO] running `Command { std: "docker" "start" "-a" "66b6e97601f5cf8c43923a9cc5dff38b9a59c8a6ca1600914d02c5cf3d32ced3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.49 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling serde v1.0.88 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling ucd-trie v0.1.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling maplit v1.0.1 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling pest v2.1.0 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Compiling cc v1.0.29 [INFO] [stderr] Compiling cookie-factory v0.2.4 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.14 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking crossbeam-channel v0.3.8 [INFO] [stderr] Checking rustc-demangle v0.1.13 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking nom v4.2.0 [INFO] [stderr] Checking rand_os v0.1.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking bytes v0.4.11 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking tokio-sync v0.1.2 [INFO] [stderr] Checking tokio-io v0.1.11 [INFO] [stderr] Compiling pest_meta v2.1.0 [INFO] [stderr] Checking tokio-current-thread v0.1.4 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking parking_lot_core v0.4.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.8 [INFO] [stderr] Checking crossbeam v0.6.0 [INFO] [stderr] Checking tokio-threadpool v0.1.11 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking env_logger v0.6.1 [INFO] [stderr] Checking tokio-fs v0.1.5 [INFO] [stderr] Checking tokio v0.1.15 [INFO] [stderr] Compiling pest_generator v2.1.0 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.88 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde_json v1.0.38 [INFO] [stderr] Checking handlebars v1.1.0 [INFO] [stderr] Checking amq-protocol-types v1.2.0 [INFO] [stderr] Checking amq-protocol-codegen v1.4.0 [INFO] [stderr] Compiling amq-protocol v1.4.0 [INFO] [stderr] Checking lapin-async v0.18.0 [INFO] [stderr] Checking lapin-futures v0.18.0 [INFO] [stderr] Checking rabbe2 v0.1.0 (/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/consumer.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 21 | let cloned2_arc_prm = arc_prm.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | .and_then(move |stream| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / lapin::client::Client::connect( [INFO] [stdout] 37 | | stream, [INFO] [stdout] 38 | | ConnectionOptions { [INFO] [stdout] 39 | | username: super::RBT_USER.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 43 | | }, [INFO] [stdout] 44 | | ) [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/consumer.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 47 | .and_then(|(client, heartbeat)| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | client.create_channel().map_err(Error::from) [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/consumer.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 20 | let arc_prm = Arc::new(Mutex::new(prm)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let counter = Arc::new(Mutex::new(0u32)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | .and_then(|channel| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let ch = channel.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let cloned_arc_prm = arc_prm.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let queue_options = arc_prm.lock().unwrap().clone().queue_options; [INFO] [stdout] 62 | / channel [INFO] [stdout] 63 | | .queue_declare(&q_str, queue_options, FieldTable::new()) [INFO] [stdout] 64 | | .and_then(move |queue| { [INFO] [stdout] 65 | | println!( [INFO] [stdout] ... | [INFO] [stdout] 110 | | }) [INFO] [stdout] 111 | | }) [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/consumer.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 20 | let arc_prm = Arc::new(Mutex::new(prm)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let counter = Arc::new(Mutex::new(0u32)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let ch = channel.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | .and_then(move |stream| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let cloned_arc_prm = arc_prm.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | stream.for_each(move |message| { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 83 | | //let is_save = RefCell::new(prm.save); [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | if cloned_arc_prm.lock().unwrap().clone().save { [INFO] [stdout] ... | [INFO] [stdout] 109 | | ch.basic_ack(message.delivery_tag, false) [INFO] [stdout] 110 | | }) [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/publisher.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let msg2 = msg.clone().as_bytes().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/publisher.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 79 | .and_then(|stream| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | / lapin::client::Client::connect( [INFO] [stdout] 81 | | stream, [INFO] [stdout] 82 | | ConnectionOptions { [INFO] [stdout] 83 | | username: super::RBT_USER.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 86 | | }, [INFO] [stdout] 87 | | ) [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/publisher.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | .and_then(|(client, _)| client.create_channel().map_err(Error::from)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/publisher.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 91 | .and_then(move |channel| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | / channel [INFO] [stdout] 102 | | .queue_declare( [INFO] [stdout] 103 | | &prm.queue, [INFO] [stdout] 104 | | prm.clone().queue_options, [INFO] [stdout] ... | [INFO] [stdout] 118 | | p [INFO] [stdout] 119 | | }) [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rabbe2` (bin "rabbe2" test) due to 8 previous errors; 1 warning emitted [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/consumer.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 21 | let cloned2_arc_prm = arc_prm.clone(); [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 35 | .and_then(move |stream| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 36 | / lapin::client::Client::connect( [INFO] [stdout] 37 | | stream, [INFO] [stdout] 38 | | ConnectionOptions { [INFO] [stdout] 39 | | username: super::RBT_USER.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 43 | | }, [INFO] [stdout] 44 | | ) [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] 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/consumer.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 47 | .and_then(|(client, heartbeat)| { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 52 | client.create_channel().map_err(Error::from) [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/consumer.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 20 | let arc_prm = Arc::new(Mutex::new(prm)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let counter = Arc::new(Mutex::new(0u32)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | .and_then(|channel| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let ch = channel.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 60 | let cloned_arc_prm = arc_prm.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let queue_options = arc_prm.lock().unwrap().clone().queue_options; [INFO] [stdout] 62 | / channel [INFO] [stdout] 63 | | .queue_declare(&q_str, queue_options, FieldTable::new()) [INFO] [stdout] 64 | | .and_then(move |queue| { [INFO] [stdout] 65 | | println!( [INFO] [stdout] ... | [INFO] [stdout] 110 | | }) [INFO] [stdout] 111 | | }) [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/consumer.rs:82:45 [INFO] [stdout] | [INFO] [stdout] 20 | let arc_prm = Arc::new(Mutex::new(prm)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 26 | let counter = Arc::new(Mutex::new(0u32)); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | let ch = channel.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | .and_then(move |stream| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 81 | let cloned_arc_prm = arc_prm.clone(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 82 | stream.for_each(move |message| { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 83 | | //let is_save = RefCell::new(prm.save); [INFO] [stdout] 84 | | [INFO] [stdout] 85 | | if cloned_arc_prm.lock().unwrap().clone().save { [INFO] [stdout] ... | [INFO] [stdout] 109 | | ch.basic_ack(message.delivery_tag, false) [INFO] [stdout] 110 | | }) [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: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/publisher.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let msg2 = msg.clone().as_bytes().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/publisher.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 79 | .and_then(|stream| { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | / lapin::client::Client::connect( [INFO] [stdout] 81 | | stream, [INFO] [stdout] 82 | | ConnectionOptions { [INFO] [stdout] 83 | | username: super::RBT_USER.to_string(), [INFO] [stdout] ... | [INFO] [stdout] 86 | | }, [INFO] [stdout] 87 | | ) [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/publisher.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | .and_then(|(client, _)| client.create_channel().map_err(Error::from)) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/publisher.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 91 | .and_then(move |channel| { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 101 | / channel [INFO] [stdout] 102 | | .queue_declare( [INFO] [stdout] 103 | | &prm.queue, [INFO] [stdout] 104 | | prm.clone().queue_options, [INFO] [stdout] ... | [INFO] [stdout] 118 | | p [INFO] [stdout] 119 | | }) [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 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rabbe2` (bin "rabbe2") due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "66b6e97601f5cf8c43923a9cc5dff38b9a59c8a6ca1600914d02c5cf3d32ced3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66b6e97601f5cf8c43923a9cc5dff38b9a59c8a6ca1600914d02c5cf3d32ced3", kill_on_drop: false }` [INFO] [stdout] 66b6e97601f5cf8c43923a9cc5dff38b9a59c8a6ca1600914d02c5cf3d32ced3