[INFO] fetching crate bendy 0.4.0-beta.2... [INFO] checking bendy-0.4.0-beta.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate bendy 0.4.0-beta.2 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate bendy 0.4.0-beta.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bendy 0.4.0-beta.2 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate bendy 0.4.0-beta.2 [INFO] tweaked toml for crates.io crate bendy 0.4.0-beta.2 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate bendy 0.4.0-beta.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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `snafu` dependency) [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb7408491a50b13ff18af747196578be81bb0fc0d18a57227a13c8eb65a95976 [INFO] running `Command { std: "docker" "start" "-a" "cb7408491a50b13ff18af747196578be81bb0fc0d18a57227a13c8eb65a95976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb7408491a50b13ff18af747196578be81bb0fc0d18a57227a13c8eb65a95976", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb7408491a50b13ff18af747196578be81bb0fc0d18a57227a13c8eb65a95976", kill_on_drop: false }` [INFO] [stdout] cb7408491a50b13ff18af747196578be81bb0fc0d18a57227a13c8eb65a95976 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98da65e1023986c414adf1efb9b9c9b335dfc960176236453b5a3ac35a3d485b [INFO] running `Command { std: "docker" "start" "-a" "98da65e1023986c414adf1efb9b9c9b335dfc960176236453b5a3ac35a3d485b", kill_on_drop: false }` [INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `snafu` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustversion v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling snafu-derive v0.7.1 [INFO] [stderr] Checking snafu v0.7.1 [INFO] [stderr] Checking bendy v0.4.0-beta.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/decoding/decoder.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let ival = if cfg!(debug) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `replace_top` is never used [INFO] [stdout] --> src/state_tracker/stack.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn replace_top(&mut self, new_value: T); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `announce`, `info`, `comment`, `creation_date`, and `http_seeds` are never read [INFO] [stdout] --> examples/decode_torrent.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | struct MetaInfo { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | pub announce: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | pub info: Info, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub comment: Option, // not official element [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | pub creation_date: Option, // not official element [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub http_seeds: Option>, // not official element [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MetaInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `piece_length`, `pieces`, `name`, and `file_length` are never read [INFO] [stdout] --> examples/decode_torrent.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | struct Info { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 46 | pub piece_length: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub pieces: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 48 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | pub file_length: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Info` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `debug` [INFO] [stdout] --> src/decoding/decoder.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let ival = if cfg!(debug) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/core_test.rs:414:19 [INFO] [stdout] | [INFO] [stdout] 414 | DecodingError(DecodingError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 414 | DecodingError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/core_test.rs:415:19 [INFO] [stdout] | [INFO] [stdout] 415 | EncodingError(EncodingError), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 415 | EncodingError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `regex::Regex` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/decoding/decoder.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 385 | let mut tokens: Vec> = Decoder::new(msg).tokens().collect(); [INFO] [stdout] | ---------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 390 | let err_regex = regex::Regex::new(err_regex).expect("Test regexes should be valid"); [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] warning: method `replace_top` is never used [INFO] [stdout] --> src/state_tracker/stack.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Stack { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 9 | fn replace_top(&mut self, new_value: T); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bendy` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "98da65e1023986c414adf1efb9b9c9b335dfc960176236453b5a3ac35a3d485b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98da65e1023986c414adf1efb9b9c9b335dfc960176236453b5a3ac35a3d485b", kill_on_drop: false }` [INFO] [stdout] 98da65e1023986c414adf1efb9b9c9b335dfc960176236453b5a3ac35a3d485b