[INFO] fetching crate temprs 0.5.2... [INFO] checking temprs-0.5.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate temprs 0.5.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate temprs 0.5.2 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 crates.io crate temprs 0.5.2 [INFO] finished tweaking crates.io crate temprs 0.5.2 [INFO] tweaked toml for crates.io crate temprs 0.5.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate temprs 0.5.2 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] [stderr] warning: file `/workspace/builds/worker-1-tc2/source/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `temprs` [INFO] [stderr] * `bin` target `tp` [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] a1fb9dedc70e1bbcd0e51bcb9699b02214ad806cd1a4059a4ef90c73bd334a18 [INFO] running `Command { std: "docker" "start" "-a" "a1fb9dedc70e1bbcd0e51bcb9699b02214ad806cd1a4059a4ef90c73bd334a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1fb9dedc70e1bbcd0e51bcb9699b02214ad806cd1a4059a4ef90c73bd334a18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fb9dedc70e1bbcd0e51bcb9699b02214ad806cd1a4059a4ef90c73bd334a18", kill_on_drop: false }` [INFO] [stdout] a1fb9dedc70e1bbcd0e51bcb9699b02214ad806cd1a4059a4ef90c73bd334a18 [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] 89d263a87cefd9f0b65d9a827e4f25dad5006092d6710964b5bdf686dea0352c [INFO] running `Command { std: "docker" "start" "-a" "89d263a87cefd9f0b65d9a827e4f25dad5006092d6710964b5bdf686dea0352c", kill_on_drop: false }` [INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets: [INFO] [stderr] * `bin` target `temprs` [INFO] [stderr] * `bin` target `tp` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Compiling io-lifetimes v1.0.3 [INFO] [stderr] Compiling rustix v0.36.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Checking colored v1.9.3 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking simple_logger v1.16.0 [INFO] [stderr] Checking is-terminal v0.4.1 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking temprs v0.5.2 (/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/util/utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / buf.lines() [INFO] [stdout] 20 | | .map(|l| PathBuf::from(l.expect(ERR_PARSE))) [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/util/utils.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | buf.lines().map(|l| l.expect(ERR_PARSE)).collect() [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `temprs` (bin "tp") due to 3 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/util/utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / buf.lines() [INFO] [stdout] 20 | | .map(|l| PathBuf::from(l.expect(ERR_PARSE))) [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/util/utils.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | buf.lines().map(|l| l.expect(ERR_PARSE)).collect() [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 2 previous errors [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/util/utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / buf.lines() [INFO] [stdout] 20 | | .map(|l| PathBuf::from(l.expect(ERR_PARSE))) [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] [stderr] error: could not compile `temprs` (bin "tp" test) due to 3 previous errors [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/util/utils.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | buf.lines().map(|l| l.expect(ERR_PARSE)).collect() [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 2 previous errors [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/util/utils.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 18 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | / buf.lines() [INFO] [stdout] 20 | | .map(|l| PathBuf::from(l.expect(ERR_PARSE))) [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/util/utils.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 72 | let file = File::open(path).expect(ERR_NO_FILE); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let buf = BufReader::new(file); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | buf.lines().map(|l| l.expect(ERR_PARSE)).collect() [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 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `temprs` (bin "temprs") due to 3 previous errors [INFO] [stderr] error: could not compile `temprs` (bin "temprs" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "89d263a87cefd9f0b65d9a827e4f25dad5006092d6710964b5bdf686dea0352c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89d263a87cefd9f0b65d9a827e4f25dad5006092d6710964b5bdf686dea0352c", kill_on_drop: false }` [INFO] [stdout] 89d263a87cefd9f0b65d9a827e4f25dad5006092d6710964b5bdf686dea0352c