[INFO] fetching crate bstring 0.1.0... [INFO] checking bstring-0.1.0 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate bstring 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate bstring 0.1.0 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 bstring 0.1.0 [INFO] finished tweaking crates.io crate bstring 0.1.0 [INFO] tweaked toml for crates.io crate bstring 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [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: no edition set: defaulting to the 2015 edition while the latest is 2021 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f3c3e6cc0bac108ce7a023a9d6be21cc30332c3d82195fec77f5f9b522a67c7 [INFO] running `Command { std: "docker" "start" "-a" "5f3c3e6cc0bac108ce7a023a9d6be21cc30332c3d82195fec77f5f9b522a67c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f3c3e6cc0bac108ce7a023a9d6be21cc30332c3d82195fec77f5f9b522a67c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f3c3e6cc0bac108ce7a023a9d6be21cc30332c3d82195fec77f5f9b522a67c7", kill_on_drop: false }` [INFO] [stdout] 5f3c3e6cc0bac108ce7a023a9d6be21cc30332c3d82195fec77f5f9b522a67c7 [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffa7f530a3a03593d1d20b07ec6961df6f27f0a30cc979d742d09a2db4d5d5b6 [INFO] running `Command { std: "docker" "start" "-a" "ffa7f530a3a03593d1d20b07ec6961df6f27f0a30cc979d742d09a2db4d5d5b6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking ref_slice v1.2.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking bstring v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bstring.rs:642:66 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bstring.rs:662:71 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bstring.rs:675:72 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bstring.rs:642:66 [INFO] [stdout] | [INFO] [stdout] 642 | pub fn trim_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bstring.rs:662:71 [INFO] [stdout] | [INFO] [stdout] 662 | pub fn trim_left_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/bstring.rs:675:72 [INFO] [stdout] | [INFO] [stdout] 675 | pub fn trim_right_matches<'a, P: Pattern<'a>>(&'a self, pat: P) -> &bstr [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:1555:9 [INFO] [stdout] | [INFO] [stdout] 1555 | ref_slice(self).as_ref() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | ref_slice_mut(self).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | use ref_slice::{ref_slice, ref_slice_mut}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_ref` instead. [INFO] [stdout] --> src/bstring.rs:1555:9 [INFO] [stdout] | [INFO] [stdout] 1555 | ref_slice(self).as_ref() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ref_slice::ref_slice_mut`: Similar method was added to std and stabilized in rust 1.28.0. Use `core::slice::from_mut` instead. [INFO] [stdout] --> src/bstring.rs:1603:9 [INFO] [stdout] | [INFO] [stdout] 1603 | ref_slice_mut(self).as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orig` is never read [INFO] [stdout] --> src/bfmt.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 103 | orig: &'a bstr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Clone`, 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `orig` is never read [INFO] [stdout] --> src/bfmt.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Parser<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 103 | orig: &'a bstr, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Clone`, 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "ffa7f530a3a03593d1d20b07ec6961df6f27f0a30cc979d742d09a2db4d5d5b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa7f530a3a03593d1d20b07ec6961df6f27f0a30cc979d742d09a2db4d5d5b6", kill_on_drop: false }` [INFO] [stdout] ffa7f530a3a03593d1d20b07ec6961df6f27f0a30cc979d742d09a2db4d5d5b6