[INFO] cloning repository https://github.com/rocurley/rectangle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rocurley/rectangle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocurley%2Frectangle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocurley%2Frectangle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9b0dee46603bc5f78c33625f0d36faab8687bba [INFO] checking rocurley/rectangle against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frocurley%2Frectangle" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rocurley/rectangle [INFO] finished tweaking git repo https://github.com/rocurley/rectangle [INFO] tweaked toml for git repo https://github.com/rocurley/rectangle written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rocurley/rectangle on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rocurley/rectangle 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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 num-complex v0.1.40 [INFO] [stderr] Downloaded typed-arena v1.3.0 [INFO] [stderr] Downloaded matrixmultiply v0.1.13 [INFO] [stderr] Downloaded either v1.1.0 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded lazy_static v0.2.8 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded itertools v0.6.2 [INFO] [stderr] Downloaded ascii v0.8.6 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded gcc v0.3.53 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded rustc-demangle v0.1.5 [INFO] [stderr] Downloaded tinytemplate v1.0.2 [INFO] [stderr] Downloaded fnv v1.0.5 [INFO] [stderr] Downloaded cpuprofiler v0.0.3 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded backtrace-sys v0.1.12 [INFO] [stderr] Downloaded ndarray v0.10.5 [INFO] [stderr] Downloaded num-traits v0.1.40 [INFO] [stderr] Downloaded time v0.1.38 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded pbr v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a13be34e308149a246b2524acec5db5668857515fb5d35a329841aa6d17aab68 [INFO] running `Command { std: "docker" "start" "-a" "a13be34e308149a246b2524acec5db5668857515fb5d35a329841aa6d17aab68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a13be34e308149a246b2524acec5db5668857515fb5d35a329841aa6d17aab68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a13be34e308149a246b2524acec5db5668857515fb5d35a329841aa6d17aab68", kill_on_drop: false }` [INFO] [stdout] a13be34e308149a246b2524acec5db5668857515fb5d35a329841aa6d17aab68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 57961af9c91044663cbbccb0c6e1040efe17acbaf1d58ab00ed73320699e5ce6 [INFO] running `Command { std: "docker" "start" "-a" "57961af9c91044663cbbccb0c6e1040efe17acbaf1d58ab00ed73320699e5ce6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling gcc v0.3.53 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Compiling matrixmultiply v0.1.13 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking rustc-demangle v0.1.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ryu v1.0.2 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling ndarray v0.10.5 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking num-traits v0.1.40 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking itertools v0.6.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking fnv v1.0.5 [INFO] [stderr] Checking ascii v0.8.6 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking num-complex v0.1.40 [INFO] [stderr] Checking typed-arena v1.3.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking pbr v1.0.0 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Compiling backtrace-sys v0.1.12 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking tinytemplate v1.0.2 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking cpuprofiler v0.0.3 [INFO] [stderr] Checking rectangle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | |&c, mut perp_slot, (perp_match, prehash)| { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|c| c.map_or('.', |c| c.as_char())) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | |&c, mut perp_slot, (perp_match, prehash)| { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | for (pos, &c) in word.iter().enumerate() { [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `ascii::AsciiChar::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:394:20 [INFO] [stdout] | [INFO] [stdout] 394 | for ((pos, c), matches) in index.into_iter() { [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `ascii::AsciiChar::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn borrow(&'a self) -> BorrowedCrushedWords { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | pub fn borrow(&'a self) -> BorrowedCrushedWords<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn lookup_slot_matches(&self, slot: &Slot) -> &(WordsMatch, u128) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn lookup_slot_matches(&self, slot: &Slot) -> &(WordsMatch<'_>, u128) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/lib.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | for p in &mut pb { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 311 - for p in &mut pb { [INFO] [stdout] 311 + while let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 311 - for p in &mut pb { [INFO] [stdout] 311 + if let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:261:37 [INFO] [stdout] | [INFO] [stdout] 261 | .map(|c| c.map_or('.', |c| c.as_char())) [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/lib.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | for p in &mut pb { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 332 - for p in &mut pb { [INFO] [stdout] 332 + while let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 332 - for p in &mut pb { [INFO] [stdout] 332 + if let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:386:24 [INFO] [stdout] | [INFO] [stdout] 386 | for (pos, &c) in word.iter().enumerate() { [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `ascii::AsciiChar::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `c` is named the same as one of the variants of the type `ascii::AsciiChar` [INFO] [stdout] --> src/lib.rs:394:20 [INFO] [stdout] | [INFO] [stdout] 394 | for ((pos, c), matches) in index.into_iter() { [INFO] [stdout] | ^ help: to match on the variant, qualify the path: `ascii::AsciiChar::c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn borrow(&'a self) -> BorrowedCrushedWords { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 91 | pub fn borrow(&'a self) -> BorrowedCrushedWords<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:178:28 [INFO] [stdout] | [INFO] [stdout] 178 | fn lookup_slot_matches(&self, slot: &Slot) -> &(WordsMatch, u128) { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn lookup_slot_matches(&self, slot: &Slot) -> &(WordsMatch<'_>, u128) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/lib.rs:311:26 [INFO] [stdout] | [INFO] [stdout] 311 | for p in &mut pb { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 311 - for p in &mut pb { [INFO] [stdout] 311 + while let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 311 - for p in &mut pb { [INFO] [stdout] 311 + if let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&mut Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/lib.rs:332:26 [INFO] [stdout] | [INFO] [stdout] 332 | for p in &mut pb { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 332 - for p in &mut pb { [INFO] [stdout] 332 + while let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 332 - for p in &mut pb { [INFO] [stdout] 332 + if let Some(p) = &mut pb { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rectangle` (lib) due to 4 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rectangle` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "57961af9c91044663cbbccb0c6e1040efe17acbaf1d58ab00ed73320699e5ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57961af9c91044663cbbccb0c6e1040efe17acbaf1d58ab00ed73320699e5ce6", kill_on_drop: false }` [INFO] [stdout] 57961af9c91044663cbbccb0c6e1040efe17acbaf1d58ab00ed73320699e5ce6