[INFO] cloning repository https://github.com/Dangornushi/P2P_Chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dangornushi/P2P_Chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2FP2P_Chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDangornushi%2FP2P_Chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95e4e166ca1d97b97795ba0593934e28fa567128 [INFO] checking Dangornushi/P2P_Chat/95e4e166ca1d97b97795ba0593934e28fa567128 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%2FDangornushi%2FP2P_Chat" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Dangornushi/P2P_Chat 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/Dangornushi/P2P_Chat [INFO] finished tweaking git repo https://github.com/Dangornushi/P2P_Chat [INFO] tweaked toml for git repo https://github.com/Dangornushi/P2P_Chat written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Dangornushi/P2P_Chat 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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 69894d4c00c8901a5777440c9235056070d302ca69d49ac2d3ab09c43f10eb07 [INFO] running `Command { std: "docker" "start" "-a" "69894d4c00c8901a5777440c9235056070d302ca69d49ac2d3ab09c43f10eb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69894d4c00c8901a5777440c9235056070d302ca69d49ac2d3ab09c43f10eb07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69894d4c00c8901a5777440c9235056070d302ca69d49ac2d3ab09c43f10eb07", kill_on_drop: false }` [INFO] [stdout] 69894d4c00c8901a5777440c9235056070d302ca69d49ac2d3ab09c43f10eb07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 05749bbd5f3a5264086b40c7b952a397de2d0575b8bf2646cd384d200221df51 [INFO] running `Command { std: "docker" "start" "-a" "05749bbd5f3a5264086b40c7b952a397de2d0575b8bf2646cd384d200221df51", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking quick-protobuf v0.8.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bs58 v0.5.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking time v0.3.35 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking base64 v0.22.0 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Checking pem v3.0.4 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling prometheus-client v0.22.2 [INFO] [stderr] Checking nohash-hasher v0.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking hex_fmt v0.3.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking rcgen v0.11.3 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.1 [INFO] [stderr] Checking netlink-packet-core v0.4.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking quinn-udp v0.4.1 [INFO] [stderr] Checking netlink-packet-route v0.12.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking quinn-proto v0.10.6 [INFO] [stderr] Checking futures-rustls v0.24.0 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling enum-as-inner v0.6.0 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking libp2p-identity v0.2.8 [INFO] [stderr] Checking x25519-dalek v2.0.1 [INFO] [stderr] Checking multiaddr v0.18.1 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking asynchronous-codec v0.7.0 [INFO] [stderr] Checking hickory-proto v0.24.0 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking quick-protobuf-codec v0.3.1 [INFO] [stderr] Checking rw-stream-sink v0.4.0 [INFO] [stderr] Checking multistream-select v0.13.0 [INFO] [stderr] Checking yamux v0.13.1 [INFO] [stderr] Checking yamux v0.12.1 [INFO] [stderr] Checking futures-ticker v0.0.3 [INFO] [stderr] Checking libp2p-core v0.41.2 [INFO] [stderr] Checking libp2p-tls v0.3.0 [INFO] [stderr] Checking libp2p-noise v0.44.0 [INFO] [stderr] Checking libp2p-yamux v0.45.1 [INFO] [stderr] Checking netlink-sys v0.8.6 [INFO] [stderr] Checking libp2p-swarm v0.44.1 [INFO] [stderr] Checking quinn v0.10.2 [INFO] [stderr] Checking netlink-proto v0.10.0 [INFO] [stderr] Checking rtnetlink v0.10.1 [INFO] [stderr] Checking if-watch v3.2.0 [INFO] [stderr] Checking libp2p-tcp v0.41.0 [INFO] [stderr] Checking libp2p-quic v0.10.2 [INFO] [stderr] Checking libp2p-connection-limits v0.3.1 [INFO] [stderr] Checking libp2p-allow-block-list v0.3.0 [INFO] [stderr] Checking libp2p-gossipsub v0.46.1 [INFO] [stderr] Checking libp2p-mdns v0.45.1 [INFO] [stderr] Checking libp2p v0.53.2 [INFO] [stderr] Checking chat v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 95 | SwarmEvent::NewListenAddr { address, .. } => println!("Listening on {address:?}"), [INFO] [stdout] | ----------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 116 | SwarmEvent::NewListenAddr { address, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 95 | SwarmEvent::NewListenAddr { address, .. } => println!("Listening on {address:?}"), [INFO] [stdout] | ----------------------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 116 | SwarmEvent::NewListenAddr { address, .. } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [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:56:16 [INFO] [stdout] | [INFO] [stdout] 41 | let gossipsub_config = gossipsub::ConfigBuilder::default() [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let gossipsub = gossipsub::Behaviour::new( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mdns = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | mdns::tokio::Behaviour::new(mdns::Config::default(), key.public().to_peer_id())?; [INFO] [stdout] 56 | Ok(MyBehaviour { gossipsub, mdns }) [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] | 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 1 previous error; 2 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:56:16 [INFO] [stdout] | [INFO] [stdout] 41 | let gossipsub_config = gossipsub::ConfigBuilder::default() [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | let gossipsub = gossipsub::Behaviour::new( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mdns = [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | mdns::tokio::Behaviour::new(mdns::Config::default(), key.public().to_peer_id())?; [INFO] [stdout] 56 | Ok(MyBehaviour { gossipsub, mdns }) [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] | 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] [stderr] error: could not compile `chat` (bin "chat" test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chat` (bin "chat") due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "05749bbd5f3a5264086b40c7b952a397de2d0575b8bf2646cd384d200221df51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05749bbd5f3a5264086b40c7b952a397de2d0575b8bf2646cd384d200221df51", kill_on_drop: false }` [INFO] [stdout] 05749bbd5f3a5264086b40c7b952a397de2d0575b8bf2646cd384d200221df51