[INFO] fetching crate kak_spell 0.2.1... [INFO] checking kak_spell-0.2.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kak_spell 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate kak_spell 0.2.1 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 crates.io crate kak_spell 0.2.1 [INFO] finished tweaking crates.io crate kak_spell 0.2.1 [INFO] tweaked toml for crates.io crate kak_spell 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate kak_spell 0.2.1 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] 6dfb5afb30c284edfca71dc0f86c231fec178797ad804914745c148efc6a6b3a [INFO] running `Command { std: "docker" "start" "-a" "6dfb5afb30c284edfca71dc0f86c231fec178797ad804914745c148efc6a6b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6dfb5afb30c284edfca71dc0f86c231fec178797ad804914745c148efc6a6b3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dfb5afb30c284edfca71dc0f86c231fec178797ad804914745c148efc6a6b3a", kill_on_drop: false }` [INFO] [stdout] 6dfb5afb30c284edfca71dc0f86c231fec178797ad804914745c148efc6a6b3a [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] 74012209f6ea9ff4549ccc7c9e32e56ac9c6d50bc3209d1373d513dd301ed8d8 [INFO] running `Command { std: "docker" "start" "-a" "74012209f6ea9ff4549ccc7c9e32e56ac9c6d50bc3209d1373d513dd301ed8d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking zeroize v1.3.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling enchant-sys v0.2.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking enchant v0.2.0 [INFO] [stderr] Checking terminal_size v0.1.17 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking dirs-next v1.0.2 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking platform-dirs v0.3.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking dialoguer v0.8.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Compiling diesel v1.4.6 [INFO] [stderr] Checking migrations_internals v1.4.1 [INFO] [stderr] Compiling migrations_macros v1.4.2 [INFO] [stderr] Checking diesel_migrations v1.4.0 [INFO] [stderr] Checking kak_spell v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `word` is never read [INFO] [stdout] --> src/models.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct Ignored { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 52 | pub id: i32, [INFO] [stdout] 53 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `word`, and `extension_id` are never read [INFO] [stdout] --> src/models.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct IgnoredForExt { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 58 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub extension_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `word`, and `file_id` are never read [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) struct IgnoredForFile { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 65 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub file_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `word` are never read [INFO] [stdout] --> src/models.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct GoodWord { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 72 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extension` is never read [INFO] [stdout] --> src/models.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) struct Extension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 78 | pub id: i32, [INFO] [stdout] 79 | pub extension: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `full_path` is never read [INFO] [stdout] --> src/models.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 84 | pub id: i32, [INFO] [stdout] 85 | pub full_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `file_name`, and `full_path` are never read [INFO] [stdout] --> src/models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct SkippedFile { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 90 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 91 | pub file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | pub full_path: Option, [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] --> src/checker.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new(interactor: I, dictionary: D, repo: R) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | skipped: HashSet::new(), [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/db.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 45 | let connection = SqliteConnection::establish(&url) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | connection, [INFO] [stdout] 50 | | url: url.to_owned(), [INFO] [stdout] 51 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dictionary.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 22 | let dict = broker [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | dict, [INFO] [stdout] 27 | | lang: lang.to_string(), [INFO] [stdout] 28 | | }) [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `word` is never read [INFO] [stdout] --> src/models.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 51 | pub(crate) struct Ignored { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 52 | pub id: i32, [INFO] [stdout] 53 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kak_spell` (lib) due to 4 previous errors; 7 warnings emitted [INFO] [stdout] warning: fields `id`, `word`, and `extension_id` are never read [INFO] [stdout] --> src/models.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct IgnoredForExt { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 58 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 59 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | pub extension_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `id`, `word`, and `file_id` are never read [INFO] [stdout] --> src/models.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 64 | pub(crate) struct IgnoredForFile { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 65 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | pub file_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `word` are never read [INFO] [stdout] --> src/models.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 71 | pub(crate) struct GoodWord { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 72 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 73 | pub word: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `extension` is never read [INFO] [stdout] --> src/models.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 77 | pub(crate) struct Extension { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 78 | pub id: i32, [INFO] [stdout] 79 | pub extension: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `full_path` is never read [INFO] [stdout] --> src/models.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub(crate) struct File { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 84 | pub id: i32, [INFO] [stdout] 85 | pub full_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `file_name`, and `full_path` are never read [INFO] [stdout] --> src/models.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 89 | pub(crate) struct SkippedFile { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 90 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 91 | pub file_name: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 92 | pub full_path: Option, [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] --> src/checker.rs:87:22 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn new(interactor: I, dictionary: D, repo: R) -> Self { [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] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 87 | skipped: HashSet::new(), [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/db.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 45 | let connection = SqliteConnection::establish(&url) [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 49 | | connection, [INFO] [stdout] 50 | | url: url.to_owned(), [INFO] [stdout] 51 | | }) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/dictionary.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 22 | let dict = broker [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 25 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 26 | | dict, [INFO] [stdout] 27 | | lang: lang.to_string(), [INFO] [stdout] 28 | | }) [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; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kak_spell` (lib test) due to 4 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "74012209f6ea9ff4549ccc7c9e32e56ac9c6d50bc3209d1373d513dd301ed8d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74012209f6ea9ff4549ccc7c9e32e56ac9c6d50bc3209d1373d513dd301ed8d8", kill_on_drop: false }` [INFO] [stdout] 74012209f6ea9ff4549ccc7c9e32e56ac9c6d50bc3209d1373d513dd301ed8d8