[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_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMr-Helpful%2Fscrabble.rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-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-7-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] 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 allwords v0.1.2 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded trees v0.4.2 [INFO] [stderr] Downloaded memchr v2.6.2 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded weak-table v0.3.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.17 [INFO] [stderr] Downloaded libc v0.2.137 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b64b9fd373d1ffe16637090f393adff42af10480fce42fdc07802f277300ab1 [INFO] running `Command { std: "docker" "start" "-a" "6b64b9fd373d1ffe16637090f393adff42af10480fce42fdc07802f277300ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b64b9fd373d1ffe16637090f393adff42af10480fce42fdc07802f277300ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b64b9fd373d1ffe16637090f393adff42af10480fce42fdc07802f277300ab1", kill_on_drop: false }` [INFO] [stdout] 6b64b9fd373d1ffe16637090f393adff42af10480fce42fdc07802f277300ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bca9655e676d9f79fc49ee13bd4ccf1e77ca6cceab415a9b5dfe1815264a2859 [INFO] running `Command { std: "docker" "start" "-a" "bca9655e676d9f79fc49ee13bd4ccf1e77ca6cceab415a9b5dfe1815264a2859", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling memchr v2.6.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling allwords v0.1.2 [INFO] [stderr] Compiling weak-table v0.3.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.56s [INFO] running `Command { std: "docker" "inspect" "bca9655e676d9f79fc49ee13bd4ccf1e77ca6cceab415a9b5dfe1815264a2859", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca9655e676d9f79fc49ee13bd4ccf1e77ca6cceab415a9b5dfe1815264a2859", kill_on_drop: false }` [INFO] [stdout] bca9655e676d9f79fc49ee13bd4ccf1e77ca6cceab415a9b5dfe1815264a2859 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/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] 9b7619fcb7bf43e126888b1d671b7bdf909daf1b24b4023fdd8730d9f0c796a5 [INFO] running `Command { std: "docker" "start" "-a" "9b7619fcb7bf43e126888b1d671b7bdf909daf1b24b4023fdd8730d9f0c796a5", 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] [stderr] Compiling scrabble v0.1.0 (/opt/rustwide/workdir) [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] [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.04s [INFO] running `Command { std: "docker" "inspect" "9b7619fcb7bf43e126888b1d671b7bdf909daf1b24b4023fdd8730d9f0c796a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7619fcb7bf43e126888b1d671b7bdf909daf1b24b4023fdd8730d9f0c796a5", kill_on_drop: false }` [INFO] [stdout] 9b7619fcb7bf43e126888b1d671b7bdf909daf1b24b4023fdd8730d9f0c796a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 612dde2dcc6c195afa6eaaf6c81507c2d08131921a270ab0b67d2eb3f660e4b2 [INFO] running `Command { std: "docker" "start" "-a" "612dde2dcc6c195afa6eaaf6c81507c2d08131921a270ab0b67d2eb3f660e4b2", 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] [stdout] [INFO] [stderr] | [INFO] [stdout] running 22 tests [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] [stdout] test trie_ptr::test::collection_tests::empty::is_empty ... ok [INFO] [stderr] --> src/dawg/ptrs.rs:74:20 [INFO] [stdout] test trie_ptr::test::collection_tests::empty::is_leaf ... ok [INFO] [stderr] | [INFO] [stdout] test trie_ptr::test::collection_tests::empty::len_0 ... ok [INFO] [stderr] 74 | self.0.as_ref().borrow() [INFO] [stdout] test trie_ptr::test::collection_tests::word::char_range_group ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] test trie_ptr::test::collection_tests::word::char_group ... ok [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-dd1fbc16e8ece70b) [INFO] [stdout] test trie_ptr::test::collection_tests::word::mixed_group ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::empty ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::mixed_all ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::ranges ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::single_char ... 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::set_tests::has::empty ... ok [INFO] [stdout] test trie_ptr::test::collection_tests::word::wildcard ... ok [INFO] [stdout] test trie_ptr::test::set_tests::sub::empty_sub ... 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::set_tests::sub::add_sub ... FAILED [INFO] [stdout] test trie_ptr::test::set_tests::has::word ... FAILED [INFO] [stdout] test trie_ptr::test::set_tests::add::has ... FAILED [INFO] [stdout] test trie_ptr::test::set_tests::sub::word_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-dd1fbc16e8ece70b` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "612dde2dcc6c195afa6eaaf6c81507c2d08131921a270ab0b67d2eb3f660e4b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "612dde2dcc6c195afa6eaaf6c81507c2d08131921a270ab0b67d2eb3f660e4b2", kill_on_drop: false }` [INFO] [stdout] 612dde2dcc6c195afa6eaaf6c81507c2d08131921a270ab0b67d2eb3f660e4b2