[INFO] cloning repository https://github.com/Hywan/ocppx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hywan/ocppx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHywan%2Focppx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHywan%2Focppx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b68ede19fa379cf625da196a83b8e4aefbf3160 [INFO] checking Hywan/ocppx/5b68ede19fa379cf625da196a83b8e4aefbf3160 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%2FHywan%2Focppx" "/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/Hywan/ocppx 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/Hywan/ocppx [INFO] finished tweaking git repo https://github.com/Hywan/ocppx [INFO] tweaked toml for git repo https://github.com/Hywan/ocppx written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Hywan/ocppx 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] a581e50ec46f6bbd830c432c081d94c5064a8275666ed409780e23eb26b2f2ad [INFO] running `Command { std: "docker" "start" "-a" "a581e50ec46f6bbd830c432c081d94c5064a8275666ed409780e23eb26b2f2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a581e50ec46f6bbd830c432c081d94c5064a8275666ed409780e23eb26b2f2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a581e50ec46f6bbd830c432c081d94c5064a8275666ed409780e23eb26b2f2ad", kill_on_drop: false }` [INFO] [stdout] a581e50ec46f6bbd830c432c081d94c5064a8275666ed409780e23eb26b2f2ad [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] 036a00cd6648d73a8626812bd9d0e28aca0b713a14c04726f0bc36ee6c0b44c6 [INFO] running `Command { std: "docker" "start" "-a" "036a00cd6648d73a8626812bd9d0e28aca0b713a14c04726f0bc36ee6c0b44c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.139 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling if_chain v1.0.2 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Checking ocppx-central-system v0.1.0 (/opt/rustwide/workdir/crates/ocppx-central-system) [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling validator_types v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling validator_derive v0.15.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking validator v0.15.0 [INFO] [stderr] Compiling ocppx-types v0.1.0 (/opt/rustwide/workdir/crates/ocppx-types) [INFO] [stdout] warning: unused variable: `struct_name` [INFO] [stdout] --> crates/ocppx-types/build.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 304 | struct_name: &str, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Other` is never constructed [INFO] [stdout] --> crates/ocppx-types/build.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Error { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 62 | Other, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> crates/ocppx-types/build.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | struct Schema { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 143 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Schema` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> crates/ocppx-types/build.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 156 | struct SchemaProperty { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 165 | pattern: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 169 | max_items: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 170 | min_items: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 171 | unique_items: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 172 | max_contains: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 173 | min_contains: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | additional_properties: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 178 | max_properties: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 179 | min_properties: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SchemaProperty` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> crates/ocppx-types/build.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #[derive(Deserialize, Copy, Clone, Debug)] [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: requested on the command line with `-D tail-expr-drop-order` [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: aborting due to 1 previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ocppx-types` (build script) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "036a00cd6648d73a8626812bd9d0e28aca0b713a14c04726f0bc36ee6c0b44c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "036a00cd6648d73a8626812bd9d0e28aca0b713a14c04726f0bc36ee6c0b44c6", kill_on_drop: false }` [INFO] [stdout] 036a00cd6648d73a8626812bd9d0e28aca0b713a14c04726f0bc36ee6c0b44c6