[INFO] cloning repository https://github.com/suaviloquence/parrot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/suaviloquence/parrot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df7e9d632d6fdc549f7ad09edeb8214ae9d61a6b [INFO] building suaviloquence/parrot against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsuaviloquence%2Fparrot" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/suaviloquence/parrot on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/suaviloquence/parrot [INFO] finished tweaking git repo https://github.com/suaviloquence/parrot [INFO] tweaked toml for git repo https://github.com/suaviloquence/parrot written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 650f92f73ab155744ab973f05a8e5414e5aa13b6400de715b59546182e379630 [INFO] running `Command { std: "docker" "start" "-a" "650f92f73ab155744ab973f05a8e5414e5aa13b6400de715b59546182e379630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "650f92f73ab155744ab973f05a8e5414e5aa13b6400de715b59546182e379630", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "650f92f73ab155744ab973f05a8e5414e5aa13b6400de715b59546182e379630", kill_on_drop: false }` [INFO] [stdout] 650f92f73ab155744ab973f05a8e5414e5aa13b6400de715b59546182e379630 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb6466135efa6a82bc8f1ad77e10848c0ab3f894eaa4c16e918bc5c041676b76 [INFO] running `Command { std: "docker" "start" "-a" "cb6466135efa6a82bc8f1ad77e10848c0ab3f894eaa4c16e918bc5c041676b76", kill_on_drop: false }` [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling parrot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decode::*` [INFO] [stdout] --> src/bencode/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use decode::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mock_stream::*` [INFO] [stdout] --> src/test/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use mock_stream::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TrackerEvent` [INFO] [stdout] --> src/tracker/mod.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | pub use tracker_request::{TrackerEvent, TrackerRequest}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/main.rs:128:10 [INFO] [stdout] | [INFO] [stdout] 128 | match config.notify.run(addr.ip()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 131 | / thread::spawn(move || match c.wait() { [INFO] [stdout] 132 | | Ok(code) => { [INFO] [stdout] 133 | | if !code.success() { [INFO] [stdout] 134 | | eprintln!( [INFO] [stdout] ... | [INFO] [stdout] 145 | | }); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______________________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/thread/mod.rs:1686:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/alloc/src/ffi/c_str.rs:694:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/sys/pal/unix/thread.rs:321:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_dec_digit` is never used [INFO] [stdout] --> src/bencode/decode.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn to_dec_digit(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_iter` is never used [INFO] [stdout] --> src/bencode/decode.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn decode_iter(bytes: &mut impl Iterator) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode` is never used [INFO] [stdout] --> src/bencode/decode.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn decode(data: impl Into>) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `try_decode_from` is never used [INFO] [stdout] --> src/bencode/decode.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn try_decode_from, D: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `to_alphanumeric_or_hex` are never used [INFO] [stdout] --> src/bytes.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait BytesExt { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 2 | fn to_hex_string(&self) -> String; [INFO] [stdout] 3 | fn to_string(&self) -> String; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 4 | fn to_alphanumeric_or_hex(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `url_encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:42:4 [INFO] [stdout] | [INFO] [stdout] 42 | fn url_encode(s: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode` is never used [INFO] [stdout] --> src/tracker/query_string.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn encode(data: QueryString) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `parrot` (bin "parrot") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cb6466135efa6a82bc8f1ad77e10848c0ab3f894eaa4c16e918bc5c041676b76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6466135efa6a82bc8f1ad77e10848c0ab3f894eaa4c16e918bc5c041676b76", kill_on_drop: false }` [INFO] [stdout] cb6466135efa6a82bc8f1ad77e10848c0ab3f894eaa4c16e918bc5c041676b76