[INFO] cloning repository https://github.com/birders/lomatia
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/birders/lomatia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirders%2Flomatia", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirders%2Flomatia'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd675a8add30ba36bd3994dfaded6ea6b55aab12
[INFO] checking birders/lomatia/cd675a8add30ba36bd3994dfaded6ea6b55aab12 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%2Fbirders%2Flomatia" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/birders/lomatia 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/birders/lomatia
[INFO] finished tweaking git repo https://github.com/birders/lomatia
[INFO] tweaked toml for git repo https://github.com/birders/lomatia written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/birders/lomatia 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 7f6cb3f16b9991982e087ca6dd569fa3e8455b359d0df4de5333391b31a12f96
[INFO] running `Command { std: "docker" "start" "-a" "7f6cb3f16b9991982e087ca6dd569fa3e8455b359d0df4de5333391b31a12f96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f6cb3f16b9991982e087ca6dd569fa3e8455b359d0df4de5333391b31a12f96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f6cb3f16b9991982e087ca6dd569fa3e8455b359d0df4de5333391b31a12f96", kill_on_drop: false }`
[INFO] [stdout] 7f6cb3f16b9991982e087ca6dd569fa3e8455b359d0df4de5333391b31a12f96
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8eab8e3bdeceb468e7d14f29b8867fec9435001140d74582a7b7f3bb4af97e52
[INFO] running `Command { std: "docker" "start" "-a" "8eab8e3bdeceb468e7d14f29b8867fec9435001140d74582a7b7f3bb4af97e52", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.53
[INFO] [stderr] Checking cfg-if v0.1.7
[INFO] [stderr] Compiling autocfg v0.1.2
[INFO] [stderr] Compiling byteorder v1.3.1
[INFO] [stderr] Checking lazy_static v1.3.0
[INFO] [stderr] Checking futures v0.1.26
[INFO] [stderr] Checking slab v0.4.2
[INFO] [stderr] Checking scopeguard v0.3.3
[INFO] [stderr] Compiling semver-parser v0.7.0
[INFO] [stderr] Checking smallvec v0.6.9
[INFO] [stderr] Compiling proc-macro2 v0.4.28
[INFO] [stderr] Checking stable_deref_trait v1.1.1
[INFO] [stderr] Checking fnv v1.0.6
[INFO] [stderr] Checking rand_core v0.3.1
[INFO] [stderr] Checking rand_jitter v0.1.3
[INFO] [stderr] Checking generic-array v0.12.0
[INFO] [stderr] Checking log v0.4.6
[INFO] [stderr] Checking lazycell v1.2.1
[INFO] [stderr] Checking rand_isaac v0.1.1
[INFO] [stderr] Checking rand_xorshift v0.1.1
[INFO] [stderr] Checking crossbeam-utils v0.6.5
[INFO] [stderr] Checking rand_hc v0.1.0
[INFO] [stderr] Checking owning_ref v0.4.0
[INFO] [stderr] Compiling syn v0.15.33
[INFO] [stderr] Compiling arrayvec v0.4.10
[INFO] [stderr] Checking nodrop v0.1.13
[INFO] [stderr] Checking memoffset v0.2.1
[INFO] [stderr] Checking lock_api v0.1.5
[INFO] [stderr] Compiling ident_case v1.0.1
[INFO] [stderr] Compiling memchr v2.2.0
[INFO] [stderr] Compiling semver v0.9.0
[INFO] [stderr] Checking digest v0.8.0
[INFO] [stderr] Compiling fixedbitset v0.1.9
[INFO] [stderr] Compiling unicode-segmentation v1.2.1
[INFO] [stderr] Checking subtle v1.0.0
[INFO] [stderr] Compiling ordermap v0.3.5
[INFO] [stderr] Compiling rand_chacha v0.1.1
[INFO] [stderr] Compiling rand_pcg v0.1.2
[INFO] [stderr] Compiling rand v0.6.5
[INFO] [stderr] Compiling rustc_version v0.2.3
[INFO] [stderr] Checking crossbeam-queue v0.1.2
[INFO] [stderr] Checking matches v0.1.8
[INFO] [stderr] Checking base64 v0.10.1
[INFO] [stderr] Checking block-buffer v0.7.3
[INFO] [stderr] Checking unicode-bidi v0.3.4
[INFO] [stderr] Checking crypto-mac v0.7.0
[INFO] [stderr] Checking unicode-normalization v0.1.8
[INFO] [stderr] Checking itoa v0.4.3
[INFO] [stderr] Checking siphasher v0.2.3
[INFO] [stderr] Checking hmac v0.7.0
[INFO] [stderr] Checking sha2 v0.8.0
[INFO] [stderr] Checking crossbeam-epoch v0.7.1
[INFO] [stderr] Checking iovec v0.1.2
[INFO] [stderr] Checking rand_os v0.1.3
[INFO] [stderr] Checking num_cpus v1.10.0
[INFO] [stderr] Checking net2 v0.2.33
[INFO] [stderr] Compiling heck v0.3.1
[INFO] [stderr] Checking bytes v0.4.12
[INFO] [stderr] Checking tokio-trace-core v0.1.0
[INFO] [stderr] Compiling ryu v0.2.7
[INFO] [stderr] Compiling parking_lot_core v0.4.0
[INFO] [stderr] Checking phf_shared v0.7.24
[INFO] [stderr] Checking percent-encoding v1.0.1
[INFO] [stderr] Checking mio v0.6.16
[INFO] [stderr] Checking fallible-iterator v0.1.6
[INFO] [stderr] Compiling serde v1.0.92
[INFO] [stderr] Compiling petgraph v0.4.13
[INFO] [stderr] Checking crossbeam-deque v0.7.1
[INFO] [stderr] Checking rent_to_own v0.1.0
[INFO] [stderr] Compiling httparse v1.3.3
[INFO] [stderr] Checking md5 v0.6.1
[INFO] [stderr] Checking phf v0.7.24
[INFO] [stderr] Checking block-cipher-trait v0.6.2
[INFO] [stderr] Checking http v0.1.17
[INFO] [stderr] Compiling quote v0.6.12
[INFO] [stderr] Checking ucd-util v0.1.3
[INFO] [stderr] Checking antidote v1.0.0
[INFO] [stderr] Checking indexmap v1.0.2
[INFO] [stderr] Checking string v0.1.3
[INFO] [stderr] Checking try-lock v0.2.2
[INFO] [stderr] Compiling regex v1.1.6
[INFO] [stderr] Checking regex-syntax v0.6.6
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking stringprep v0.1.2
[INFO] [stderr] Checking blowfish v0.4.0
[INFO] [stderr] Checking aho-corasick v0.7.3
[INFO] [stderr] Checking time v0.1.42
[INFO] [stderr] Checking tokio-executor v0.1.7
[INFO] [stderr] Checking tokio-io v0.1.12
[INFO] [stderr] Checking tokio-sync v0.1.5
[INFO] [stderr] Checking futures-cpupool v0.1.8
[INFO] [stderr] Checking tokio-timer v0.2.10
[INFO] [stderr] Checking tokio-current-thread v0.1.6
[INFO] [stderr] Checking want v0.0.6
[INFO] [stderr] Checking atty v0.2.11
[INFO] [stderr] Checking thread_local v0.3.6
[INFO] [stderr] Checking bitflags v1.0.4
[INFO] [stderr] Checking utf8-ranges v1.0.2
[INFO] [stderr] Checking clap v2.33.0
[INFO] [stderr] Checking qstring v0.6.0
[INFO] [stderr] Checking mio-uds v0.6.7
[INFO] [stderr] Checking bb8 v0.3.0
[INFO] [stderr] Checking tokio-codec v0.1.1
[INFO] [stderr] Checking tokio-threadpool v0.1.14
[INFO] [stderr] Checking postgres-protocol v0.4.0
[INFO] [stderr] Checking uuid v0.7.4
[INFO] [stderr] Checking bcrypt v0.2.2
[INFO] [stderr] Checking parking_lot v0.7.1
[INFO] [stderr] Checking tokio-reactor v0.1.9
[INFO] [stderr] Checking tokio-fs v0.1.6
[INFO] [stderr] Checking tokio-uds v0.2.5
[INFO] [stderr] Checking tokio-tcp v0.1.3
[INFO] [stderr] Checking tokio-udp v0.1.3
[INFO] [stderr] Checking h2 v0.1.18
[INFO] [stderr] Checking tokio v0.1.19
[INFO] [stderr] Checking hyper v0.12.27
[INFO] [stderr] Checking serde_json v1.0.39
[INFO] [stderr] Compiling darling_core v0.8.6
[INFO] [stderr] Compiling serde_derive v1.0.92
[INFO] [stderr] Compiling darling_macro v0.8.6
[INFO] [stderr] Compiling darling v0.8.6
[INFO] [stderr] Compiling derive_state_machine_future v0.2.0
[INFO] [stderr] Checking state_machine_future v0.2.0
[INFO] [stderr] Checking tokio-postgres v0.4.0-rc.2
[INFO] [stderr] Checking bb8-postgres v0.3.0
[INFO] [stderr] Checking lomatia 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/main.rs:145:13
[INFO] [stdout] |
[INFO] [stdout] 142 | fn call(&mut self, req: Request
) -> Self::Future {
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 145 | / match (req.method(), req.uri().path()) {
[INFO] [stdout] 146 | | (&Method::GET, "/_matrix/client/versions") => server_administration::versions(),
[INFO] [stdout] 147 | | (&Method::POST, "/_matrix/client/r0/register") => user_data::register(self, req),
[INFO] [stdout] 148 | | // (&Method::GET, "/_matrix/client/r0/login") => session_management::login_opts(),
[INFO] [stdout] ... |
[INFO] [stdout] 167 | | }
[INFO] [stdout] 168 | | }),
[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:212:13
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 212 | / bb8::Pool::builder()
[INFO] [stdout] 213 | | .build(bb8_postgres::PostgresConnectionManager::new(
[INFO] [stdout] 214 | | db_params,
[INFO] [stdout] 215 | | tokio_postgres::NoTls,
[INFO] [stdout] 216 | | ))
[INFO] [stdout] 217 | | .map_err(|err| panic!("Failed to connect to database: {:?}", err))
[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:218:27
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ___________________________^
[INFO] [stdout] 219 | | println!("Listening on http://{}...", socket_addr);
[INFO] [stdout] 220 | |
[INFO] [stdout] 221 | | Server::bind(&socket_addr.to_owned()).serve(
[INFO] [stdout] ... |
[INFO] [stdout] 229 | | )
[INFO] [stdout] 230 | | })
[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:221:21
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 221 | Server::bind(&socket_addr.to_owned()).serve(
[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:222:25
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 222 | / move || -> future::FutureResult {
[INFO] [stdout] 223 | | future::ok(LMServer {
[INFO] [stdout] 224 | | cpupool: cpupool.clone(),
[INFO] [stdout] 225 | | db_pool: db_pool.clone(),
[INFO] [stdout] 226 | | hostname: hostname.clone(),
[INFO] [stdout] 227 | | })
[INFO] [stdout] 228 | | },
[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:223:40
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 223 | future::ok(LMServer {
[INFO] [stdout] | ________________________________________^
[INFO] [stdout] 224 | | cpupool: cpupool.clone(),
[INFO] [stdout] 225 | | db_pool: db_pool.clone(),
[INFO] [stdout] 226 | | hostname: hostname.clone(),
[INFO] [stdout] 227 | | })
[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/server_administration.rs:22:14
[INFO] [stdout] |
[INFO] [stdout] 9 | let mut resp = Response::new(Body::from(
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 22 | Box::new(future::ok(resp))
[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/session_management.rs:61:9
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn login(server: &LMServer, req: Request) -> EndpointFutureBox {
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 60 | Box::new(
[INFO] [stdout] 61 | / req.into_body()
[INFO] [stdout] 62 | | .concat2()
[INFO] [stdout] 63 | | .map_err(crate::Error::from)
[INFO] [stdout] 64 | | .and_then(move |body| {
[INFO] [stdout] ... |
[INFO] [stdout] 177 | | }
[INFO] [stdout] 178 | | }),
[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/session_management.rs:65:17
[INFO] [stdout] |
[INFO] [stdout] 64 | .and_then(move |body| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 65 | serde_json::from_slice(&body).map_err(|err| {
[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/session_management.rs:103:33
[INFO] [stdout] |
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 103 | / db_pool
[INFO] [stdout] 104 | | .run(|mut db| {
[INFO] [stdout] 105 | | db.prepare(
[INFO] [stdout] 106 | | "SELECT id, passhash FROM users WHERE localpart=$1",
[INFO] [stdout] ... |
[INFO] [stdout] 136 | | })
[INFO] [stdout] 137 | | })
[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/session_management.rs:138:47
[INFO] [stdout] |
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 138 | .and_then(move |(user_id, username): (uuid::Uuid, String)| {
[INFO] [stdout] | _______________________________________________^
[INFO] [stdout] 139 | | let device_id =
[INFO] [stdout] 140 | | req_device_id.unwrap_or_else(generate_device_id);
[INFO] [stdout] 141 | | db_pool
[INFO] [stdout] ... |
[INFO] [stdout] 169 | | })
[INFO] [stdout] 170 | | })
[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/session_management.rs:105:41
[INFO] [stdout] |
[INFO] [stdout] 104 | ... .run(|mut db| {
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 105 | / ... db.prepare(
[INFO] [stdout] 106 | | ... "SELECT id, passhash FROM users WHERE localpart=$1",
[INFO] [stdout] 107 | | ... )
[INFO] [stdout] 108 | | ... .then(|res| tack_on(res, db))
[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/session_management.rs:111:49
[INFO] [stdout] |
[INFO] [stdout] 110 | ... move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 111 | / ... db.query(&q, &[&username])
[INFO] [stdout] 112 | | ... .into_future()
[INFO] [stdout] 113 | | ... .map(|(row, _)| (row, username))
[INFO] [stdout] 114 | | ... .map_err(|(err, _)| err)
[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/session_management.rs:115:59
[INFO] [stdout] |
[INFO] [stdout] 110 | ... move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 115 | ... .then(|res| tack_on(res, db))
[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/session_management.rs:121:44
[INFO] [stdout] |
[INFO] [stdout] 120 | ... .and_then(|(row, username)| {
[INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 121 | ... Ok((row.ok_or(INVALID_PASSWORD)?, username))
[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/session_management.rs:127:41
[INFO] [stdout] |
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 123 | .and_then(move |(row, username)| {
[INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 127 | / cpupool
[INFO] [stdout] 128 | | .spawn_fn(move || bcrypt::verify(password, &passhash))
[INFO] [stdout] 129 | | .map_err(crate::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/session_management.rs:141:41
[INFO] [stdout] |
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 141 | / db_pool
[INFO] [stdout] 142 | | .run({
[INFO] [stdout] 143 | | let device_id = device_id.clone();
[INFO] [stdout] 144 | | move |db| {
[INFO] [stdout] ... |
[INFO] [stdout] 147 | | })
[INFO] [stdout] 148 | | .map_err(crate::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/session_management.rs:149:50
[INFO] [stdout] |
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 149 | .map(move |token| {
[INFO] [stdout] | __________________________________________________^
[INFO] [stdout] 150 | | let mut resp = Response::new(
[INFO] [stdout] 151 | | serde_json::json!({
[INFO] [stdout] 152 | | "user_id": username,
[INFO] [stdout] ... |
[INFO] [stdout] 168 | | resp
[INFO] [stdout] 169 | | })
[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/user_data.rs:31:5
[INFO] [stdout] |
[INFO] [stdout] 23 | mut db: tokio_postgres::Client,
[INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 31 | / db.prepare(NEW_TOKEN_QUERY)
[INFO] [stdout] 32 | | .then(|res| tack_on(res, db))
[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/user_data.rs:35:17
[INFO] [stdout] |
[INFO] [stdout] 34 | move |(q, mut db): (tokio_postgres::Statement, tokio_postgres::Client)| {
[INFO] [stdout] | ---------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 35 | / db.execute(&q, &[&token, &user_id, &device_id])
[INFO] [stdout] 36 | | .and_then(move |_| Ok(token.to_string()))
[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/user_data.rs:37:27
[INFO] [stdout] |
[INFO] [stdout] 34 | move |(q, mut db): (tokio_postgres::Statement, tokio_postgres::Client)| {
[INFO] [stdout] | ---------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 37 | .then(|res| tack_on(res, db))
[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/user_data.rs:49:14
[INFO] [stdout] |
[INFO] [stdout] 42 | pub fn register(server: &LMServer, req: Request) -> EndpointFutureBox {
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 43 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 44 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 45 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 49 | Box::new(req.into_body().concat2().map_err(crate::Error::from).and_then(move |body| {
[INFO] [stdout] | ______________^
[INFO] [stdout] 50 | | serde_json::from_slice(&body)
[INFO] [stdout] 51 | | .map_err(|err| {
[INFO] [stdout] 52 | | match err.classify() {
[INFO] [stdout] ... |
[INFO] [stdout] 148 | | }
[INFO] [stdout] 149 | | }))
[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/user_data.rs:50:9
[INFO] [stdout] |
[INFO] [stdout] 49 | Box::new(req.into_body().concat2().map_err(crate::Error::from).and_then(move |body| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 50 | serde_json::from_slice(&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/user_data.rs:84:42
[INFO] [stdout] |
[INFO] [stdout] 44 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 45 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 84 | / db_pool.run(|mut db| {
[INFO] [stdout] 85 | | db.prepare(REGISTER_QUERY)
[INFO] [stdout] 86 | | .then(|res| tack_on(res, db))
[INFO] [stdout] 87 | | .and_then(move |(q, mut db)| {
[INFO] [stdout] ... |
[INFO] [stdout] 115 | | )))
[INFO] [stdout] 116 | | }))
[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/user_data.rs:85:46
[INFO] [stdout] |
[INFO] [stdout] 84 | ... db_pool.run(|mut db| {
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 85 | / ... db.prepare(REGISTER_QUERY)
[INFO] [stdout] 86 | | ... .then(|res| tack_on(res, db))
[INFO] [stdout] 87 | | ... .and_then(move |(q, mut db)| {
[INFO] [stdout] 88 | | ... let id = uuid::Uuid::new_v4();
[INFO] [stdout] ... |
[INFO] [stdout] 93 | | ... .then(|res| tack_on(res, db))
[INFO] [stdout] 94 | | ... })
[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/user_data.rs:89:54
[INFO] [stdout] |
[INFO] [stdout] 87 | ... .and_then(move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 88 | ... let id = uuid::Uuid::new_v4();
[INFO] [stdout] 89 | / ... {
[INFO] [stdout] 90 | | ... let values: Vec<&dyn tokio_postgres::types::ToSql> = vec![&id, &username, &hash];
[INFO] [stdout] 91 | | ... db.execute(&q, &values)
[INFO] [stdout] 92 | | ... }.and_then(move |_| Ok((id, username)))
[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/user_data.rs:93:60
[INFO] [stdout] |
[INFO] [stdout] 87 | ... .and_then(move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 93 | ... .then(|res| tack_on(res, db))
[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/user_data.rs:101:54
[INFO] [stdout] |
[INFO] [stdout] 96 | ... move |((user_id, username), db)| {
[INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 101 | ... create_access_token(db, user_id.clone(), device_id.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/user_data.rs:102:85
[INFO] [stdout] |
[INFO] [stdout] 102 | ... .and_then(|(token, db)| Ok(((token, device_id, username), db)))
[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/user_data.rs:108:49
[INFO] [stdout] |
[INFO] [stdout] 45 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 108 | Ok(Response::new(Body::from(
[INFO] [stdout] | _________________________________________________^
[INFO] [stdout] 109 | | json!({
[INFO] [stdout] 110 | | "user_id": username,
[INFO] [stdout] 111 | | "access_token": token,
[INFO] [stdout] ... |
[INFO] [stdout] 114 | | }).to_string(),
[INFO] [stdout] 115 | | )))
[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 30 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `lomatia` (bin "lomatia") due to 31 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:145:13
[INFO] [stdout] |
[INFO] [stdout] 142 | fn call(&mut self, req: Request) -> Self::Future {
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 145 | / match (req.method(), req.uri().path()) {
[INFO] [stdout] 146 | | (&Method::GET, "/_matrix/client/versions") => server_administration::versions(),
[INFO] [stdout] 147 | | (&Method::POST, "/_matrix/client/r0/register") => user_data::register(self, req),
[INFO] [stdout] 148 | | // (&Method::GET, "/_matrix/client/r0/login") => session_management::login_opts(),
[INFO] [stdout] ... |
[INFO] [stdout] 167 | | }
[INFO] [stdout] 168 | | }),
[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:212:13
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 212 | / bb8::Pool::builder()
[INFO] [stdout] 213 | | .build(bb8_postgres::PostgresConnectionManager::new(
[INFO] [stdout] 214 | | db_params,
[INFO] [stdout] 215 | | tokio_postgres::NoTls,
[INFO] [stdout] 216 | | ))
[INFO] [stdout] 217 | | .map_err(|err| panic!("Failed to connect to database: {:?}", err))
[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:218:27
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ___________________________^
[INFO] [stdout] 219 | | println!("Listening on http://{}...", socket_addr);
[INFO] [stdout] 220 | |
[INFO] [stdout] 221 | | Server::bind(&socket_addr.to_owned()).serve(
[INFO] [stdout] ... |
[INFO] [stdout] 229 | | )
[INFO] [stdout] 230 | | })
[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:221:21
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 221 | Server::bind(&socket_addr.to_owned()).serve(
[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:222:25
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 222 | / move || -> future::FutureResult {
[INFO] [stdout] 223 | | future::ok(LMServer {
[INFO] [stdout] 224 | | cpupool: cpupool.clone(),
[INFO] [stdout] 225 | | db_pool: db_pool.clone(),
[INFO] [stdout] 226 | | hostname: hostname.clone(),
[INFO] [stdout] 227 | | })
[INFO] [stdout] 228 | | },
[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:223:40
[INFO] [stdout] |
[INFO] [stdout] 206 | let cpupool = Arc::new(futures_cpupool::Builder::new().create());
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 207 | let db_params = matches.value_of("database-url").unwrap().to_owned();
[INFO] [stdout] 208 | let hostname = Arc::new(socket_addr.to_string().to_owned());
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 218 | .and_then(move |db_pool| {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 223 | future::ok(LMServer {
[INFO] [stdout] | ________________________________________^
[INFO] [stdout] 224 | | cpupool: cpupool.clone(),
[INFO] [stdout] 225 | | db_pool: db_pool.clone(),
[INFO] [stdout] 226 | | hostname: hostname.clone(),
[INFO] [stdout] 227 | | })
[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/server_administration.rs:22:14
[INFO] [stdout] |
[INFO] [stdout] 9 | let mut resp = Response::new(Body::from(
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 22 | Box::new(future::ok(resp))
[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/session_management.rs:61:9
[INFO] [stdout] |
[INFO] [stdout] 29 | pub fn login(server: &LMServer, req: Request) -> EndpointFutureBox {
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 60 | Box::new(
[INFO] [stdout] 61 | / req.into_body()
[INFO] [stdout] 62 | | .concat2()
[INFO] [stdout] 63 | | .map_err(crate::Error::from)
[INFO] [stdout] 64 | | .and_then(move |body| {
[INFO] [stdout] ... |
[INFO] [stdout] 177 | | }
[INFO] [stdout] 178 | | }),
[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/session_management.rs:65:17
[INFO] [stdout] |
[INFO] [stdout] 64 | .and_then(move |body| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 65 | serde_json::from_slice(&body).map_err(|err| {
[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/session_management.rs:103:33
[INFO] [stdout] |
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 103 | / db_pool
[INFO] [stdout] 104 | | .run(|mut db| {
[INFO] [stdout] 105 | | db.prepare(
[INFO] [stdout] 106 | | "SELECT id, passhash FROM users WHERE localpart=$1",
[INFO] [stdout] ... |
[INFO] [stdout] 136 | | })
[INFO] [stdout] 137 | | })
[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/session_management.rs:138:47
[INFO] [stdout] |
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 138 | .and_then(move |(user_id, username): (uuid::Uuid, String)| {
[INFO] [stdout] | _______________________________________________^
[INFO] [stdout] 139 | | let device_id =
[INFO] [stdout] 140 | | req_device_id.unwrap_or_else(generate_device_id);
[INFO] [stdout] 141 | | db_pool
[INFO] [stdout] ... |
[INFO] [stdout] 169 | | })
[INFO] [stdout] 170 | | })
[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/session_management.rs:105:41
[INFO] [stdout] |
[INFO] [stdout] 104 | ... .run(|mut db| {
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 105 | / ... db.prepare(
[INFO] [stdout] 106 | | ... "SELECT id, passhash FROM users WHERE localpart=$1",
[INFO] [stdout] 107 | | ... )
[INFO] [stdout] 108 | | ... .then(|res| tack_on(res, db))
[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/session_management.rs:111:49
[INFO] [stdout] |
[INFO] [stdout] 110 | ... move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 111 | / ... db.query(&q, &[&username])
[INFO] [stdout] 112 | | ... .into_future()
[INFO] [stdout] 113 | | ... .map(|(row, _)| (row, username))
[INFO] [stdout] 114 | | ... .map_err(|(err, _)| err)
[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/session_management.rs:115:59
[INFO] [stdout] |
[INFO] [stdout] 110 | ... move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 115 | ... .then(|res| tack_on(res, db))
[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/session_management.rs:121:44
[INFO] [stdout] |
[INFO] [stdout] 120 | ... .and_then(|(row, username)| {
[INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 121 | ... Ok((row.ok_or(INVALID_PASSWORD)?, username))
[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/session_management.rs:127:41
[INFO] [stdout] |
[INFO] [stdout] 57 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 123 | .and_then(move |(row, username)| {
[INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 127 | / cpupool
[INFO] [stdout] 128 | | .spawn_fn(move || bcrypt::verify(password, &passhash))
[INFO] [stdout] 129 | | .map_err(crate::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/session_management.rs:141:41
[INFO] [stdout] |
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 141 | / db_pool
[INFO] [stdout] 142 | | .run({
[INFO] [stdout] 143 | | let device_id = device_id.clone();
[INFO] [stdout] 144 | | move |db| {
[INFO] [stdout] ... |
[INFO] [stdout] 147 | | })
[INFO] [stdout] 148 | | .map_err(crate::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/session_management.rs:149:50
[INFO] [stdout] |
[INFO] [stdout] 58 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 59 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 149 | .map(move |token| {
[INFO] [stdout] | __________________________________________________^
[INFO] [stdout] 150 | | let mut resp = Response::new(
[INFO] [stdout] 151 | | serde_json::json!({
[INFO] [stdout] 152 | | "user_id": username,
[INFO] [stdout] ... |
[INFO] [stdout] 168 | | resp
[INFO] [stdout] 169 | | })
[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/user_data.rs:31:5
[INFO] [stdout] |
[INFO] [stdout] 23 | mut db: tokio_postgres::Client,
[INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 31 | / db.prepare(NEW_TOKEN_QUERY)
[INFO] [stdout] 32 | | .then(|res| tack_on(res, db))
[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/user_data.rs:35:17
[INFO] [stdout] |
[INFO] [stdout] 34 | move |(q, mut db): (tokio_postgres::Statement, tokio_postgres::Client)| {
[INFO] [stdout] | ---------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 35 | / db.execute(&q, &[&token, &user_id, &device_id])
[INFO] [stdout] 36 | | .and_then(move |_| Ok(token.to_string()))
[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/user_data.rs:37:27
[INFO] [stdout] |
[INFO] [stdout] 34 | move |(q, mut db): (tokio_postgres::Statement, tokio_postgres::Client)| {
[INFO] [stdout] | ---------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 37 | .then(|res| tack_on(res, db))
[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/user_data.rs:49:14
[INFO] [stdout] |
[INFO] [stdout] 42 | pub fn register(server: &LMServer, req: Request) -> EndpointFutureBox {
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 43 | let cpupool = server.cpupool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 44 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 45 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 49 | Box::new(req.into_body().concat2().map_err(crate::Error::from).and_then(move |body| {
[INFO] [stdout] | ______________^
[INFO] [stdout] 50 | | serde_json::from_slice(&body)
[INFO] [stdout] 51 | | .map_err(|err| {
[INFO] [stdout] 52 | | match err.classify() {
[INFO] [stdout] ... |
[INFO] [stdout] 148 | | }
[INFO] [stdout] 149 | | }))
[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/user_data.rs:50:9
[INFO] [stdout] |
[INFO] [stdout] 49 | Box::new(req.into_body().concat2().map_err(crate::Error::from).and_then(move |body| {
[INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 50 | serde_json::from_slice(&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/user_data.rs:84:42
[INFO] [stdout] |
[INFO] [stdout] 44 | let db_pool = server.db_pool.clone();
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 45 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 84 | / db_pool.run(|mut db| {
[INFO] [stdout] 85 | | db.prepare(REGISTER_QUERY)
[INFO] [stdout] 86 | | .then(|res| tack_on(res, db))
[INFO] [stdout] 87 | | .and_then(move |(q, mut db)| {
[INFO] [stdout] ... |
[INFO] [stdout] 115 | | )))
[INFO] [stdout] 116 | | }))
[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/user_data.rs:85:46
[INFO] [stdout] |
[INFO] [stdout] 84 | ... db_pool.run(|mut db| {
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 85 | / ... db.prepare(REGISTER_QUERY)
[INFO] [stdout] 86 | | ... .then(|res| tack_on(res, db))
[INFO] [stdout] 87 | | ... .and_then(move |(q, mut db)| {
[INFO] [stdout] 88 | | ... let id = uuid::Uuid::new_v4();
[INFO] [stdout] ... |
[INFO] [stdout] 93 | | ... .then(|res| tack_on(res, db))
[INFO] [stdout] 94 | | ... })
[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/user_data.rs:89:54
[INFO] [stdout] |
[INFO] [stdout] 87 | ... .and_then(move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 88 | ... let id = uuid::Uuid::new_v4();
[INFO] [stdout] 89 | / ... {
[INFO] [stdout] 90 | | ... let values: Vec<&dyn tokio_postgres::types::ToSql> = vec![&id, &username, &hash];
[INFO] [stdout] 91 | | ... db.execute(&q, &values)
[INFO] [stdout] 92 | | ... }.and_then(move |_| Ok((id, username)))
[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/user_data.rs:93:60
[INFO] [stdout] |
[INFO] [stdout] 87 | ... .and_then(move |(q, mut db)| {
[INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 93 | ... .then(|res| tack_on(res, db))
[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/user_data.rs:101:54
[INFO] [stdout] |
[INFO] [stdout] 96 | ... move |((user_id, username), db)| {
[INFO] [stdout] | ------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 101 | ... create_access_token(db, user_id.clone(), device_id.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/user_data.rs:102:85
[INFO] [stdout] |
[INFO] [stdout] 102 | ... .and_then(|(token, db)| Ok(((token, device_id, username), db)))
[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/user_data.rs:108:49
[INFO] [stdout] |
[INFO] [stdout] 45 | let hostname = server.hostname.clone();
[INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 108 | Ok(Response::new(Body::from(
[INFO] [stdout] | _________________________________________________^
[INFO] [stdout] 109 | | json!({
[INFO] [stdout] 110 | | "user_id": username,
[INFO] [stdout] 111 | | "access_token": token,
[INFO] [stdout] ... |
[INFO] [stdout] 114 | | }).to_string(),
[INFO] [stdout] 115 | | )))
[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 30 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `lomatia` (bin "lomatia" test) due to 31 previous errors
[INFO] running `Command { std: "docker" "inspect" "8eab8e3bdeceb468e7d14f29b8867fec9435001140d74582a7b7f3bb4af97e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8eab8e3bdeceb468e7d14f29b8867fec9435001140d74582a7b7f3bb4af97e52", kill_on_drop: false }`
[INFO] [stdout] 8eab8e3bdeceb468e7d14f29b8867fec9435001140d74582a7b7f3bb4af97e52