[INFO] fetching crate python-parser 0.2.0... [INFO] building python-parser-0.2.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate python-parser 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate python-parser 0.2.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate python-parser 0.2.0 [INFO] finished tweaking crates.io crate python-parser 0.2.0 [INFO] tweaked toml for crates.io crate python-parser 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate python-parser 0.2.0 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nom_locate v0.3.1 [INFO] [stderr] Downloaded wtf8 v0.0.3 [INFO] [stderr] Downloaded num-bigint v0.2.0 [INFO] [stderr] Downloaded unicode_names2 v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc467dfee6b8bd5a80e5357df6e9d8b2a2a93c7c5b087f788cda28dec8f69838 [INFO] running `Command { std: "docker" "start" "-a" "bc467dfee6b8bd5a80e5357df6e9d8b2a2a93c7c5b087f788cda28dec8f69838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc467dfee6b8bd5a80e5357df6e9d8b2a2a93c7c5b087f788cda28dec8f69838", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc467dfee6b8bd5a80e5357df6e9d8b2a2a93c7c5b087f788cda28dec8f69838", kill_on_drop: false }` [INFO] [stdout] bc467dfee6b8bd5a80e5357df6e9d8b2a2a93c7c5b087f788cda28dec8f69838 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d54236a619d69c62562fe29cff6b9d934de0c3510fbdd73b79f0d330510c8a76 [INFO] running `Command { std: "docker" "start" "-a" "d54236a619d69c62562fe29cff6b9d934de0c3510fbdd73b79f0d330510c8a76", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling wtf8 v0.0.3 [INFO] [stderr] Compiling unicode_names2 v0.2.2 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling nom_locate v0.3.1 [INFO] [stderr] Compiling python-parser v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/helpers.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / { [INFO] [stdout] 35 | | use nom::Convert; [INFO] [stdout] 36 | | use nom::Err; [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | [INFO] [stdout] ::: src/functions.rs:283:5 [INFO] [stdout] | [INFO] [stdout] 283 | / named!(kwonly_kwargs>)>, Option)>, [INFO] [stdout] 284 | | do_parse!( [INFO] [stdout] 285 | | arguments: ws_comm!(many0!(preceded!(char!(','), call!(Self::argument)))) >> [INFO] [stdout] 286 | | kwargs: opt!(ws_comm!(preceded!(char!(','), opt!(Self::kwargs)))) >> ( [INFO] [stdout] ... | [INFO] [stdout] 290 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____`arguments` calls a custom destructor [INFO] [stdout] | |_____`arguments` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] = note: this error originates in the macro `ws_comm` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/helpers.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / { [INFO] [stdout] 35 | | use nom::Convert; [INFO] [stdout] 36 | | use nom::Err; [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_____this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | [INFO] [stdout] ::: src/functions.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | / named!(poskeyword_args_kwonly_kwargs>)>, Option>, Vec<(IIT::Re... [INFO] [stdout] 310 | | do_parse!( [INFO] [stdout] 311 | | arguments: call!(Self::arguments) >> [INFO] [stdout] 312 | | rest: opt!(ws_comm!(preceded!(char!(','), opt!(call!(Self::args_kwonly_kwargs))))) >> ({ [INFO] [stdout] ... | [INFO] [stdout] 321 | | ); [INFO] [stdout] | | - [INFO] [stdout] | |_____| [INFO] [stdout] | |_____`arguments` calls a custom destructor [INFO] [stdout] | |_____`arguments` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____`rest` calls a custom destructor [INFO] [stdout] | |_____`rest` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this error originates in the macro `ws_comm` which comes from the expansion of the macro `named` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `fpdef_with_default` is never used [INFO] [stdout] --> src/functions.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 90 | trait IsItTyped { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 96 | fn fpdef_with_default<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `python-parser` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d54236a619d69c62562fe29cff6b9d934de0c3510fbdd73b79f0d330510c8a76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d54236a619d69c62562fe29cff6b9d934de0c3510fbdd73b79f0d330510c8a76", kill_on_drop: false }` [INFO] [stdout] d54236a619d69c62562fe29cff6b9d934de0c3510fbdd73b79f0d330510c8a76