[INFO] cloning repository https://github.com/Mr-Helpful/scrabble.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mr-Helpful/scrabble.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMr-Helpful%2Fscrabble.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMr-Helpful%2Fscrabble.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb9662b2f6fb74bec5e1c6eed9181f118ed2fd63 [INFO] testing Mr-Helpful/scrabble.rs against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMr-Helpful%2Fscrabble.rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Mr-Helpful/scrabble.rs [INFO] finished tweaking git repo https://github.com/Mr-Helpful/scrabble.rs [INFO] tweaked toml for git repo https://github.com/Mr-Helpful/scrabble.rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Mr-Helpful/scrabble.rs on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Mr-Helpful/scrabble.rs 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded allwords v0.1.2 [INFO] [stderr] Downloaded memchr v2.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 850f6e09ffd15022a454eb71edb2a35ba48e2ffc9efe9c89b43ce252ab94e00c [INFO] running `Command { std: "docker" "start" "-a" "850f6e09ffd15022a454eb71edb2a35ba48e2ffc9efe9c89b43ce252ab94e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "850f6e09ffd15022a454eb71edb2a35ba48e2ffc9efe9c89b43ce252ab94e00c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "850f6e09ffd15022a454eb71edb2a35ba48e2ffc9efe9c89b43ce252ab94e00c", kill_on_drop: false }` [INFO] [stdout] 850f6e09ffd15022a454eb71edb2a35ba48e2ffc9efe9c89b43ce252ab94e00c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4639c2a48ddb49ba140e7577d66fc64ec1fbe65f03718494fbd5ea1e1db7d534 [INFO] running `Command { std: "docker" "start" "-a" "4639c2a48ddb49ba140e7577d66fc64ec1fbe65f03718494fbd5ea1e1db7d534", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling weak-table v0.3.2 [INFO] [stderr] Compiling allwords v0.1.2 [INFO] [stderr] Compiling trees v0.4.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling scrabble v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/letter/unparse.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | TooManyChars(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are 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] 28 - TooManyChars(usize), [INFO] [stdout] 28 + TooManyChars(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/letter/unparse.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | TooFewChars(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are 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] 29 - TooFewChars(usize), [INFO] [stdout] 29 + TooFewChars(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringIterator` is never constructed [INFO] [stdout] --> src/trie/node_trait.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct StringIterator<'a, T: TrieNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/dawg/ptrs.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | self.0.as_ref().borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - self.0.as_ref().borrow() [INFO] [stdout] 68 + self.0.as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Clone)] [INFO] [stdout] 60 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/dawg/ptrs.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | self.0.as_ref().borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 74 - self.0.as_ref().borrow() [INFO] [stdout] 74 + self.0.as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Clone)] [INFO] [stdout] 60 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trie/node_trait.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 223 - fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stdout] 223 + fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'a, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.62s [INFO] running `Command { std: "docker" "inspect" "4639c2a48ddb49ba140e7577d66fc64ec1fbe65f03718494fbd5ea1e1db7d534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4639c2a48ddb49ba140e7577d66fc64ec1fbe65f03718494fbd5ea1e1db7d534", kill_on_drop: false }` [INFO] [stdout] 4639c2a48ddb49ba140e7577d66fc64ec1fbe65f03718494fbd5ea1e1db7d534 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 543589149be7f228cc843925bab9ce080ce19e1dfaa2cbc09c5c462eb08fdfd0 [INFO] running `Command { std: "docker" "start" "-a" "543589149be7f228cc843925bab9ce080ce19e1dfaa2cbc09c5c462eb08fdfd0", kill_on_drop: false }` [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/letter/unparse.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | TooManyChars(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are 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] 28 - TooManyChars(usize), [INFO] [stdout] 28 + TooManyChars(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/letter/unparse.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | TooFewChars(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are 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] 29 - TooFewChars(usize), [INFO] [stdout] 29 + TooFewChars(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringIterator` is never constructed [INFO] [stdout] --> src/trie/node_trait.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct StringIterator<'a, T: TrieNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/dawg/ptrs.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | self.0.as_ref().borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - self.0.as_ref().borrow() [INFO] [stdout] 68 + self.0.as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Clone)] [INFO] [stdout] 60 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/dawg/ptrs.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | self.0.as_ref().borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 74 - self.0.as_ref().borrow() [INFO] [stdout] 74 + self.0.as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Clone)] [INFO] [stdout] 60 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trie/node_trait.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 223 - fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stdout] 223 + fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'a, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling scrabble v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/letter/unparse.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | TooManyChars(usize), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are 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] 28 - TooManyChars(usize), [INFO] [stdout] 28 + TooManyChars(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/letter/unparse.rs:29:15 [INFO] [stdout] | [INFO] [stdout] 29 | TooFewChars(usize), [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are 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] 29 - TooFewChars(usize), [INFO] [stdout] 29 + TooFewChars(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `StringIterator` is never constructed [INFO] [stdout] --> src/trie/node_trait.rs:255:12 [INFO] [stdout] | [INFO] [stdout] 255 | pub struct StringIterator<'a, T: TrieNode> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/dawg/ptrs.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | self.0.as_ref().borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 68 - self.0.as_ref().borrow() [INFO] [stdout] 68 + self.0.as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Clone)] [INFO] [stdout] 60 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/dawg/ptrs.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | self.0.as_ref().borrow() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 74 - self.0.as_ref().borrow() [INFO] [stdout] 74 + self.0.as_ref() [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Clone)] [INFO] [stdout] 60 | pub struct Node { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trie/node_trait.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 223 | fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stdout] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stdout] | | | [INFO] [stdout] | | these lifetimes flow to the output [INFO] [stdout] | these lifetimes flow to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 223 - fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stdout] 223 + fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'a, Self> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.43s [INFO] running `Command { std: "docker" "inspect" "543589149be7f228cc843925bab9ce080ce19e1dfaa2cbc09c5c462eb08fdfd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "543589149be7f228cc843925bab9ce080ce19e1dfaa2cbc09c5c462eb08fdfd0", kill_on_drop: false }` [INFO] [stdout] 543589149be7f228cc843925bab9ce080ce19e1dfaa2cbc09c5c462eb08fdfd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2e628543d8e7d1c46eb3a33b5142dd0dbaeae79592cee0bf995c8996f1a79a85 [INFO] running `Command { std: "docker" "start" "-a" "2e628543d8e7d1c46eb3a33b5142dd0dbaeae79592cee0bf995c8996f1a79a85", kill_on_drop: false }` [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/letter/unparse.rs:28:16 [INFO] [stderr] | [INFO] [stderr] 28 | TooManyChars(usize), [INFO] [stderr] | ------------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 28 - TooManyChars(usize), [INFO] [stderr] 28 + TooManyChars(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/letter/unparse.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | TooFewChars(usize), [INFO] [stderr] | ----------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrorKind` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 29 - TooFewChars(usize), [INFO] [stderr] 29 + TooFewChars(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `StringIterator` is never constructed [INFO] [stderr] --> src/trie/node_trait.rs:255:12 [INFO] [stderr] | [INFO] [stderr] 255 | pub struct StringIterator<'a, T: TrieNode> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StringIterator` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/dawg/ptrs.rs:68:20 [INFO] [stderr] | [INFO] [stderr] 68 | self.0.as_ref().borrow() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 68 - self.0.as_ref().borrow() [INFO] [stderr] 68 + self.0.as_ref() [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 59 + #[derive(Clone)] [INFO] [stderr] 60 | pub struct Node { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stderr] --> src/dawg/ptrs.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | self.0.as_ref().borrow() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Node` does not implement `Borrow`, so calling `borrow` on `&Node` copies the reference, which does not do anything and can be removed [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 74 - self.0.as_ref().borrow() [INFO] [stderr] 74 + self.0.as_ref() [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Node`, implement `Clone` for it [INFO] [stderr] | [INFO] [stderr] 59 + #[derive(Clone)] [INFO] [stderr] 60 | pub struct Node { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trie/node_trait.rs:223:19 [INFO] [stderr] | [INFO] [stderr] 223 | fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stderr] | ^^ ^^ -- the lifetime gets resolved as `'a` [INFO] [stderr] | | | [INFO] [stderr] | | these lifetimes flow to the output [INFO] [stderr] | these lifetimes flow to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 223 - fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'_, Self> { [INFO] [stderr] 223 + fn extract<'a>(&'a self, other: &'a Self) -> ExtractIterator<'a, Self> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `scrabble` (lib) generated 6 warnings (run `cargo fix --lib -p scrabble` to apply 3 suggestions) [INFO] [stderr] warning: `scrabble` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scrabble-febb08a178fb3a2b) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test trie_ptr::test::collection_tests::empty::len_0 ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::empty::is_empty ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::char_group ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::empty::is_leaf ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::char_range_group ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::mixed_group ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::ranges ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::mixed_all ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::empty ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::single_word ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::two_group ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::single_char ... ok [INFO] [stdout] test trie_ptr::test::set_tests::has::nothing ... ok [INFO] [stdout] test trie_ptr::test::set_tests::has::char ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::wildcard ... ok [INFO] [stdout] test trie_ptr::test::set_tests::has::empty ... ok [INFO] [stdout] test trie_ptr::test::set_tests::sub::empty_sub ... ok [INFO] [stdout] test trie_ptr::test::set_tests::add::has ... FAILED [INFO] [stdout] test trie_ptr::test::set_tests::sub::word_sub ... FAILED [INFO] [stdout] test trie_ptr::test::set_tests::has::word ... FAILED [INFO] [stdout] test trie_ptr::test::set_tests::sub::add_sub ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/scrabble-febb08a178fb3a2b` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "2e628543d8e7d1c46eb3a33b5142dd0dbaeae79592cee0bf995c8996f1a79a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e628543d8e7d1c46eb3a33b5142dd0dbaeae79592cee0bf995c8996f1a79a85", kill_on_drop: false }` [INFO] [stdout] 2e628543d8e7d1c46eb3a33b5142dd0dbaeae79592cee0bf995c8996f1a79a85