[INFO] cloning repository https://github.com/badboy/mdbook-dtmo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/badboy/mdbook-dtmo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fmdbook-dtmo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbadboy%2Fmdbook-dtmo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bac4288350c4bffdf30c771dac844dd0ff469bb [INFO] checking badboy/mdbook-dtmo/6bac4288350c4bffdf30c771dac844dd0ff469bb 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%2Fbadboy%2Fmdbook-dtmo" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/badboy/mdbook-dtmo 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/badboy/mdbook-dtmo [INFO] finished tweaking git repo https://github.com/badboy/mdbook-dtmo [INFO] tweaked toml for git repo https://github.com/badboy/mdbook-dtmo written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/badboy/mdbook-dtmo 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 75aeab176ca717bccb5cf2a6ff0e88ba41524493f7c4e2397f9ce62dad01f42d [INFO] running `Command { std: "docker" "start" "-a" "75aeab176ca717bccb5cf2a6ff0e88ba41524493f7c4e2397f9ce62dad01f42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75aeab176ca717bccb5cf2a6ff0e88ba41524493f7c4e2397f9ce62dad01f42d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75aeab176ca717bccb5cf2a6ff0e88ba41524493f7c4e2397f9ce62dad01f42d", kill_on_drop: false }` [INFO] [stdout] 75aeab176ca717bccb5cf2a6ff0e88ba41524493f7c4e2397f9ce62dad01f42d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9cf2d2fc8f302fa2de02c634e0685d5765db63534d804c8c26529e1a8a19cd61 [INFO] running `Command { std: "docker" "start" "-a" "9cf2d2fc8f302fa2de02c634e0685d5765db63534d804c8c26529e1a8a19cd61", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Checking futures-sink v0.3.29 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking cpufeatures v0.2.11 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking anstream v0.6.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking base64 v0.21.5 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ucd-trie v0.1.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Compiling syn v2.0.41 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking iana-time-zone v0.1.58 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking shlex v1.2.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking topological-sort v0.2.2 [INFO] [stderr] Checking combine v4.6.6 [INFO] [stderr] Checking toml_datetime v0.5.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking notify-debouncer-mini v0.4.1 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Compiling semver v1.0.18 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking tempfile v3.8.1 [INFO] [stderr] Checking clap_builder v4.4.11 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking bstr v1.8.0 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Checking predicates v3.0.3 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking opener v0.6.1 [INFO] [stderr] Checking assert_cmd v2.0.12 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Checking ignore v0.4.21 [INFO] [stderr] Checking tokio v1.35.0 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Checking toml_edit v0.15.0 [INFO] [stderr] Checking clap v4.4.11 [INFO] [stderr] Checking clap_complete v4.4.4 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Checking serde v1.0.193 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking handlebars v4.5.0 [INFO] [stderr] Checking elasticlunr-rs v3.0.2 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking ammonia v3.3.0 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking select v0.6.0 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking warp v0.3.6 [INFO] [stderr] Checking mdbook v0.4.36 [INFO] [stderr] Checking mdbook-open-on-gh v2.4.2 [INFO] [stderr] Checking mdbook-toc v0.14.2 [INFO] [stderr] Checking mdbook-mermaid v0.13.0 [INFO] [stderr] Checking mdbook-dtmo v0.15.2 (/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/cmd/command_prelude.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn arg_dest_dir(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | self._arg( [INFO] [stdout] 11 | / Arg::new("dest-dir") [INFO] [stdout] 12 | | .short('d') [INFO] [stdout] 13 | | .long("dest-dir") [INFO] [stdout] 14 | | .value_name("dest-dir") [INFO] [stdout] ... | [INFO] [stdout] 20 | | or defaults to `./book`.", [INFO] [stdout] 21 | | ), [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/cmd/command_prelude.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn arg_root_dir(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | self._arg( [INFO] [stdout] 27 | / Arg::new("dir") [INFO] [stdout] 28 | | .help( [INFO] [stdout] 29 | | "Root directory for the book\n\ [INFO] [stdout] 30 | | (Defaults to the current directory when omitted)", [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | .value_parser(clap::value_parser!(PathBuf)), [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/cmd/serve.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|ws: warp::ws::Ws, mut rx: broadcast::Receiver| { [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] 149 | ws.on_upgrade(move |ws| async move { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 150 | | let (mut user_ws_tx, _user_ws_rx) = ws.split(); [INFO] [stdout] 151 | | trace!("websocket got connection"); [INFO] [stdout] 152 | | if let Ok(m) = rx.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | }) [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 `mdbook-dtmo` (bin "mdbook-dtmo") 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/cmd/command_prelude.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn arg_dest_dir(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 10 | self._arg( [INFO] [stdout] 11 | / Arg::new("dest-dir") [INFO] [stdout] 12 | | .short('d') [INFO] [stdout] 13 | | .long("dest-dir") [INFO] [stdout] 14 | | .value_name("dest-dir") [INFO] [stdout] ... | [INFO] [stdout] 20 | | or defaults to `./book`.", [INFO] [stdout] 21 | | ), [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/cmd/command_prelude.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 25 | fn arg_root_dir(self) -> Self { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | self._arg( [INFO] [stdout] 27 | / Arg::new("dir") [INFO] [stdout] 28 | | .help( [INFO] [stdout] 29 | | "Root directory for the book\n\ [INFO] [stdout] 30 | | (Defaults to the current directory when omitted)", [INFO] [stdout] 31 | | ) [INFO] [stdout] 32 | | .value_parser(clap::value_parser!(PathBuf)), [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/cmd/serve.rs:149:27 [INFO] [stdout] | [INFO] [stdout] 148 | .map(|ws: warp::ws::Ws, mut rx: broadcast::Receiver| { [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] 149 | ws.on_upgrade(move |ws| async move { [INFO] [stdout] | ___________________________^ [INFO] [stdout] 150 | | let (mut user_ws_tx, _user_ws_rx) = ws.split(); [INFO] [stdout] 151 | | trace!("websocket got connection"); [INFO] [stdout] 152 | | if let Ok(m) = rx.recv().await { [INFO] [stdout] ... | [INFO] [stdout] 155 | | } [INFO] [stdout] 156 | | }) [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 `mdbook-dtmo` (bin "mdbook-dtmo" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9cf2d2fc8f302fa2de02c634e0685d5765db63534d804c8c26529e1a8a19cd61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf2d2fc8f302fa2de02c634e0685d5765db63534d804c8c26529e1a8a19cd61", kill_on_drop: false }` [INFO] [stdout] 9cf2d2fc8f302fa2de02c634e0685d5765db63534d804c8c26529e1a8a19cd61