[INFO] fetching crate xbdm 0.1.0-alpha... [INFO] building xbdm-0.1.0-alpha against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate xbdm 0.1.0-alpha into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate xbdm 0.1.0-alpha 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 crates.io crate xbdm 0.1.0-alpha [INFO] finished tweaking crates.io crate xbdm 0.1.0-alpha [INFO] tweaked toml for crates.io crate xbdm 0.1.0-alpha written to /workspace/builds/worker-7-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 171a52b45e1b43f6b261b978d5b0e647274e9707af99a8ecdb929a1b9e4e02f6 [INFO] running `Command { std: "docker" "start" "-a" "171a52b45e1b43f6b261b978d5b0e647274e9707af99a8ecdb929a1b9e4e02f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "171a52b45e1b43f6b261b978d5b0e647274e9707af99a8ecdb929a1b9e4e02f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "171a52b45e1b43f6b261b978d5b0e647274e9707af99a8ecdb929a1b9e4e02f6", kill_on_drop: false }` [INFO] [stdout] 171a52b45e1b43f6b261b978d5b0e647274e9707af99a8ecdb929a1b9e4e02f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] a730c7fd359c2627fd163856f990ae19123be2534bd6e41c9f608c6ac2c94a80 [INFO] running `Command { std: "docker" "start" "-a" "a730c7fd359c2627fd163856f990ae19123be2534bd6e41c9f608c6ac2c94a80", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling xbdm v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/client.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn execute<'a, E>(&'a mut self, expect: E, command: &'a str) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 98 | -> Result [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | where E: Into>, C: Into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | where E: Into>, C: Into [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | ErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Take` and `Give` are never constructed [INFO] [stdout] --> src/client.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 63 | enum Stream { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Take(io::Take), [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | Give(Give), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` 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: associated function `new` is never used [INFO] [stdout] --> src/client.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 329 | impl Give { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 330 | pub fn new(inner: T, limit: u64) -> Give { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "a730c7fd359c2627fd163856f990ae19123be2534bd6e41c9f608c6ac2c94a80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a730c7fd359c2627fd163856f990ae19123be2534bd6e41c9f608c6ac2c94a80", kill_on_drop: false }` [INFO] [stdout] a730c7fd359c2627fd163856f990ae19123be2534bd6e41c9f608c6ac2c94a80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecd7df63b3264b88cb8e2f5501dbf3f78c87fbe9c212364d6e8a68b9b4be30fc [INFO] running `Command { std: "docker" "start" "-a" "ecd7df63b3264b88cb8e2f5501dbf3f78c87fbe9c212364d6e8a68b9b4be30fc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/client.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn execute<'a, E>(&'a mut self, expect: E, command: &'a str) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 98 | -> Result [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | where E: Into>, C: Into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | where E: Into>, C: Into [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | ErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Take` and `Give` are never constructed [INFO] [stdout] --> src/client.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 63 | enum Stream { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Take(io::Take), [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | Give(Give), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` 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: associated function `new` is never used [INFO] [stdout] --> src/client.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 329 | impl Give { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 330 | pub fn new(inner: T, limit: u64) -> Give { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xbdm v0.1.0-alpha (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/client.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn execute<'a, E>(&'a mut self, expect: E, command: &'a str) [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] 98 | -> Result [INFO] [stdout] | ^^^^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | where E: Into>, C: Into [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 43 | where E: Into>, C: Into [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:93:43 [INFO] [stdout] | [INFO] [stdout] 93 | ErrorKind::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Take` and `Give` are never constructed [INFO] [stdout] --> src/client.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 63 | enum Stream { [INFO] [stdout] | ------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 67 | Take(io::Take), [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | Give(Give), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stream` 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: associated function `new` is never used [INFO] [stdout] --> src/client.rs:330:12 [INFO] [stdout] | [INFO] [stdout] 329 | impl Give { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 330 | pub fn new(inner: T, limit: u64) -> Give { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "ecd7df63b3264b88cb8e2f5501dbf3f78c87fbe9c212364d6e8a68b9b4be30fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecd7df63b3264b88cb8e2f5501dbf3f78c87fbe9c212364d6e8a68b9b4be30fc", kill_on_drop: false }` [INFO] [stdout] ecd7df63b3264b88cb8e2f5501dbf3f78c87fbe9c212364d6e8a68b9b4be30fc