[INFO] fetching crate urchin 0.1.1... [INFO] checking urchin-0.1.1 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate urchin 0.1.1 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate urchin 0.1.1 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate urchin 0.1.1 [INFO] finished tweaking crates.io crate urchin 0.1.1 [INFO] tweaked toml for crates.io crate urchin 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7678cd05cd78c39e4a229810ee3a6fc191c1f6ce257c37fec57c074209ea8e56 [INFO] running `Command { std: "docker" "start" "-a" "7678cd05cd78c39e4a229810ee3a6fc191c1f6ce257c37fec57c074209ea8e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7678cd05cd78c39e4a229810ee3a6fc191c1f6ce257c37fec57c074209ea8e56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7678cd05cd78c39e4a229810ee3a6fc191c1f6ce257c37fec57c074209ea8e56", kill_on_drop: false }` [INFO] [stdout] 7678cd05cd78c39e4a229810ee3a6fc191c1f6ce257c37fec57c074209ea8e56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9854ea7203262afa72865c91e149a0e72281afe753044150813c14a769cc544c [INFO] running `Command { std: "docker" "start" "-a" "9854ea7203262afa72865c91e149a0e72281afe753044150813c14a769cc544c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking urchin v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn err(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | match Rc::try_unwrap(self.inner) { [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] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn ok(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | match Rc::try_unwrap(self.inner) { [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] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn unwrap_err(self) -> E { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | match Rc::try_unwrap(self.inner) { [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] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn unwrap(self) -> T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | match Rc::try_unwrap(self.inner) { [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: method `expect` is never used [INFO] [stdout] --> src/future.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl FutureInner { [INFO] [stdout] | ---------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | fn expect(self, _msg: &str) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:153:15 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn err(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 153 | match Rc::try_unwrap(self.inner) { [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] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:161:15 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn ok(self) -> Option { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 161 | match Rc::try_unwrap(self.inner) { [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] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:170:15 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn unwrap_err(self) -> E { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | match Rc::try_unwrap(self.inner) { [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] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `Result>, Rc>>>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/future.rs:178:15 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn unwrap(self) -> T { [INFO] [stdout] | ---- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 178 | match Rc::try_unwrap(self.inner) { [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: enum `FutureState` is never used [INFO] [stdout] --> src/future.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum FutureState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FutureInner` is never constructed [INFO] [stdout] --> src/future.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FutureInner { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FutureInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/future.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl FutureInner { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 18 | fn promised() -> FutureInner { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn from_val(val: T) -> FutureInner { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn from_err(err: E) -> FutureInner { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | fn unwrap(self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | fn unwrap_err(self) -> E { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | fn expect(self, _msg: &str) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn is_promised(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | fn ok(self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn err(self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn set_ok(&mut self, val: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | fn set_err(&mut self, err: E) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Future` is never constructed [INFO] [stdout] --> src/future.rs:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct Future { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/future.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 110 | impl Future { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 111 | [INFO] [stdout] 112 | pub fn promised() -> (Future, Promise) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn from_val(val: T) -> Future { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn from_err(err: E) -> Future { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn new(inner: Rc>>) -> Future { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_promised(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn is_ok(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn is_err(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn err(self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn ok(self) -> Option { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 169 | pub fn unwrap_err(self) -> E { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub fn unwrap(self) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Promise` is never constructed [INFO] [stdout] --> src/future.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct Promise { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `resolve` are never used [INFO] [stdout] --> src/future.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 194 | impl Promise { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 195 | fn new(inner: Rc>>) -> Promise { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn resolve(self, res: Result) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `urchin` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `urchin` (lib) due to 5 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9854ea7203262afa72865c91e149a0e72281afe753044150813c14a769cc544c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9854ea7203262afa72865c91e149a0e72281afe753044150813c14a769cc544c", kill_on_drop: false }` [INFO] [stdout] 9854ea7203262afa72865c91e149a0e72281afe753044150813c14a769cc544c