[INFO] cloning repository https://github.com/HsuJv/axum-websockify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HsuJv/axum-websockify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHsuJv%2Faxum-websockify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHsuJv%2Faxum-websockify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fcbf67d704f6da1dcd0f27a270eb4f29bb669779 [INFO] checking HsuJv/axum-websockify/fcbf67d704f6da1dcd0f27a270eb4f29bb669779 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHsuJv%2Faxum-websockify" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/HsuJv/axum-websockify on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/HsuJv/axum-websockify [INFO] finished tweaking git repo https://github.com/HsuJv/axum-websockify [INFO] tweaked toml for git repo https://github.com/HsuJv/axum-websockify written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/HsuJv/axum-websockify 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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6052873480df3348e98c278c65d84628e2e301612f736b042cdf19a454ce00b [INFO] running `Command { std: "docker" "start" "-a" "f6052873480df3348e98c278c65d84628e2e301612f736b042cdf19a454ce00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6052873480df3348e98c278c65d84628e2e301612f736b042cdf19a454ce00b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6052873480df3348e98c278c65d84628e2e301612f736b042cdf19a454ce00b", kill_on_drop: false }` [INFO] [stdout] f6052873480df3348e98c278c65d84628e2e301612f736b042cdf19a454ce00b [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c306cae42575551e24a65d3a2e7759e6ac66c1b74f8aac5d4e0c8d3cfd49805 [INFO] running `Command { std: "docker" "start" "-a" "0c306cae42575551e24a65d3a2e7759e6ac66c1b74f8aac5d4e0c8d3cfd49805", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.100 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking once_cell v1.15.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling anyhow v1.0.65 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking arc-swap v1.5.1 [INFO] [stderr] Checking sync_wrapper v0.1.1 [INFO] [stderr] Checking matchit v0.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling paste v1.0.9 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking axum-core v0.2.8 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking pin-project v1.0.12 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-tungstenite v0.17.2 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking h2 v0.3.14 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.3.4 [INFO] [stderr] Checking hyper v0.14.20 [INFO] [stderr] Checking axum-server v0.3.3 [INFO] [stderr] Checking axum v0.5.16 [INFO] [stderr] Checking axum-websockify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `tokio::net::TcpStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/agent.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn handle_client(mut client: WebSocket) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let mut server_stream = server_stream.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / tokio::select! { [INFO] [stdout] 69 | | res = client.recv() => { [INFO] [stdout] 70 | | if let Some(msg) = res { [INFO] [stdout] 71 | | #[cfg(not(feature = "ssl"))] [INFO] [stdout] ... | [INFO] [stdout] 115 | | }, [INFO] [stdout] 116 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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: this value of type `tokio::net::TcpStream` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/agent.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub async fn handle_client(mut client: WebSocket) { [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | let mut server_stream = server_stream.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | / tokio::select! { [INFO] [stdout] 69 | | res = client.recv() => { [INFO] [stdout] 70 | | if let Some(msg) = res { [INFO] [stdout] 71 | | #[cfg(not(feature = "ssl"))] [INFO] [stdout] ... | [INFO] [stdout] 115 | | }, [INFO] [stdout] 116 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________| [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may 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] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/config.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if CONFIG.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-websockify` (bin "axum-websockify" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/config.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | if CONFIG.is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `axum-websockify` (bin "axum-websockify") due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0c306cae42575551e24a65d3a2e7759e6ac66c1b74f8aac5d4e0c8d3cfd49805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c306cae42575551e24a65d3a2e7759e6ac66c1b74f8aac5d4e0c8d3cfd49805", kill_on_drop: false }` [INFO] [stdout] 0c306cae42575551e24a65d3a2e7759e6ac66c1b74f8aac5d4e0c8d3cfd49805