[INFO] cloning repository https://github.com/ambyshframber/staticcc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ambyshframber/staticcc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambyshframber%2Fstaticcc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fambyshframber%2Fstaticcc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a0c9cabd39d03a6a5d0270ddeb757c54f84d11ca [INFO] checking ambyshframber/staticcc/a0c9cabd39d03a6a5d0270ddeb757c54f84d11ca 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%2Fambyshframber%2Fstaticcc" "/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/ambyshframber/staticcc 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/ambyshframber/staticcc [INFO] finished tweaking git repo https://github.com/ambyshframber/staticcc [INFO] tweaked toml for git repo https://github.com/ambyshframber/staticcc written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ambyshframber/staticcc 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] 68808028ddbf8ad4f13c7abdb707c357d52d882474d24a3f129f8b7dba39ce31 [INFO] running `Command { std: "docker" "start" "-a" "68808028ddbf8ad4f13c7abdb707c357d52d882474d24a3f129f8b7dba39ce31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68808028ddbf8ad4f13c7abdb707c357d52d882474d24a3f129f8b7dba39ce31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68808028ddbf8ad4f13c7abdb707c357d52d882474d24a3f129f8b7dba39ce31", kill_on_drop: false }` [INFO] [stdout] 68808028ddbf8ad4f13c7abdb707c357d52d882474d24a3f129f8b7dba39ce31 [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] 76b61f09bfeffcc30ef94460947858f7698b2ac78ea4d28033acd1939c977e96 [INFO] running `Command { std: "docker" "start" "-a" "76b61f09bfeffcc30ef94460947858f7698b2ac78ea4d28033acd1939c977e96", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.80 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking num_threads v0.1.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking xml-rs v0.8.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking never v0.1.0 [INFO] [stderr] Checking typed-arena v1.7.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling onig_sys v69.7.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking twoway v0.2.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking time v0.3.9 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking quick-xml v0.22.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking fancy-regex v0.10.0 [INFO] [stderr] Checking diligent-date-parser v0.1.3 [INFO] [stderr] Checking plist v1.3.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking onig v6.3.1 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling derive_builder_core v0.10.2 [INFO] [stderr] Compiling derive_builder_macro v0.10.2 [INFO] [stderr] Checking derive_builder v0.10.2 [INFO] [stderr] Checking atom_syndication v0.11.0 [INFO] [stderr] Checking syntect v4.6.0 [INFO] [stderr] Checking rss v2.0.1 [INFO] [stderr] Checking comrak v0.12.1 [INFO] [stderr] Checking staticcc 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/utils.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn read_or_none(p: impl AsRef) -> Result, StcError> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | //println!("reading {} or none", p.as_ref().to_string_lossy()); [INFO] [stdout] 98 | match read_to_string(p) { [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/walkdir.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let root_iter = FatReadDir::new(&path, "")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Ok(WalkDir { [INFO] [stdout] | ____________^ [INFO] [stdout] 16 | | root: PathBuf::from(path.as_ref()), [INFO] [stdout] 17 | | internal_iters: vec![root_iter], [INFO] [stdout] 18 | | }) [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/walkdir.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(iter_path: impl AsRef, rel_path: impl AsRef) -> Result { [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] 71 | let rd = read_dir(&iter_path)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | //println!("new frd at {}", rel_path.as_ref().to_string_lossy()); [INFO] [stdout] 73 | Ok(FatReadDir{ [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | rd, path: PathBuf::from(&rel_path.as_ref()) [INFO] [stdout] 75 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticcc` (bin "staticcc") 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/utils.rs:98:11 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn read_or_none(p: impl AsRef) -> Result, StcError> { [INFO] [stdout] | ------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | //println!("reading {} or none", p.as_ref().to_string_lossy()); [INFO] [stdout] 98 | match read_to_string(p) { [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/walkdir.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(path: impl AsRef) -> Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | let root_iter = FatReadDir::new(&path, "")?; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | Ok(WalkDir { [INFO] [stdout] | ____________^ [INFO] [stdout] 16 | | root: PathBuf::from(path.as_ref()), [INFO] [stdout] 17 | | internal_iters: vec![root_iter], [INFO] [stdout] 18 | | }) [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/walkdir.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(iter_path: impl AsRef, rel_path: impl AsRef) -> Result { [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] 71 | let rd = read_dir(&iter_path)?; [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 72 | //println!("new frd at {}", rel_path.as_ref().to_string_lossy()); [INFO] [stdout] 73 | Ok(FatReadDir{ [INFO] [stdout] | ____________^ [INFO] [stdout] 74 | | rd, path: PathBuf::from(&rel_path.as_ref()) [INFO] [stdout] 75 | | }) [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `staticcc` (bin "staticcc" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "76b61f09bfeffcc30ef94460947858f7698b2ac78ea4d28033acd1939c977e96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76b61f09bfeffcc30ef94460947858f7698b2ac78ea4d28033acd1939c977e96", kill_on_drop: false }` [INFO] [stdout] 76b61f09bfeffcc30ef94460947858f7698b2ac78ea4d28033acd1939c977e96