[INFO] cloning repository https://github.com/FideoJ/rtc_turn_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FideoJ/rtc_turn_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFideoJ%2Frtc_turn_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFideoJ%2Frtc_turn_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d4c71b7cb15fdea787bc39d8a3b0ad6e2ce4437 [INFO] checking FideoJ/rtc_turn_server/1d4c71b7cb15fdea787bc39d8a3b0ad6e2ce4437 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%2FFideoJ%2Frtc_turn_server" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FideoJ/rtc_turn_server 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/FideoJ/rtc_turn_server [INFO] finished tweaking git repo https://github.com/FideoJ/rtc_turn_server [INFO] tweaked toml for git repo https://github.com/FideoJ/rtc_turn_server written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/FideoJ/rtc_turn_server 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding rtc_turn_server v0.1.0 (/workspace/builds/worker-4-tc2/source) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8b3ae364e69414506be1ec516cea9519fc2a261fc066c32b755fc49310337f26 [INFO] running `Command { std: "docker" "start" "-a" "8b3ae364e69414506be1ec516cea9519fc2a261fc066c32b755fc49310337f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b3ae364e69414506be1ec516cea9519fc2a261fc066c32b755fc49310337f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b3ae364e69414506be1ec516cea9519fc2a261fc066c32b755fc49310337f26", kill_on_drop: false }` [INFO] [stdout] 8b3ae364e69414506be1ec516cea9519fc2a261fc066c32b755fc49310337f26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8d30ef627d222d97544dff83a8a2a25762bac7c6d4670ce0a880cc9fc8b1337f [INFO] running `Command { std: "docker" "start" "-a" "8d30ef627d222d97544dff83a8a2a25762bac7c6d4670ce0a880cc9fc8b1337f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.42 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling tokio v1.20.1 [INFO] [stderr] Compiling webrtc-util v0.5.4 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking nix v0.24.2 [INFO] [stderr] Checking num_cpus v0.2.13 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking rtc_turn_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/chandata/mod.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_channel_data(buf: &[u8]) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `buf` [INFO] [stdout] --> src/chandata/mod.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_channel_data(buf: &[u8]) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_buf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `number` is never read [INFO] [stdout] --> src/chandata/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChannelData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `encode` are never used [INFO] [stdout] --> src/chandata/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ChannelData { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 11 | // Reset resets Length, Data and Raw length. [INFO] [stdout] 12 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn encode(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `src_addr`, and `channel_bind_timeout` are never read [INFO] [stdout] --> src/server/request.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | // Current Request State [INFO] [stdout] 12 | pub conn: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub src_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub channel_bind_timeout: Duration, [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:44:20 [INFO] [stdout] | [INFO] [stdout] 22 | let mut conns: Vec> = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let server = Server::new(config::ServerConfig { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | server.close().await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/error.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(e: io::Error) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Error::Io(IoError(e)) [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] warning: field `number` is never read [INFO] [stdout] --> src/chandata/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ChannelData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub number: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChannelData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reset` and `encode` are never used [INFO] [stdout] --> src/chandata/mod.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl ChannelData { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] 11 | // Reset resets Length, Data and Raw length. [INFO] [stdout] 12 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn encode(&mut self) {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `conn`, `src_addr`, and `channel_bind_timeout` are never read [INFO] [stdout] --> src/server/request.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 11 | // Current Request State [INFO] [stdout] 12 | pub conn: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub src_addr: SocketAddr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub channel_bind_timeout: Duration, [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:44:20 [INFO] [stdout] | [INFO] [stdout] 22 | let mut conns: Vec> = Vec::new(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 34 | let server = Server::new(config::ServerConfig { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 44 | server.close().await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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: aborting due to 2 previous errors; 4 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/error.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 34 | fn from(e: io::Error) -> Self { [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 35 | Error::Io(IoError(e)) [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 `rtc_turn_server` (bin "rtc_turn_server") due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rtc_turn_server` (bin "rtc_turn_server" test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8d30ef627d222d97544dff83a8a2a25762bac7c6d4670ce0a880cc9fc8b1337f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d30ef627d222d97544dff83a8a2a25762bac7c6d4670ce0a880cc9fc8b1337f", kill_on_drop: false }` [INFO] [stdout] 8d30ef627d222d97544dff83a8a2a25762bac7c6d4670ce0a880cc9fc8b1337f