[INFO] cloning repository https://github.com/clarkenciel/inspiration [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/clarkenciel/inspiration" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclarkenciel%2Finspiration", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclarkenciel%2Finspiration'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45125823334344025d5ff55e6e77ac16289ef85c [INFO] checking clarkenciel/inspiration/45125823334344025d5ff55e6e77ac16289ef85c 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%2Fclarkenciel%2Finspiration" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/clarkenciel/inspiration 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/clarkenciel/inspiration [INFO] finished tweaking git repo https://github.com/clarkenciel/inspiration [INFO] tweaked toml for git repo https://github.com/clarkenciel/inspiration written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/clarkenciel/inspiration 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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: target.heroku.version [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 5fa3683d1265b617d57a1054e5a7f01307d3cf9c2ea12ed3d06550e7a5dedb95 [INFO] running `Command { std: "docker" "start" "-a" "5fa3683d1265b617d57a1054e5a7f01307d3cf9c2ea12ed3d06550e7a5dedb95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa3683d1265b617d57a1054e5a7f01307d3cf9c2ea12ed3d06550e7a5dedb95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa3683d1265b617d57a1054e5a7f01307d3cf9c2ea12ed3d06550e7a5dedb95", kill_on_drop: false }` [INFO] [stdout] 5fa3683d1265b617d57a1054e5a7f01307d3cf9c2ea12ed3d06550e7a5dedb95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] da932a500c2bd7ccb3f87d839231d3c323e64d2311ee6e3765e15addac0f26d7 [INFO] running `Command { std: "docker" "start" "-a" "da932a500c2bd7ccb3f87d839231d3c323e64d2311ee6e3765e15addac0f26d7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: unused manifest key: target.heroku.version [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Checking futures v0.1.17 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Checking log v0.3.8 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking lazycell v0.5.1 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scoped-tls v0.1.0 [INFO] [stderr] Checking slab v0.4.0 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking safemem v0.2.0 [INFO] [stderr] Checking lazy_static v0.2.9 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking percent-encoding v1.0.0 [INFO] [stderr] Checking regex-syntax v0.4.1 [INFO] [stderr] Checking dtoa v0.4.2 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking itoa v0.3.4 [INFO] [stderr] Checking utf8-ranges v1.0.0 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Checking serde v1.0.17 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking httparse v1.2.3 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking base64 v0.6.0 [INFO] [stderr] Compiling unicase v2.0.0 [INFO] [stderr] Checking iovec v0.1.1 [INFO] [stderr] Checking net2 v0.2.31 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking rand v0.3.17 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking bytes v0.4.5 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking mio v0.6.11 [INFO] [stderr] Checking regex v0.2.2 [INFO] [stderr] Compiling serde_derive_internals v0.16.0 [INFO] [stderr] Checking mime v0.3.5 [INFO] [stderr] Checking tokio-io v0.1.3 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.0 [INFO] [stderr] Checking futures-cpupool v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.17 [INFO] [stderr] Checking tokio-core v0.1.10 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.6 [INFO] [stderr] Checking serde_json v1.0.5 [INFO] [stderr] Checking inspiration v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | fn unchunk(body: hyper::Body) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn unchunk(body: hyper::Body) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn inspire(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn inspire(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | ) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | fn respond(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn respond(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | fn unchunk(body: hyper::Body) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 129 | fn unchunk(body: hyper::Body) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | type Future = Box>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | type Future = Box>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:66:30 [INFO] [stdout] | [INFO] [stdout] 66 | fn inspire(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | fn inspire(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:94:14 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 94 | ) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:118:30 [INFO] [stdout] | [INFO] [stdout] 118 | fn respond(&self) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 | fn respond(&self) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | .and_then(|response| unchunk(response.body())) [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] = 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:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(responder: Responder, tokens: Vec) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Inspiration { [INFO] [stdout] 86 | responder: Arc::new(responder), [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:87:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(responder: Responder, tokens: Vec) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | valid_tokens: Arc::new(tokens), [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:96:18 [INFO] [stdout] | [INFO] [stdout] 93 | body: hyper::Body, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ) -> Box> { [INFO] [stdout] 95 | let valid_tokens = self.valid_tokens.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Box::new(unchunk(body).and_then(move |body_str| { [INFO] [stdout] | __________________^ [INFO] [stdout] 97 | | let re = Regex::new(r"token=(\w+)&").expect("Coud not compile token regexp"); [INFO] [stdout] 98 | | let result = re.captures(&*body_str).and_then(|cap| cap.get(1)).map(|m| { [INFO] [stdout] 99 | | valid_tokens.iter().any( [INFO] [stdout] ... | [INFO] [stdout] 104 | | future::ok(result.unwrap_or(false)) [INFO] [stdout] 105 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | fn unchunk(body: hyper::Body) -> Box> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Box::new( [INFO] [stdout] 131 | / body.fold(Vec::new(), |mut acc, chunk| { [INFO] [stdout] 132 | | acc.extend_from_slice(&*chunk); [INFO] [stdout] 133 | | futures::future::ok::<_, hyper::Error>(acc) [INFO] [stdout] 134 | | }).map(|chunks| String::from_utf8(chunks).unwrap_or(String::new())), [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:148:18 [INFO] [stdout] | [INFO] [stdout] 144 | fn call(&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] 145 | let responder = self.responder.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Box::new(self.validate_request(req.body()).and_then( [INFO] [stdout] | __________________^ [INFO] [stdout] 149 | | move |check| if check { [INFO] [stdout] 150 | | match method { [INFO] [stdout] 151 | | hyper::Method::Post => responder.respond(), [INFO] [stdout] ... | [INFO] [stdout] 160 | | }, [INFO] [stdout] 161 | | )) [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 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | .and_then(|response| unchunk(response.body())) [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] = 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:86:24 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(responder: Responder, tokens: Vec) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | Inspiration { [INFO] [stdout] 86 | responder: Arc::new(responder), [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:87:27 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(responder: Responder, tokens: Vec) -> Self { [INFO] [stdout] | -------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | valid_tokens: Arc::new(tokens), [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:96:18 [INFO] [stdout] | [INFO] [stdout] 93 | body: hyper::Body, [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | ) -> Box> { [INFO] [stdout] 95 | let valid_tokens = self.valid_tokens.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 96 | Box::new(unchunk(body).and_then(move |body_str| { [INFO] [stdout] | __________________^ [INFO] [stdout] 97 | | let re = Regex::new(r"token=(\w+)&").expect("Coud not compile token regexp"); [INFO] [stdout] 98 | | let result = re.captures(&*body_str).and_then(|cap| cap.get(1)).map(|m| { [INFO] [stdout] 99 | | valid_tokens.iter().any( [INFO] [stdout] ... | [INFO] [stdout] 104 | | future::ok(result.unwrap_or(false)) [INFO] [stdout] 105 | | })) [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 129 | fn unchunk(body: hyper::Body) -> Box> { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 130 | Box::new( [INFO] [stdout] 131 | / body.fold(Vec::new(), |mut acc, chunk| { [INFO] [stdout] 132 | | acc.extend_from_slice(&*chunk); [INFO] [stdout] 133 | | futures::future::ok::<_, hyper::Error>(acc) [INFO] [stdout] 134 | | }).map(|chunks| String::from_utf8(chunks).unwrap_or(String::new())), [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:148:18 [INFO] [stdout] | [INFO] [stdout] 144 | fn call(&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] 145 | let responder = self.responder.clone(); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | Box::new(self.validate_request(req.body()).and_then( [INFO] [stdout] | __________________^ [INFO] [stdout] 149 | | move |check| if check { [INFO] [stdout] 150 | | match method { [INFO] [stdout] 151 | | hyper::Method::Post => responder.respond(), [INFO] [stdout] ... | [INFO] [stdout] 160 | | }, [INFO] [stdout] 161 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inspiration` (bin "inspiration" test) due to 7 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `inspiration` (bin "inspiration") due to 7 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "da932a500c2bd7ccb3f87d839231d3c323e64d2311ee6e3765e15addac0f26d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da932a500c2bd7ccb3f87d839231d3c323e64d2311ee6e3765e15addac0f26d7", kill_on_drop: false }` [INFO] [stdout] da932a500c2bd7ccb3f87d839231d3c323e64d2311ee6e3765e15addac0f26d7