[INFO] cloning repository https://github.com/1195655796/15-week-homework4 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1195655796/15-week-homework4" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1195655796%2F15-week-homework4", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1195655796%2F15-week-homework4'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dabf57e27186f00cc0888318dfcc527997a569cc [INFO] checking 1195655796/15-week-homework4/dabf57e27186f00cc0888318dfcc527997a569cc 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%2F1195655796%2F15-week-homework4" "/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/1195655796/15-week-homework4 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/1195655796/15-week-homework4 [INFO] finished tweaking git repo https://github.com/1195655796/15-week-homework4 [INFO] tweaked toml for git repo https://github.com/1195655796/15-week-homework4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1195655796/15-week-homework4 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] 1356bf3e28e9a27e3ddf35f4355562ab96cb40836a09caa7926762979cb1acdc [INFO] running `Command { std: "docker" "start" "-a" "1356bf3e28e9a27e3ddf35f4355562ab96cb40836a09caa7926762979cb1acdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1356bf3e28e9a27e3ddf35f4355562ab96cb40836a09caa7926762979cb1acdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1356bf3e28e9a27e3ddf35f4355562ab96cb40836a09caa7926762979cb1acdc", kill_on_drop: false }` [INFO] [stdout] 1356bf3e28e9a27e3ddf35f4355562ab96cb40836a09caa7926762979cb1acdc [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] ead3be5479e93d9e791649cd1c8507b43d52d1833d2c95b8d702fcabba6275ed [INFO] running `Command { std: "docker" "start" "-a" "ead3be5479e93d9e791649cd1c8507b43d52d1833d2c95b8d702fcabba6275ed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking grammar v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/json.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ("e".value(()) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | })) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 ~ "e".value(()) [INFO] [stdout] 98 | .parse_next(input) [INFO] [stdout] ... [INFO] [stdout] 104 | .parse_next(input) [INFO] [stdout] 105 ~ }) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `let` scrutinee expression [INFO] [stdout] --> src/json.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | ("e".value(()) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | })) { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 ~ "e".value(()) [INFO] [stdout] 98 | .parse_next(input) [INFO] [stdout] ... [INFO] [stdout] 104 | .parse_next(input) [INFO] [stdout] 105 ~ }) { [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/json.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 53 | mut parser: ParseNext, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | trace("sep_with_space", move |input: &mut Input| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 62 | | let _ = multispace0.parse_next(input)?; [INFO] [stdout] 63 | | parser.parse_next(input)?; [INFO] [stdout] 64 | | multispace0.parse_next(input)?; [INFO] [stdout] 65 | | Ok(()) [INFO] [stdout] 66 | | }) [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/json.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 140 | let sep1 = sep_with_space('['); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let sep2 = sep_with_space(']'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let sep_comma = sep_with_space(','); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let parse_values = separated(0.., parse_value, sep_comma); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | delimited(sep1, parse_values, sep2).parse_next(input) [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/json.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 148 | let sep1 = sep_with_space('{'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let sep2 = sep_with_space('}'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let sep_comma = sep_with_space(','); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let sep_colon = sep_with_space(':'); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | [INFO] [stdout] 153 | let parse_kv_pair = separated_pair(parse_string, sep_colon, parse_value); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let parse_kv = separated(1.., parse_kv_pair, sep_comma); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | delimited(sep1, parse_kv, sep2).parse_next(input) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grammar` (bin "json" test) due to 4 previous errors; 1 warning emitted [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/json.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 53 | mut parser: ParseNext, [INFO] [stdout] | --------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 61 | trace("sep_with_space", move |input: &mut Input| { [INFO] [stdout] | _____________________________^ [INFO] [stdout] 62 | | let _ = multispace0.parse_next(input)?; [INFO] [stdout] 63 | | parser.parse_next(input)?; [INFO] [stdout] 64 | | multispace0.parse_next(input)?; [INFO] [stdout] 65 | | Ok(()) [INFO] [stdout] 66 | | }) [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/json.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 140 | let sep1 = sep_with_space('['); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 141 | let sep2 = sep_with_space(']'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let sep_comma = sep_with_space(','); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 143 | let parse_values = separated(0.., parse_value, sep_comma); [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | delimited(sep1, parse_values, sep2).parse_next(input) [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/json.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 148 | let sep1 = sep_with_space('{'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 149 | let sep2 = sep_with_space('}'); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 150 | let sep_comma = sep_with_space(','); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 151 | let sep_colon = sep_with_space(':'); [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | [INFO] [stdout] 153 | let parse_kv_pair = separated_pair(parse_string, sep_colon, parse_value); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 154 | let parse_kv = separated(1.., parse_kv_pair, sep_comma); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 155 | delimited(sep1, parse_kv, sep2).parse_next(input) [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; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `grammar` (bin "json") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ead3be5479e93d9e791649cd1c8507b43d52d1833d2c95b8d702fcabba6275ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ead3be5479e93d9e791649cd1c8507b43d52d1833d2c95b8d702fcabba6275ed", kill_on_drop: false }` [INFO] [stdout] ead3be5479e93d9e791649cd1c8507b43d52d1833d2c95b8d702fcabba6275ed