[INFO] cloning repository https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStileEducation%2Fprometheus-absent-data-alert-rule-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStileEducation%2Fprometheus-absent-data-alert-rule-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] faa3b0d5ac90f89c46460ce516e7e5d88147bb57 [INFO] checking StileEducation/prometheus-absent-data-alert-rule-generator/faa3b0d5ac90f89c46460ce516e7e5d88147bb57 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%2FStileEducation%2Fprometheus-absent-data-alert-rule-generator" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator 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-1-tc2/source/rust-toolchain [INFO] started tweaking git repo https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator [INFO] finished tweaking git repo https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator [INFO] tweaked toml for git repo https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/StileEducation/prometheus-absent-data-alert-rule-generator 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] a0d1eb2ffc25334ebed09e66da6677dd04ae060761b985fd964f5ffb8d00662f [INFO] running `Command { std: "docker" "start" "-a" "a0d1eb2ffc25334ebed09e66da6677dd04ae060761b985fd964f5ffb8d00662f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a0d1eb2ffc25334ebed09e66da6677dd04ae060761b985fd964f5ffb8d00662f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0d1eb2ffc25334ebed09e66da6677dd04ae060761b985fd964f5ffb8d00662f", kill_on_drop: false }` [INFO] [stdout] a0d1eb2ffc25334ebed09e66da6677dd04ae060761b985fd964f5ffb8d00662f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 0832754a389b4b5b0655530acc3c330816558632d789fce7283243ed9163059b [INFO] running `Command { std: "docker" "start" "-a" "0832754a389b4b5b0655530acc3c330816558632d789fce7283243ed9163059b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking pest v2.1.3 [INFO] [stderr] Checking dtoa v0.4.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling xshell-macros v0.1.17 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking pico-args v0.4.2 [INFO] [stderr] Checking pretty_assertions v1.0.0 [INFO] [stderr] Checking xshell v0.1.17 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Checking pest_consume v1.1.1 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking enquote v1.1.0 [INFO] [stderr] Checking prometheus-parser v0.1.0 (https://github.com/StileEducation/prometheus-parser-rs?branch=master#fee5984b) [INFO] [stderr] Checking serde_yaml v0.8.21 [INFO] [stderr] Checking prometheus-absent-data-alert-rule-generator v0.1.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/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / { [INFO] [stdout] 51 | | let mut btree = BTreeMap::new(); [INFO] [stdout] 52 | | $(btree.insert($key.into(), $value.into());)+ [INFO] [stdout] 53 | | btree [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 110 | let annotations_mapping: serde_yaml::Mapping = btree_to_yaml_mapping(annotations); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let labels_mapping = btree_to_yaml_mapping(self.labels); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | untyped_fields: btree_map! { [INFO] [stdout] | _____________________________- [INFO] [stdout] 116 | | "alert" => self.name, [INFO] [stdout] 117 | | // Don't alert the instant a time series is missing, give a bit of [INFO] [stdout] 118 | | // leeway. [INFO] [stdout] ... | [INFO] [stdout] 121 | | "labels" => labels_mapping [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_____________- in this macro invocation [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 `btree_map` (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/main.rs:455:27 [INFO] [stdout] | [INFO] [stdout] 455 | rule: rule.clone(), [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/main.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 589 | btree: BTreeMap, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 590 | ) -> serde_yaml::Mapping { [INFO] [stdout] 591 | / btree [INFO] [stdout] 592 | | .into_iter() [INFO] [stdout] 593 | | .map(|(key, value)| -> (Value, Value) { (key.into(), value.into()) }) [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/main.rs:593:50 [INFO] [stdout] | [INFO] [stdout] 593 | .map(|(key, value)| -> (Value, Value) { (key.into(), value.into()) }) [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:593:62 [INFO] [stdout] | [INFO] [stdout] 593 | .map(|(key, value)| -> (Value, Value) { (key.into(), value.into()) }) [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus-absent-data-alert-rule-generator` (bin "prometheus-absent-data-alert-rule-generator") due to 6 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/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / { [INFO] [stdout] 51 | | let mut btree = BTreeMap::new(); [INFO] [stdout] 52 | | $(btree.insert($key.into(), $value.into());)+ [INFO] [stdout] 53 | | btree [INFO] [stdout] 54 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] ... [INFO] [stdout] 110 | let annotations_mapping: serde_yaml::Mapping = btree_to_yaml_mapping(annotations); [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 111 | let labels_mapping = btree_to_yaml_mapping(self.labels); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | untyped_fields: btree_map! { [INFO] [stdout] | _____________________________- [INFO] [stdout] 116 | | "alert" => self.name, [INFO] [stdout] 117 | | // Don't alert the instant a time series is missing, give a bit of [INFO] [stdout] 118 | | // leeway. [INFO] [stdout] ... | [INFO] [stdout] 121 | | "labels" => labels_mapping [INFO] [stdout] 122 | | }, [INFO] [stdout] | |_____________- in this macro invocation [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 `btree_map` (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/main.rs:455:27 [INFO] [stdout] | [INFO] [stdout] 455 | rule: rule.clone(), [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/main.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 589 | btree: BTreeMap, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 590 | ) -> serde_yaml::Mapping { [INFO] [stdout] 591 | / btree [INFO] [stdout] 592 | | .into_iter() [INFO] [stdout] 593 | | .map(|(key, value)| -> (Value, Value) { (key.into(), value.into()) }) [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/main.rs:593:50 [INFO] [stdout] | [INFO] [stdout] 593 | .map(|(key, value)| -> (Value, Value) { (key.into(), value.into()) }) [INFO] [stdout] | ------------ ^^^^^^^^^^ [INFO] [stdout] | | [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:593:62 [INFO] [stdout] | [INFO] [stdout] 593 | .map(|(key, value)| -> (Value, Value) { (key.into(), value.into()) }) [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `prometheus-absent-data-alert-rule-generator` (bin "prometheus-absent-data-alert-rule-generator" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "0832754a389b4b5b0655530acc3c330816558632d789fce7283243ed9163059b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0832754a389b4b5b0655530acc3c330816558632d789fce7283243ed9163059b", kill_on_drop: false }` [INFO] [stdout] 0832754a389b4b5b0655530acc3c330816558632d789fce7283243ed9163059b