[INFO] fetching crate verex 0.2.2... [INFO] checking verex-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate verex 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate verex 0.2.2 [INFO] finished tweaking crates.io crate verex 0.2.2 [INFO] tweaked toml for crates.io crate verex 0.2.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate verex 0.2.2 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Locking 12 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.4.0 (available: v2.10.0) [INFO] [stderr] Adding regex v0.1.80 (available: v1.12.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55e673d6c2da3335e05086ce18f3f3cb1882253f3d50f02ae3f72396f574246f [INFO] running `Command { std: "docker" "start" "-a" "55e673d6c2da3335e05086ce18f3f3cb1882253f3d50f02ae3f72396f574246f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55e673d6c2da3335e05086ce18f3f3cb1882253f3d50f02ae3f72396f574246f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e673d6c2da3335e05086ce18f3f3cb1882253f3d50f02ae3f72396f574246f", kill_on_drop: false }` [INFO] [stdout] 55e673d6c2da3335e05086ce18f3f3cb1882253f3d50f02ae3f72396f574246f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 88fde1b4748f2c451977009782aa61f6a6ea29c67e2872cabb9c410a0c2ff2b0 [INFO] running `Command { std: "docker" "start" "-a" "88fde1b4748f2c451977009782aa61f6a6ea29c67e2872cabb9c410a0c2ff2b0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking verex v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/verex/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / bitflags! { [INFO] [stdout] 7 | | flags Modifiers: u8 { [INFO] [stdout] 8 | | const MULTI_LINE = 0b00000001, [INFO] [stdout] 9 | | const CASE_INSENSITIVE = 0b00000010, [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/verex/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / bitflags! { [INFO] [stdout] 7 | | flags Modifiers: u8 { [INFO] [stdout] 8 | | const MULTI_LINE = 0b00000001, [INFO] [stdout] 9 | | const CASE_INSENSITIVE = 0b00000010, [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/verex/mod.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let regex = try!(self.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/verex/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / bitflags! { [INFO] [stdout] 7 | | flags Modifiers: u8 { [INFO] [stdout] 8 | | const MULTI_LINE = 0b00000001, [INFO] [stdout] 9 | | const CASE_INSENSITIVE = 0b00000010, [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/verex/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / bitflags! { [INFO] [stdout] 7 | | flags Modifiers: u8 { [INFO] [stdout] 8 | | const MULTI_LINE = 0b00000001, [INFO] [stdout] 9 | | const CASE_INSENSITIVE = 0b00000010, [INFO] [stdout] 10 | | } [INFO] [stdout] 11 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/verex/mod.rs:368:21 [INFO] [stdout] | [INFO] [stdout] 368 | let regex = try!(self.compile()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/verex/mod.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | for pair in ESCAPE_PAIRS.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 61 - for pair in ESCAPE_PAIRS.into_iter() { [INFO] [stdout] 61 + for pair in ESCAPE_PAIRS.iter() { [INFO] [stdout] | [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 61 - for pair in ESCAPE_PAIRS.into_iter() { [INFO] [stdout] 61 + for pair in ESCAPE_PAIRS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/verex/mod.rs:451:49 [INFO] [stdout] | [INFO] [stdout] 451 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 452 | | Ok(Verex::from_str(s)) [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/verex/mod.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | Ok(Verex::from_str(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `verex` (lib) due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021 [INFO] [stdout] --> src/verex/mod.rs:61:30 [INFO] [stdout] | [INFO] [stdout] 61 | for pair in ESCAPE_PAIRS.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 61 - for pair in ESCAPE_PAIRS.into_iter() { [INFO] [stdout] 61 + for pair in ESCAPE_PAIRS.iter() { [INFO] [stdout] | [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 61 - for pair in ESCAPE_PAIRS.into_iter() { [INFO] [stdout] 61 + for pair in ESCAPE_PAIRS { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/verex/mod.rs:451:49 [INFO] [stdout] | [INFO] [stdout] 451 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _________________________________________________^ [INFO] [stdout] 452 | | Ok(Verex::from_str(s)) [INFO] [stdout] 453 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/verex/mod.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | Ok(Verex::from_str(s)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `verex` (lib test) due to 2 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "88fde1b4748f2c451977009782aa61f6a6ea29c67e2872cabb9c410a0c2ff2b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88fde1b4748f2c451977009782aa61f6a6ea29c67e2872cabb9c410a0c2ff2b0", kill_on_drop: false }` [INFO] [stdout] 88fde1b4748f2c451977009782aa61f6a6ea29c67e2872cabb9c410a0c2ff2b0