[INFO] cloning repository https://github.com/TimonPost/cargo-toml-format [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TimonPost/cargo-toml-format" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimonPost%2Fcargo-toml-format", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimonPost%2Fcargo-toml-format'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b950e8c1a236f5924c152e45f8a3e51a0a0c96c [INFO] checking TimonPost/cargo-toml-format against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimonPost%2Fcargo-toml-format" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TimonPost/cargo-toml-format on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TimonPost/cargo-toml-format [INFO] finished tweaking git repo https://github.com/TimonPost/cargo-toml-format [INFO] tweaked toml for git repo https://github.com/TimonPost/cargo-toml-format written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/TimonPost/cargo-toml-format 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.139 [INFO] [stderr] Downloaded toml_edit v0.14.4 [INFO] [stderr] Downloaded serde v1.0.139 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0d5946f40e6191759f8e5ce0652aae1ee74f649c751544522f9790dba9c1dfe [INFO] running `Command { std: "docker" "start" "-a" "c0d5946f40e6191759f8e5ce0652aae1ee74f649c751544522f9790dba9c1dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0d5946f40e6191759f8e5ce0652aae1ee74f649c751544522f9790dba9c1dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d5946f40e6191759f8e5ce0652aae1ee74f649c751544522f9790dba9c1dfe", kill_on_drop: false }` [INFO] [stdout] c0d5946f40e6191759f8e5ce0652aae1ee74f649c751544522f9790dba9c1dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98d8325fe2dc4a0113683c7bc23c93f8f775429e6748f8f3064fb5a54a876e0f [INFO] running `Command { std: "docker" "start" "-a" "98d8325fe2dc4a0113683c7bc23c93f8f775429e6748f8f3064fb5a54a876e0f", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking cargo-toml-fmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/ordering.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decor` [INFO] [stdout] --> src/ordering.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use toml_edit::{ArrayOfTables, Decor, Document, Item, Key, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TomlSort` and `utils::item_len` [INFO] [stdout] --> src/ordering.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | package_order::{PackageOrder, TomlSection, TomlSort}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | toml_config::TomlFormatConfig, [INFO] [stdout] 16 | utils::item_len, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TomlSort` [INFO] [stdout] --> src/toml_config.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::package_order::{TomlSection, TomlSort}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::SplitTerminator` [INFO] [stdout] --> src/verify/fields.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::SplitTerminator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::LICENSES` [INFO] [stdout] --> src/verify/fields.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::LICENSES; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `iter::FromIterator`, and `ops::Index` [INFO] [stdout] --> src/ordering.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Index, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decor` [INFO] [stdout] --> src/ordering.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use toml_edit::{ArrayOfTables, Decor, Document, Item, Key, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TomlSort` and `utils::item_len` [INFO] [stdout] --> src/ordering.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | package_order::{PackageOrder, TomlSection, TomlSort}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | toml_config::TomlFormatConfig, [INFO] [stdout] 16 | utils::item_len, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TomlSort` [INFO] [stdout] --> src/toml_config.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::package_order::{TomlSection, TomlSort}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::SplitTerminator` [INFO] [stdout] --> src/verify/fields.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::SplitTerminator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> src/ordering.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/ordering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ops::Index, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/ordering.rs:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/ordering.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/ordering.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | config: &TomlFormatConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/ordering.rs:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/ordering.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/ordering.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | config: &TomlFormatConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_url` is never used [INFO] [stdout] --> src/verify/fields.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_license` is never used [INFO] [stdout] --> src/verify/fields.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn is_valid_license(license: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_name` is never used [INFO] [stdout] --> src/verify/fields.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_valid_name() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LICENSES` is never used [INFO] [stdout] --> src/verify/fields.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const LICENSES: [&'static str; 496] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_url` is never used [INFO] [stdout] --> src/verify/fields.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_name` is never used [INFO] [stdout] --> src/verify/fields.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_valid_name() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml_config::TomlFormatConfig` [INFO] [stdout] --> tests/stress.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use cargo_toml_fmt::{cargo_toml::CargoToml, toml_config::TomlFormatConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TomlSort` [INFO] [stdout] --> tests/ordering.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | package_order::{TomlSection, TomlSort}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Lines` [INFO] [stdout] --> tests/sandbox.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Lines; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `toml_edit::Document` [INFO] [stdout] --> tests/sandbox.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use toml_edit::Document; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toml_2` [INFO] [stdout] --> tests/sandbox.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let toml_2 = r#" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toml_3` [INFO] [stdout] --> tests/sandbox.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let toml_3 = r#" [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_toml_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | toml.format(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = toml.format(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / std::fs::write( [INFO] [stdout] 56 | | toml_path, [INFO] [stdout] 57 | | toml.toml_document.to_string().trim_end_matches("\r"), [INFO] [stdout] 58 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = std::fs::write( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | toml.format(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = toml.format(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | / std::fs::write( [INFO] [stdout] 56 | | toml_path, [INFO] [stdout] 57 | | toml.toml_document.to_string().trim_end_matches("\r"), [INFO] [stdout] 58 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = std::fs::write( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.32s [INFO] running `Command { std: "docker" "inspect" "98d8325fe2dc4a0113683c7bc23c93f8f775429e6748f8f3064fb5a54a876e0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98d8325fe2dc4a0113683c7bc23c93f8f775429e6748f8f3064fb5a54a876e0f", kill_on_drop: false }` [INFO] [stdout] 98d8325fe2dc4a0113683c7bc23c93f8f775429e6748f8f3064fb5a54a876e0f [INFO] checking TimonPost/cargo-toml-format against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTimonPost%2Fcargo-toml-format" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TimonPost/cargo-toml-format on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TimonPost/cargo-toml-format [INFO] finished tweaking git repo https://github.com/TimonPost/cargo-toml-format [INFO] tweaked toml for git repo https://github.com/TimonPost/cargo-toml-format written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TimonPost/cargo-toml-format 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6fcda61e028464ec07f32927359998d4e3c61ca66040c079274bdba18bb1d1b [INFO] running `Command { std: "docker" "start" "-a" "f6fcda61e028464ec07f32927359998d4e3c61ca66040c079274bdba18bb1d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6fcda61e028464ec07f32927359998d4e3c61ca66040c079274bdba18bb1d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6fcda61e028464ec07f32927359998d4e3c61ca66040c079274bdba18bb1d1b", kill_on_drop: false }` [INFO] [stdout] f6fcda61e028464ec07f32927359998d4e3c61ca66040c079274bdba18bb1d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70281d213a5ab38889ab0f90174bb615f3c62f037166a724358c1f21748e39ca [INFO] running `Command { std: "docker" "start" "-a" "70281d213a5ab38889ab0f90174bb615f3c62f037166a724358c1f21748e39ca", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking indexmap v1.9.1 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Checking aho-corasick v0.7.19 [INFO] [stderr] Checking combine v4.6.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling strum_macros v0.24.2 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking toml_edit v0.14.4 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking cargo-toml-fmt v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/ordering.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decor` [INFO] [stdout] --> src/ordering.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use toml_edit::{ArrayOfTables, Decor, Document, Item, Key, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TomlSort` and `utils::item_len` [INFO] [stdout] --> src/ordering.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | package_order::{PackageOrder, TomlSection, TomlSort}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | toml_config::TomlFormatConfig, [INFO] [stdout] 16 | utils::item_len, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TomlSort` [INFO] [stdout] --> src/toml_config.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::package_order::{TomlSection, TomlSort}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::SplitTerminator` [INFO] [stdout] --> src/verify/fields.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::SplitTerminator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::LICENSES` [INFO] [stdout] --> src/verify/fields.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | use super::LICENSES; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `iter::FromIterator`, and `ops::Index` [INFO] [stdout] --> src/ordering.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | ops::Index, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decor` [INFO] [stdout] --> src/ordering.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | use toml_edit::{ArrayOfTables, Decor, Document, Item, Key, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TomlSort` and `utils::item_len` [INFO] [stdout] --> src/ordering.rs:14:48 [INFO] [stdout] | [INFO] [stdout] 14 | package_order::{PackageOrder, TomlSection, TomlSort}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 15 | toml_config::TomlFormatConfig, [INFO] [stdout] 16 | utils::item_len, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TomlSort` [INFO] [stdout] --> src/toml_config.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::package_order::{TomlSection, TomlSort}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::SplitTerminator` [INFO] [stdout] --> src/verify/fields.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::SplitTerminator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `iter::FromIterator` [INFO] [stdout] --> src/ordering.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | iter::FromIterator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Index` [INFO] [stdout] --> src/ordering.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ops::Index, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/ordering.rs:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/ordering.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/ordering.rs:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val2` [INFO] [stdout] --> src/ordering.rs:250:51 [INFO] [stdout] | [INFO] [stdout] 250 | table.sort_values_by(|key_1, val1, key_2, val2| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/ordering.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | config: &TomlFormatConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/ordering.rs:314:9 [INFO] [stdout] | [INFO] [stdout] 314 | config: &TomlFormatConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_url` is never used [INFO] [stdout] --> src/verify/fields.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_name` is never used [INFO] [stdout] --> src/verify/fields.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_valid_name() -> bool { [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/cargo_toml.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 37 | let toml_document = toml_contents [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | toml_document, [INFO] [stdout] 43 | | rules: vec![], [INFO] [stdout] 44 | | config, [INFO] [stdout] 45 | | }) [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] warning: function `is_valid_url` is never used [INFO] [stdout] --> src/verify/fields.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_valid_url(url: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_license` is never used [INFO] [stdout] --> src/verify/fields.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn is_valid_license(license: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_name` is never used [INFO] [stdout] --> src/verify/fields.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn is_valid_name() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LICENSES` is never used [INFO] [stdout] --> src/verify/fields.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const LICENSES: [&'static str; 496] = [ [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/ordering.rs:364:43 [INFO] [stdout] | [INFO] [stdout] 364 | .map(|(table_key, _)| table.remove_entry(table_key).unwrap()) [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_toml.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 37 | let toml_document = toml_contents [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 41 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 42 | | toml_document, [INFO] [stdout] 43 | | rules: vec![], [INFO] [stdout] 44 | | config, [INFO] [stdout] 45 | | }) [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/package_order.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Deserialize, [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/ordering.rs:364:43 [INFO] [stdout] | [INFO] [stdout] 364 | .map(|(table_key, _)| table.remove_entry(table_key).unwrap()) [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/package_order.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Deserialize, [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/package_order.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Deserialize, [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/package_order.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Deserialize, [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/package_order.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | Deserialize, [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | toml_edit::Value::Array(a) => a.iter().map(|i| item_len(&Item::Value(i.clone()))).sum(), [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/package_order.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | Deserialize, [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] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:18:70 [INFO] [stdout] | [INFO] [stdout] 18 | toml_edit::Value::Array(a) => a.iter().map(|i| item_len(&Item::Value(i.clone()))).sum(), [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 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-toml-fmt` (lib test) due to 7 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-toml-fmt` (lib) due to 7 previous errors; 15 warnings emitted [INFO] running `Command { std: "docker" "inspect" "70281d213a5ab38889ab0f90174bb615f3c62f037166a724358c1f21748e39ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70281d213a5ab38889ab0f90174bb615f3c62f037166a724358c1f21748e39ca", kill_on_drop: false }` [INFO] [stdout] 70281d213a5ab38889ab0f90174bb615f3c62f037166a724358c1f21748e39ca