[INFO] cloning repository https://github.com/cpecu/di-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cpecu/di-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcpecu%2Fdi-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07543317f6502ec8c2c41386e40b149ccfe2200a [INFO] checking cpecu/di-server/07543317f6502ec8c2c41386e40b149ccfe2200a 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%2Fcpecu%2Fdi-server" "/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/cpecu/di-server 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/cpecu/di-server [INFO] finished tweaking git repo https://github.com/cpecu/di-server [INFO] tweaked toml for git repo https://github.com/cpecu/di-server written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/cpecu/di-server 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] [stderr] warning: unused manifest key: package.default_run [INFO] [stderr] warning: unused manifest key: profile.dev.opt [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] 2bdcea1eed030649e51d10dff64e68383e65ff625a59b23cbde0ae21d38d76c3 [INFO] running `Command { std: "docker" "start" "-a" "2bdcea1eed030649e51d10dff64e68383e65ff625a59b23cbde0ae21d38d76c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2bdcea1eed030649e51d10dff64e68383e65ff625a59b23cbde0ae21d38d76c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bdcea1eed030649e51d10dff64e68383e65ff625a59b23cbde0ae21d38d76c3", kill_on_drop: false }` [INFO] [stdout] 2bdcea1eed030649e51d10dff64e68383e65ff625a59b23cbde0ae21d38d76c3 [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] af7870ffefc4440cb22cd8a5a3cd8c7f80d2428f0f15cc04d2bc1206a1ea70f5 [INFO] running `Command { std: "docker" "start" "-a" "af7870ffefc4440cb22cd8a5a3cd8c7f80d2428f0f15cc04d2bc1206a1ea70f5", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.default_run [INFO] [stderr] warning: unused manifest key: profile.dev.opt [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling const_fn v0.4.3 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking dhttp v0.1.0 (/opt/rustwide/workdir/crates/dhttp) [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stdout] warning: unused import: `From` [INFO] [stdout] --> crates/dhttp/src/method.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | From, TryFrom, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Infallible` [INFO] [stdout] --> crates/dhttp/src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | convert::{Infallible, TryFrom}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking dpool v0.1.0 (/opt/rustwide/workdir/crates/dpool) [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> crates/dhttp/src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let string = match self { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> crates/dhttp/src/header.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Header(HashMap); [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `Header` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `key` and `value` are never read [INFO] [stdout] --> crates/dhttp/src/cookie.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Cookie<'a> { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 2 | key: &'a str, [INFO] [stdout] | ^^^ [INFO] [stdout] 3 | value: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering`, `collections::HashMap`, and `rc` [INFO] [stdout] --> crates/dpool/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | collections::HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | io, rc, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 8 | atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stdout] warning: associated function `timer` is never used [INFO] [stdout] --> crates/dpool/src/lib.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl ThreadPool { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | fn timer(send: mpsc::SyncSender) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Pulse` is never constructed [INFO] [stdout] --> crates/dpool/src/lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 102 | enum Msg { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 105 | Pulse(u16), [INFO] [stdout] | ^^^^^ [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] --> crates/dpool/src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 27 | let (snd, rcv): (Sender, Receiver) = mpsc::channel(); [INFO] [stdout] | --- --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | let rcv = Arc::new(Mutex::new(rcv)); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | let mut workers = Vec::with_capacity(num_workers); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 33 | Ok( Self { workers, snd } ) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> crates/dpool/src/lib.rs:98:28 [INFO] [stdout] | [INFO] [stdout] 80 | fn new(id: usize, rcv: Arc>>) -> Self { [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 81 | let work_thread = thread::Builder::new() [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | Self { id, thread: Some(work_thread) } [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 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dpool` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "af7870ffefc4440cb22cd8a5a3cd8c7f80d2428f0f15cc04d2bc1206a1ea70f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af7870ffefc4440cb22cd8a5a3cd8c7f80d2428f0f15cc04d2bc1206a1ea70f5", kill_on_drop: false }` [INFO] [stdout] af7870ffefc4440cb22cd8a5a3cd8c7f80d2428f0f15cc04d2bc1206a1ea70f5