[INFO] cloning repository https://github.com/TheoBabilon/async-tail [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TheoBabilon/async-tail" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheoBabilon%2Fasync-tail", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTheoBabilon%2Fasync-tail'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a247c8e3941a21c6324fe687ae93bb4324e88089 [INFO] checking TheoBabilon/async-tail/a247c8e3941a21c6324fe687ae93bb4324e88089 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%2FTheoBabilon%2Fasync-tail" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TheoBabilon/async-tail 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] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/TheoBabilon/async-tail [INFO] finished tweaking git repo https://github.com/TheoBabilon/async-tail [INFO] tweaked toml for git repo https://github.com/TheoBabilon/async-tail written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TheoBabilon/async-tail 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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5e11b15d24bce36159e98d0cb12ccc785982beb7e9923785026ef1771d5b262 [INFO] running `Command { std: "docker" "start" "-a" "d5e11b15d24bce36159e98d0cb12ccc785982beb7e9923785026ef1771d5b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5e11b15d24bce36159e98d0cb12ccc785982beb7e9923785026ef1771d5b262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5e11b15d24bce36159e98d0cb12ccc785982beb7e9923785026ef1771d5b262", kill_on_drop: false }` [INFO] [stdout] d5e11b15d24bce36159e98d0cb12ccc785982beb7e9923785026ef1771d5b262 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1b843f8875aea70a54cb143a4b56cf59d013ce512e38565c47123356124f8fe [INFO] running `Command { std: "docker" "start" "-a" "c1b843f8875aea70a54cb143a4b56cf59d013ce512e38565c47123356124f8fe", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling target-lexicon v0.12.10 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking pin-project-lite v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking unindent v0.1.11 [INFO] [stderr] Compiling indoc v1.0.9 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling pyo3-build-config v0.19.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking notify v5.2.0 [INFO] [stderr] Compiling pyo3-ffi v0.19.1 [INFO] [stderr] Compiling pyo3 v0.19.1 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling pyo3-macros-backend v0.19.1 [INFO] [stderr] Compiling pyo3-asyncio-macros v0.19.0 [INFO] [stderr] Compiling pyo3-macros v0.19.1 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking linemux v0.3.0 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking pyo3-asyncio v0.19.0 [INFO] [stderr] Checking async-tail v0.0.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/async.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 25 | let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | pyo3_asyncio::tokio::future_into_py(py, async move { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 27 | | let res = inner.lock().await.lines.add_file(path).await?; [INFO] [stdout] 28 | | Ok(res) [INFO] [stdout] 29 | | }) [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/async.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 33 | let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | pyo3_asyncio::tokio::future_into_py(py, async move { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 35 | | let line = inner.lock().await.lines.next_line().await?; [INFO] [stdout] 36 | | match line { [INFO] [stdout] 37 | | Some(val) => Ok((val.line().to_owned(), val.source().to_owned())), [INFO] [stdout] 38 | | None => Err(PyException::new_err("An error occured while reading line")), [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | }) [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/sync.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 18 | let changes: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let changes_clone = changes.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut lines = MuxedLines::new()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let _handle = thread::spawn(move || { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Tail { changes }) [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] = 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 `async-tail` (lib) 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/async.rs:26:49 [INFO] [stdout] | [INFO] [stdout] 25 | let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | pyo3_asyncio::tokio::future_into_py(py, async move { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 27 | | let res = inner.lock().await.lines.add_file(path).await?; [INFO] [stdout] 28 | | Ok(res) [INFO] [stdout] 29 | | }) [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/async.rs:34:49 [INFO] [stdout] | [INFO] [stdout] 33 | let inner = self.0.clone(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 34 | pyo3_asyncio::tokio::future_into_py(py, async move { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 35 | | let line = inner.lock().await.lines.next_line().await?; [INFO] [stdout] 36 | | match line { [INFO] [stdout] 37 | | Some(val) => Ok((val.line().to_owned(), val.source().to_owned())), [INFO] [stdout] 38 | | None => Err(PyException::new_err("An error occured while reading line")), [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | }) [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/sync.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 18 | let changes: Arc>> = Arc::new(Mutex::new(Vec::new())); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | let changes_clone = changes.clone(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 20 | let mut lines = MuxedLines::new()?; [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | [INFO] [stdout] 22 | let _handle = thread::spawn(move || { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 36 | Ok(Tail { changes }) [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] = 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 `async-tail` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "c1b843f8875aea70a54cb143a4b56cf59d013ce512e38565c47123356124f8fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1b843f8875aea70a54cb143a4b56cf59d013ce512e38565c47123356124f8fe", kill_on_drop: false }` [INFO] [stdout] c1b843f8875aea70a54cb143a4b56cf59d013ce512e38565c47123356124f8fe