[INFO] cloning repository https://github.com/Heasn/Sharing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Heasn/Sharing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHeasn%2FSharing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b16932ad8e1b4d200b284017a5a4e423a97099d0 [INFO] checking Heasn/Sharing/b16932ad8e1b4d200b284017a5a4e423a97099d0 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%2FHeasn%2FSharing" "/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/Heasn/Sharing 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/Heasn/Sharing [INFO] finished tweaking git repo https://github.com/Heasn/Sharing [INFO] tweaked toml for git repo https://github.com/Heasn/Sharing written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Heasn/Sharing 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] 0955ba84b495ca497665df96401fff20fe07aeafd763f349b9e7d8c3232075d9 [INFO] running `Command { std: "docker" "start" "-a" "0955ba84b495ca497665df96401fff20fe07aeafd763f349b9e7d8c3232075d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0955ba84b495ca497665df96401fff20fe07aeafd763f349b9e7d8c3232075d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0955ba84b495ca497665df96401fff20fe07aeafd763f349b9e7d8c3232075d9", kill_on_drop: false }` [INFO] [stdout] 0955ba84b495ca497665df96401fff20fe07aeafd763f349b9e7d8c3232075d9 [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] c6e4f1fe455f9011b6e2263066e44a4e6344df196db5b3790f0ff4760bfab829 [INFO] running `Command { std: "docker" "start" "-a" "c6e4f1fe455f9011b6e2263066e44a4e6344df196db5b3790f0ff4760bfab829", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Compiling Sharing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `runtime_library_paths` is never read [INFO] [stdout] --> build.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct SwiftPaths { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 22 | runtime_library_paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwiftPaths` 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: field `paths` is never read [INFO] [stdout] --> build.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 28 | struct SwiftTarget { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 29 | // target: SwiftTargetInfo, [INFO] [stdout] 30 | paths: SwiftPaths, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwiftTarget` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 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/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 12 | || match listener.accept().await { [INFO] [stdout] 13 | || Ok((mut socket, _)) => { [INFO] [stdout] 14 | || tokio::spawn(async move { [INFO] [stdout] ... || [INFO] [stdout] 61 | || } [INFO] [stdout] 62 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] warning: `extern` block uses type `crossbeam::crossbeam_channel::Sender>`, which is not FFI-safe [INFO] [stdout] --> src/sharing_core.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | extra: *mut Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `crossbeam::crossbeam_channel::Sender>`, which is not FFI-safe [INFO] [stdout] --> src/sharing_core.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | cb: extern "C" fn(*mut Sender>, *const c_uchar, c_int), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Sharing` (bin "Sharing" test) due to 2 previous errors; 2 warnings emitted [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:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | loop { [INFO] [stdout] | _____^ - [INFO] [stdout] | |__________| [INFO] [stdout] 12 | || match listener.accept().await { [INFO] [stdout] 13 | || Ok((mut socket, _)) => { [INFO] [stdout] 14 | || tokio::spawn(async move { [INFO] [stdout] ... || [INFO] [stdout] 61 | || } [INFO] [stdout] 62 | || } [INFO] [stdout] | ||_____^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_____| [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] warning: `extern` block uses type `crossbeam::crossbeam_channel::Sender>`, which is not FFI-safe [INFO] [stdout] --> src/sharing_core.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | extra: *mut Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `crossbeam::crossbeam_channel::Sender>`, which is not FFI-safe [INFO] [stdout] --> src/sharing_core.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | cb: extern "C" fn(*mut Sender>, *const c_uchar, c_int), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Sharing` (bin "Sharing") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c6e4f1fe455f9011b6e2263066e44a4e6344df196db5b3790f0ff4760bfab829", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6e4f1fe455f9011b6e2263066e44a4e6344df196db5b3790f0ff4760bfab829", kill_on_drop: false }` [INFO] [stdout] c6e4f1fe455f9011b6e2263066e44a4e6344df196db5b3790f0ff4760bfab829