[INFO] cloning repository https://github.com/derekdreery/cargo-docserve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/derekdreery/cargo-docserve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderekdreery%2Fcargo-docserve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fderekdreery%2Fcargo-docserve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5763b37975d1a9b795aee566446099ce7479afbc [INFO] checking derekdreery/cargo-docserve/5763b37975d1a9b795aee566446099ce7479afbc 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%2Fderekdreery%2Fcargo-docserve" "/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/derekdreery/cargo-docserve 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/derekdreery/cargo-docserve [INFO] finished tweaking git repo https://github.com/derekdreery/cargo-docserve [INFO] tweaked toml for git repo https://github.com/derekdreery/cargo-docserve written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/derekdreery/cargo-docserve 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] 0ec39ba20a73e6e73a1da60aaf069b63197b27390b24e6acee390e070073b14d [INFO] running `Command { std: "docker" "start" "-a" "0ec39ba20a73e6e73a1da60aaf069b63197b27390b24e6acee390e070073b14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ec39ba20a73e6e73a1da60aaf069b63197b27390b24e6acee390e070073b14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ec39ba20a73e6e73a1da60aaf069b63197b27390b24e6acee390e070073b14d", kill_on_drop: false }` [INFO] [stdout] 0ec39ba20a73e6e73a1da60aaf069b63197b27390b24e6acee390e070073b14d [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] 2e9c8664fd811bd42c01ab9a511b23a14bccc7f0fdee6677864b2f28e4f3fe8a [INFO] running `Command { std: "docker" "start" "-a" "2e9c8664fd811bd42c01ab9a511b23a14bccc7f0fdee6677864b2f28e4f3fe8a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking tinyvec v1.3.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling tokio v1.10.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking unicode-bidi v0.3.6 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling camino v1.0.5 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking socket2 v0.4.1 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking inotify v0.9.3 [INFO] [stderr] Checking filetime v0.2.15 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking notify v5.0.0-pre.11 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Compiling structopt-derive v0.4.15 [INFO] [stderr] Compiling qu-derive v0.2.1 [INFO] [stderr] Checking structopt v0.3.22 [INFO] [stderr] Checking qu v0.2.1 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking cargo-platform v0.1.2 [INFO] [stderr] Checking cargo_metadata v0.14.0 [INFO] [stderr] Checking hyper-staticfile v0.6.0 [INFO] [stderr] Checking cargo-serve-docs v0.1.0 (/opt/rustwide/workdir) [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:93:12 [INFO] [stdout] | [INFO] [stdout] 91 | let metadata = opt.metadata()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let doc_dir = format!("{}/doc", metadata.target_directory); [INFO] [stdout] 93 | Ok(Config { [INFO] [stdout] | ____________^ [INFO] [stdout] 94 | | address: (host, opt.port).into(), [INFO] [stdout] 95 | | watch: if opt.watch { [INFO] [stdout] 96 | | Some(opt.watch_extra.into_iter().map(Into::into).collect()) [INFO] [stdout] ... | [INFO] [stdout] 103 | | doc_dir, [INFO] [stdout] 104 | | }) [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] | [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] --> src/main.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 146 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | async move { [INFO] [stdout] 148 | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 149 | | // clone for each request [INFO] [stdout] 150 | | let config = config.clone(); [INFO] [stdout] 151 | | handle(config, req) [INFO] [stdout] 152 | | })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo_doc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn watch(config: Arc) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (tx, rx) = unbounded(); [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] 53 | let (run_tx, run_rx) = unbounded(); [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] ... [INFO] [stdout] 56 | let mut watcher = notify::RecommendedWatcher::new({ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let notify_thread = thread::spawn({ [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let run_tx = run_tx.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let cargo_thread = thread::spawn({ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(move || { [INFO] [stdout] | ________^ [INFO] [stdout] 129 | | // ignore errors since that means the thread is gone anyway. [INFO] [stdout] 130 | | let _ = tx.send(NotifyMsg::Shutdown); [INFO] [stdout] 131 | | let _ = run_tx.send(CargoMsg::Shutdown); [INFO] [stdout] 132 | | notify_thread.join().unwrap(); [INFO] [stdout] 133 | | cargo_thread.join().unwrap(); [INFO] [stdout] 134 | | }) [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] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-serve-docs` (bin "cargo-serve-docs" test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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:93:12 [INFO] [stdout] | [INFO] [stdout] 91 | let metadata = opt.metadata()?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 92 | let doc_dir = format!("{}/doc", metadata.target_directory); [INFO] [stdout] 93 | Ok(Config { [INFO] [stdout] | ____________^ [INFO] [stdout] 94 | | address: (host, opt.port).into(), [INFO] [stdout] 95 | | watch: if opt.watch { [INFO] [stdout] 96 | | Some(opt.watch_extra.into_iter().map(Into::into).collect()) [INFO] [stdout] ... | [INFO] [stdout] 103 | | doc_dir, [INFO] [stdout] 104 | | }) [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] | [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] --> src/main.rs:148:41 [INFO] [stdout] | [INFO] [stdout] 146 | let config = config.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 147 | async move { [INFO] [stdout] 148 | Ok::<_, Infallible>(service_fn(move |req: Request| { [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 149 | | // clone for each request [INFO] [stdout] 150 | | let config = config.clone(); [INFO] [stdout] 151 | | handle(config, req) [INFO] [stdout] 152 | | })) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/cargo_doc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) fn watch(config: Arc) -> Result { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | let (tx, rx) = unbounded(); [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] 53 | let (run_tx, run_rx) = unbounded(); [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] ... [INFO] [stdout] 56 | let mut watcher = notify::RecommendedWatcher::new({ [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | let tx = tx.clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | let notify_thread = thread::spawn({ [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 85 | let run_tx = run_tx.clone(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 106 | let cargo_thread = thread::spawn({ [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 128 | Ok(move || { [INFO] [stdout] | ________^ [INFO] [stdout] 129 | | // ignore errors since that means the thread is gone anyway. [INFO] [stdout] 130 | | let _ = tx.send(NotifyMsg::Shutdown); [INFO] [stdout] 131 | | let _ = run_tx.send(CargoMsg::Shutdown); [INFO] [stdout] 132 | | notify_thread.join().unwrap(); [INFO] [stdout] 133 | | cargo_thread.join().unwrap(); [INFO] [stdout] 134 | | }) [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] | [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 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-serve-docs` (bin "cargo-serve-docs") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "2e9c8664fd811bd42c01ab9a511b23a14bccc7f0fdee6677864b2f28e4f3fe8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e9c8664fd811bd42c01ab9a511b23a14bccc7f0fdee6677864b2f28e4f3fe8a", kill_on_drop: false }` [INFO] [stdout] 2e9c8664fd811bd42c01ab9a511b23a14bccc7f0fdee6677864b2f28e4f3fe8a