[INFO] cloning repository https://github.com/alesiong/http_forward_proxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alesiong/http_forward_proxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Fhttp_forward_proxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falesiong%2Fhttp_forward_proxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9122ae5eef3869b6f8b90b862517578fcc73e07 [INFO] checking alesiong/http_forward_proxy/e9122ae5eef3869b6f8b90b862517578fcc73e07 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%2Falesiong%2Fhttp_forward_proxy" "/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/alesiong/http_forward_proxy 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/alesiong/http_forward_proxy [INFO] finished tweaking git repo https://github.com/alesiong/http_forward_proxy [INFO] tweaked toml for git repo https://github.com/alesiong/http_forward_proxy written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alesiong/http_forward_proxy 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-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] 2985d331ef04d8100022178c9847360460827724f2e7190f61063375be4f8253 [INFO] running `Command { std: "docker" "start" "-a" "2985d331ef04d8100022178c9847360460827724f2e7190f61063375be4f8253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2985d331ef04d8100022178c9847360460827724f2e7190f61063375be4f8253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2985d331ef04d8100022178c9847360460827724f2e7190f61063375be4f8253", kill_on_drop: false }` [INFO] [stdout] 2985d331ef04d8100022178c9847360460827724f2e7190f61063375be4f8253 [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] f6160b7aa158875dee0448f7bb72f03669b28d8d3b111f687e367500a9350998 [INFO] running `Command { std: "docker" "start" "-a" "f6160b7aa158875dee0448f7bb72f03669b28d8d3b111f687e367500a9350998", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking typed-headers v0.2.0 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.2 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Checking tokio v0.2.17 [INFO] [stderr] Checking rustls-native-certs v0.1.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking pin-project v0.4.8 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.12.2 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking hyper v0.13.4 [INFO] [stderr] Checking hyper-rustls v0.19.1 [INFO] [stderr] Checking hyper-proxy v0.6.0 (https://github.com/alesiong/hyper-proxy.git#64367b91) [INFO] [stderr] Checking http_forward_proxy 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:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | handle(req, config).await.or_else(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | eprintln!("error: {}", e); [INFO] [stdout] 60 | Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body("".into()) [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:60:76 [INFO] [stdout] | [INFO] [stdout] 58 | handle(req, config).await.or_else(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | eprintln!("error: {}", e); [INFO] [stdout] 60 | Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body("".into()) [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:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_proxy_connector(connector: HttpConnector, proxy: Proxy) -> ProxyConnector { [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] 95 | ProxyConnector::from_proxy(connector, proxy).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 119 | let inner_config = Arc::clone(&config); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | async move { [INFO] [stdout] 121 | Ok::<_, Infallible>(service_fn(move |req| { forward(req, Arc::clone(&inner_config)) })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 119 | let inner_config = Arc::clone(&config); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | async move { [INFO] [stdout] 121 | Ok::<_, Infallible>(service_fn(move |req| { forward(req, Arc::clone(&inner_config)) })) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_forward_proxy` (bin "http_forward_proxy") due to 6 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:60:9 [INFO] [stdout] | [INFO] [stdout] 58 | handle(req, config).await.or_else(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | eprintln!("error: {}", e); [INFO] [stdout] 60 | Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body("".into()) [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:60:76 [INFO] [stdout] | [INFO] [stdout] 58 | handle(req, config).await.or_else(|e| { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 59 | eprintln!("error: {}", e); [INFO] [stdout] 60 | Response::builder().status(StatusCode::INTERNAL_SERVER_ERROR).body("".into()) [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:95:9 [INFO] [stdout] | [INFO] [stdout] 94 | fn get_proxy_connector(connector: HttpConnector, proxy: Proxy) -> ProxyConnector { [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] 95 | ProxyConnector::from_proxy(connector, proxy).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 119 | let inner_config = Arc::clone(&config); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | async move { [INFO] [stdout] 121 | Ok::<_, Infallible>(service_fn(move |req| { forward(req, Arc::clone(&inner_config)) })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:121:70 [INFO] [stdout] | [INFO] [stdout] 119 | let inner_config = Arc::clone(&config); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 120 | async move { [INFO] [stdout] 121 | Ok::<_, Infallible>(service_fn(move |req| { forward(req, Arc::clone(&inner_config)) })) [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: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http_forward_proxy` (bin "http_forward_proxy" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "f6160b7aa158875dee0448f7bb72f03669b28d8d3b111f687e367500a9350998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6160b7aa158875dee0448f7bb72f03669b28d8d3b111f687e367500a9350998", kill_on_drop: false }` [INFO] [stdout] f6160b7aa158875dee0448f7bb72f03669b28d8d3b111f687e367500a9350998