[INFO] fetching crate httpmock 0.7.0... [INFO] checking httpmock-0.7.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate httpmock 0.7.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate httpmock 0.7.0 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 crates.io crate httpmock 0.7.0 [INFO] finished tweaking crates.io crate httpmock 0.7.0 [INFO] tweaked toml for crates.io crate httpmock 0.7.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate httpmock 0.7.0 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 9db7459bb0abea8fac3a62a71241d9296883a63c4e6b06178dcc108f96bb1cd1 [INFO] running `Command { std: "docker" "start" "-a" "9db7459bb0abea8fac3a62a71241d9296883a63c4e6b06178dcc108f96bb1cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9db7459bb0abea8fac3a62a71241d9296883a63c4e6b06178dcc108f96bb1cd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9db7459bb0abea8fac3a62a71241d9296883a63c4e6b06178dcc108f96bb1cd1", kill_on_drop: false }` [INFO] [stdout] 9db7459bb0abea8fac3a62a71241d9296883a63c4e6b06178dcc108f96bb1cd1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 1b335d3fc4990778754482c8e78343d150dc448e44fc1d8861c607cd20c020fd [INFO] running `Command { std: "docker" "start" "-a" "1b335d3fc4990778754482c8e78343d150dc448e44fc1d8861c607cd20c020fd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking value-bag v1.4.1 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking bitflags v2.4.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking smallvec v1.11.1 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking parking v2.1.1 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Checking linux-raw-sys v0.4.10 [INFO] [stderr] Compiling rustix v0.37.24 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling libnghttp2-sys v0.1.8+1.55.1 [INFO] [stderr] Compiling libz-sys v1.1.12 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling regex-automata v0.4.1 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling hashbrown v0.14.1 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling indexmap v2.0.2 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling curl-sys v0.4.67+curl-8.3.0 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling regex v1.10.0 [INFO] [stderr] Checking async-task v4.4.1 [INFO] [stderr] Compiling tracing-attributes v0.1.26 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking blocking v1.4.1 [INFO] [stderr] Checking url v2.4.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking tokio-util v0.7.9 [INFO] [stderr] Checking async-executor v1.5.4 [INFO] [stderr] Checking async-signal v0.2.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking event-listener v3.0.0 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking async-global-executor v2.3.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling async-trait v0.1.73 [INFO] [stderr] Checking base64 v0.21.4 [INFO] [stderr] Compiling curl v0.4.44 [INFO] [stderr] Compiling rustls v0.21.7 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking rustls-webpki v0.101.6 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Compiling isahc v1.7.2 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Checking serde_regex v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking sluice v0.5.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ipnet v2.8.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking similar v2.3.0 [INFO] [stderr] Checking termcolor v1.3.0 [INFO] [stderr] Checking webpki-roots v0.25.2 [INFO] [stderr] Checking castaway v0.1.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking tokio-test v0.4.3 [INFO] [stderr] Checking ureq v2.8.0 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking colored v2.0.4 [INFO] [stderr] Checking async-object-pool v0.1.4 [INFO] [stderr] Compiling basic-cookies v0.1.4 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.22 [INFO] [stderr] Checking httpmock v0.7.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/api/server.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn mock(&self, config_fn: F) -> Mock [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 220 | self.mock_async(config_fn).join() [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/api/server.rs:302:14 [INFO] [stdout] | [INFO] [stdout] 285 | let (addr_sender, addr_receiver) = tokio::sync::oneshot::channel::(); [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] 286 | let state = Arc::new(MockServerState::default()); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 287 | let server_state = state.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 302 | Arc::new(LocalMockServerAdapter::new(addr, state)) [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/api/server.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 285 | let (addr_sender, addr_receiver) = tokio::sync::oneshot::channel::(); [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 286 | let state = Arc::new(MockServerState::default()); [INFO] [stdout] 287 | let server_state = state.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 290 | let server_state = server_state.clone(); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 291 | let srv = start_server(0, false, &server_state, Some(addr_sender), false, pending()); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 292 | [INFO] [stdout] 293 | let mut runtime = tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 298 | LocalSet::new().block_on(&mut runtime, srv) [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/mod.rs:462:35 [INFO] [stdout] | [INFO] [stdout] 460 | let state = state.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 461 | async move { [INFO] [stdout] 462 | Ok::<_, GenericError>(service_fn(move |req: HyperRequest| { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 463 | | let state = state.clone(); [INFO] [stdout] 464 | | access_log_middleware(req, state, print_access_log, handle_server_request) [INFO] [stdout] 465 | | })) [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/mod.rs:522:8 [INFO] [stdout] | [INFO] [stdout] 494 | let mut builder = HyperResponse::builder(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 517 | let result = builder.body(Body::from(route_response.body)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 522 | Ok(result.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/server/web/handlers.rs:112:47 [INFO] [stdout] | [INFO] [stdout] 112 | .find(|&mock| request_matches(&state, req.clone(), &mock.definition.request)); [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/web/handlers.rs:163:45 [INFO] [stdout] | [INFO] [stdout] 163 | .filter(|a| !request_matches(state, (*a).clone(), mock_rr)) [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/web/routes.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 77 | let mock_rr: serde_json::Result = serde_json::from_slice(&body); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | match handlers::verify(&state, &mock_rr.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: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `httpmock` (lib) due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1b335d3fc4990778754482c8e78343d150dc448e44fc1d8861c607cd20c020fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b335d3fc4990778754482c8e78343d150dc448e44fc1d8861c607cd20c020fd", kill_on_drop: false }` [INFO] [stdout] 1b335d3fc4990778754482c8e78343d150dc448e44fc1d8861c607cd20c020fd