[INFO] cloning repository https://github.com/Tonyce/hyper-tide-web
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tonyce/hyper-tide-web" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fhyper-tide-web", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyce%2Fhyper-tide-web'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 708bc47ec9d1c114ad4946165b76969a731bab7e
[INFO] checking Tonyce/hyper-tide-web/708bc47ec9d1c114ad4946165b76969a731bab7e 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%2FTonyce%2Fhyper-tide-web" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Tonyce/hyper-tide-web 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/Tonyce/hyper-tide-web
[INFO] finished tweaking git repo https://github.com/Tonyce/hyper-tide-web
[INFO] tweaked toml for git repo https://github.com/Tonyce/hyper-tide-web written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Tonyce/hyper-tide-web 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] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 86d9d8e59ccf9dcdfa538b784a6fb129269c09f41a8f0265018be4b6f80fa0ee
[INFO] running `Command { std: "docker" "start" "-a" "86d9d8e59ccf9dcdfa538b784a6fb129269c09f41a8f0265018be4b6f80fa0ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "86d9d8e59ccf9dcdfa538b784a6fb129269c09f41a8f0265018be4b6f80fa0ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86d9d8e59ccf9dcdfa538b784a6fb129269c09f41a8f0265018be4b6f80fa0ee", kill_on_drop: false }`
[INFO] [stdout] 86d9d8e59ccf9dcdfa538b784a6fb129269c09f41a8f0265018be4b6f80fa0ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 119f8749c9f72e4c35e1196037bc19f7acf3c91f2c2fa84cb44809cc670ba05a
[INFO] running `Command { std: "docker" "start" "-a" "119f8749c9f72e4c35e1196037bc19f7acf3c91f2c2fa84cb44809cc670ba05a", kill_on_drop: false }`
[INFO] [stderr] Compiling autocfg v1.0.1
[INFO] [stderr] Compiling proc-macro2 v1.0.28
[INFO] [stderr] Compiling syn v1.0.74
[INFO] [stderr] Compiling libc v0.2.99
[INFO] [stderr] Compiling memchr v2.4.0
[INFO] [stderr] Compiling futures-core v0.3.16
[INFO] [stderr] Checking pin-project-lite v0.2.7
[INFO] [stderr] Compiling log v0.4.14
[INFO] [stderr] Compiling proc-macro-hack v0.5.19
[INFO] [stderr] Checking scopeguard v1.1.0
[INFO] [stderr] Compiling futures-channel v0.3.16
[INFO] [stderr] Checking futures-sink v0.3.16
[INFO] [stderr] Compiling futures-task v0.3.16
[INFO] [stderr] Checking bytes v1.0.1
[INFO] [stderr] Checking instant v0.1.10
[INFO] [stderr] Compiling proc-macro-nested v0.1.7
[INFO] [stderr] Checking smallvec v1.6.1
[INFO] [stderr] Checking lock_api v0.4.4
[INFO] [stderr] Checking slab v0.4.4
[INFO] [stderr] Checking futures-io v0.3.16
[INFO] [stderr] Checking once_cell v1.8.0
[INFO] [stderr] Checking pin-utils v0.1.0
[INFO] [stderr] Checking tinyvec_macros v0.1.0
[INFO] [stderr] Checking itoa v0.4.7
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Checking fnv v1.0.7
[INFO] [stderr] Checking tinyvec v1.3.1
[INFO] [stderr] Checking hashbrown v0.11.2
[INFO] [stderr] Checking matches v0.1.9
[INFO] [stderr] Compiling httparse v1.4.1
[INFO] [stderr] Checking tracing-core v0.1.18
[INFO] [stderr] Checking try-lock v0.2.3
[INFO] [stderr] Compiling async-trait v0.1.51
[INFO] [stderr] Checking percent-encoding v2.1.0
[INFO] [stderr] Checking unicode-bidi v0.3.6
[INFO] [stderr] Checking tower-service v0.3.1
[INFO] [stderr] Checking httpdate v1.0.1
[INFO] [stderr] Compiling futures-macro v0.3.16
[INFO] [stderr] Compiling futures-util v0.3.16
[INFO] [stderr] Compiling tokio v1.10.0
[INFO] [stderr] Compiling indexmap v1.7.0
[INFO] [stderr] Checking http v0.2.4
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking want v0.3.0
[INFO] [stderr] Checking tracing v0.1.26
[INFO] [stderr] Checking route-recognizer v0.3.0
[INFO] [stderr] Compiling quote v1.0.9
[INFO] [stderr] Checking parking_lot_core v0.8.3
[INFO] [stderr] Checking num_cpus v1.13.0
[INFO] [stderr] Checking signal-hook-registry v1.4.0
[INFO] [stderr] Checking mio v0.7.13
[INFO] [stderr] Checking socket2 v0.4.1
[INFO] [stderr] Checking parking_lot v0.11.1
[INFO] [stderr] Checking unicode-normalization v0.1.19
[INFO] [stderr] Checking http-body v0.4.3
[INFO] [stderr] Checking idna v0.2.3
[INFO] [stderr] Checking url v2.2.2
[INFO] [stderr] Compiling tokio-macros v1.3.0
[INFO] [stderr] Checking futures-executor v0.3.16
[INFO] [stderr] Checking futures v0.3.16
[INFO] [stderr] Checking tokio-util v0.6.7
[INFO] [stderr] Checking tokio-stream v0.1.7
[INFO] [stderr] Checking h2 v0.3.3
[INFO] [stderr] Checking hyper v0.14.11
[INFO] [stderr] Checking hyper-tide v0.1.0 (/opt/rustwide/workdir/hyper-tide)
[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] --> hyper-tide/src/endpoint.rs:33:25
[INFO] [stdout] |
[INFO] [stdout] 30 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 31 | req: Request
,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 32 | route_params: Vec,
[INFO] [stdout] 33 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 34 | | let fut = (self)(state, req, route_params);
[INFO] [stdout] 35 | | fut.await
[INFO] [stdout] 36 | | }
[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] --> hyper-tide/src/endpoint.rs:75:25
[INFO] [stdout] |
[INFO] [stdout] 72 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 73 | req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 74 | route_params: Vec,
[INFO] [stdout] 75 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 76 | | let next = Next {
[INFO] [stdout] 77 | | endpoint: &self.endpoint,
[INFO] [stdout] 78 | | next_middleware: &self.middleware,
[INFO] [stdout] 79 | | };
[INFO] [stdout] 80 | | next.run(state, req, route_params).await
[INFO] [stdout] 81 | | }
[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] --> hyper-tide/src/middleware.rs:49:25
[INFO] [stdout] |
[INFO] [stdout] 45 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 46 | req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 49 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 50 | | (self)(state, req, route_params, next).await
[INFO] [stdout] 51 | | }
[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] --> hyper-tide/src/route.rs:184:14
[INFO] [stdout] |
[INFO] [stdout] 183 | fn new(ep: E) -> Self {
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 184 | Self(std::sync::Arc::new(ep))
[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] --> hyper-tide/src/route.rs:205:25
[INFO] [stdout] |
[INFO] [stdout] 202 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 203 | mut req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 204 | route_params: Vec,
[INFO] [stdout] 205 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 206 | | let rest = route_params
[INFO] [stdout] 207 | | .last()
[INFO] [stdout] 208 | | .and_then(|params| params.find("--tide-path-rest"))
[INFO] [stdout] ... |
[INFO] [stdout] 214 | | self.0.call(state, req, route_params).await
[INFO] [stdout] 215 | | }
[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] --> hyper-tide/src/router.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 24 | pub(crate) fn add(&mut self, path: &str, method: Method, ep: Box>) {
[INFO] [stdout] | -------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 25 | / self.method_map
[INFO] [stdout] 26 | | .entry(method)
[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] --> hyper-tide/src/server.rs:36:21
[INFO] [stdout] |
[INFO] [stdout] 34 | pub fn with_state(state: State) -> Self {
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 35 | Self {
[INFO] [stdout] 36 | router: Arc::new(Router::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] --> hyper-tide/src/server.rs:37:25
[INFO] [stdout] |
[INFO] [stdout] 34 | pub fn with_state(state: State) -> Self {
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 37 | middleware: Arc::new(vec![
[INFO] [stdout] | _________________________^
[INFO] [stdout] 38 | | // #[cfg(feature = "cookies")]
[INFO] [stdout] 39 | | // Arc::new(cookies::CookiesMiddleware::new()),
[INFO] [stdout] 40 | | // #[cfg(feature = "logger")]
[INFO] [stdout] 41 | | // Arc::new(log::LogMiddleware::new()),
[INFO] [stdout] 42 | | ]),
[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] --> hyper-tide/src/server.rs:53:32
[INFO] [stdout] |
[INFO] [stdout] 49 | let state = self.state.clone();
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 50 | let router = self.router.clone();
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 51 | let middleware = self.middleware.clone();
[INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 52 | async move {
[INFO] [stdout] 53 | Ok::<_, Error>(hyper::service::service_fn(
[INFO] [stdout] | ________________________________^
[INFO] [stdout] 54 | | move |request: hyper::Request| {
[INFO] [stdout] 55 | | // let counter = counter.clone();
[INFO] [stdout] 56 | | let state = state.clone();
[INFO] [stdout] ... |
[INFO] [stdout] 72 | | },
[INFO] [stdout] 73 | | ))
[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] --> hyper-tide/src/server.rs:110:25
[INFO] [stdout] |
[INFO] [stdout] 107 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 108 | request: Request,
[INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 109 | mut route_params: Vec,
[INFO] [stdout] 110 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 111 | | // TODO 两个 state
[INFO] [stdout] 112 | | let _state = state;
[INFO] [stdout] 113 | | let path = request.uri().path();
[INFO] [stdout] ... |
[INFO] [stdout] 128 | | response
[INFO] [stdout] 129 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `hyper-tide` (lib) due to 11 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> hyper-tide/src/endpoint.rs:33:25
[INFO] [stdout] |
[INFO] [stdout] 30 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 31 | req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 32 | route_params: Vec,
[INFO] [stdout] 33 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 34 | | let fut = (self)(state, req, route_params);
[INFO] [stdout] 35 | | fut.await
[INFO] [stdout] 36 | | }
[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] --> hyper-tide/src/endpoint.rs:75:25
[INFO] [stdout] |
[INFO] [stdout] 72 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 73 | req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 74 | route_params: Vec,
[INFO] [stdout] 75 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 76 | | let next = Next {
[INFO] [stdout] 77 | | endpoint: &self.endpoint,
[INFO] [stdout] 78 | | next_middleware: &self.middleware,
[INFO] [stdout] 79 | | };
[INFO] [stdout] 80 | | next.run(state, req, route_params).await
[INFO] [stdout] 81 | | }
[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] --> hyper-tide/src/middleware.rs:49:25
[INFO] [stdout] |
[INFO] [stdout] 45 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 46 | req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 49 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 50 | | (self)(state, req, route_params, next).await
[INFO] [stdout] 51 | | }
[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] --> hyper-tide/src/route.rs:184:14
[INFO] [stdout] |
[INFO] [stdout] 183 | fn new(ep: E) -> Self {
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 184 | Self(std::sync::Arc::new(ep))
[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] --> hyper-tide/src/route.rs:205:25
[INFO] [stdout] |
[INFO] [stdout] 202 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 203 | mut req: Request,
[INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 204 | route_params: Vec,
[INFO] [stdout] 205 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 206 | | let rest = route_params
[INFO] [stdout] 207 | | .last()
[INFO] [stdout] 208 | | .and_then(|params| params.find("--tide-path-rest"))
[INFO] [stdout] ... |
[INFO] [stdout] 214 | | self.0.call(state, req, route_params).await
[INFO] [stdout] 215 | | }
[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] --> hyper-tide/src/router.rs:25:9
[INFO] [stdout] |
[INFO] [stdout] 24 | pub(crate) fn add(&mut self, path: &str, method: Method, ep: Box>) {
[INFO] [stdout] | -------------- --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 25 | / self.method_map
[INFO] [stdout] 26 | | .entry(method)
[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] --> hyper-tide/src/server.rs:36:21
[INFO] [stdout] |
[INFO] [stdout] 34 | pub fn with_state(state: State) -> Self {
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 35 | Self {
[INFO] [stdout] 36 | router: Arc::new(Router::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] --> hyper-tide/src/server.rs:37:25
[INFO] [stdout] |
[INFO] [stdout] 34 | pub fn with_state(state: State) -> Self {
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 37 | middleware: Arc::new(vec![
[INFO] [stdout] | _________________________^
[INFO] [stdout] 38 | | // #[cfg(feature = "cookies")]
[INFO] [stdout] 39 | | // Arc::new(cookies::CookiesMiddleware::new()),
[INFO] [stdout] 40 | | // #[cfg(feature = "logger")]
[INFO] [stdout] 41 | | // Arc::new(log::LogMiddleware::new()),
[INFO] [stdout] 42 | | ]),
[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] --> hyper-tide/src/server.rs:53:32
[INFO] [stdout] |
[INFO] [stdout] 49 | let state = self.state.clone();
[INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 50 | let router = self.router.clone();
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 51 | let middleware = self.middleware.clone();
[INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 52 | async move {
[INFO] [stdout] 53 | Ok::<_, Error>(hyper::service::service_fn(
[INFO] [stdout] | ________________________________^
[INFO] [stdout] 54 | | move |request: hyper::Request| {
[INFO] [stdout] 55 | | // let counter = counter.clone();
[INFO] [stdout] 56 | | let state = state.clone();
[INFO] [stdout] ... |
[INFO] [stdout] 72 | | },
[INFO] [stdout] 73 | | ))
[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] --> hyper-tide/src/server.rs:110:25
[INFO] [stdout] |
[INFO] [stdout] 107 | state: State,
[INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 108 | request: Request,
[INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 109 | mut route_params: Vec,
[INFO] [stdout] 110 | ) -> Response {
[INFO] [stdout] | _________________________^
[INFO] [stdout] 111 | | // TODO 两个 state
[INFO] [stdout] 112 | | let _state = state;
[INFO] [stdout] 113 | | let path = request.uri().path();
[INFO] [stdout] ... |
[INFO] [stdout] 128 | | response
[INFO] [stdout] 129 | | }
[INFO] [stdout] | |_____^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `hyper-tide` (lib test) due to 11 previous errors
[INFO] running `Command { std: "docker" "inspect" "119f8749c9f72e4c35e1196037bc19f7acf3c91f2c2fa84cb44809cc670ba05a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "119f8749c9f72e4c35e1196037bc19f7acf3c91f2c2fa84cb44809cc670ba05a", kill_on_drop: false }`
[INFO] [stdout] 119f8749c9f72e4c35e1196037bc19f7acf3c91f2c2fa84cb44809cc670ba05a