[INFO] updating cached repository https://github.com/DownsizeEngineering/tRust_problems [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] [stderr] From https://github.com/DownsizeEngineering/tRust_problems [INFO] [stderr] 4045f44..f7bb21f master -> master [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7bb21f575cfa751ea4c9c310c3bf88003644167 [INFO] checking DownsizeEngineering/tRust_problems against master#e22b61bff0bdd08be7665607cb7be3748c8a35d2 for pr-74627 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDownsizeEngineering%2FtRust_problems" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DownsizeEngineering/tRust_problems on toolchain e22b61bff0bdd08be7665607cb7be3748c8a35d2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DownsizeEngineering/tRust_problems [INFO] finished tweaking git repo https://github.com/DownsizeEngineering/tRust_problems [INFO] tweaked toml for git repo https://github.com/DownsizeEngineering/tRust_problems written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/DownsizeEngineering/tRust_problems already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7ea942393f949112dfd52ff70278b9bb85b879a5b6aaf101d12dd400358c9e6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a7ea942393f949112dfd52ff70278b9bb85b879a5b6aaf101d12dd400358c9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7ea942393f949112dfd52ff70278b9bb85b879a5b6aaf101d12dd400358c9e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7ea942393f949112dfd52ff70278b9bb85b879a5b6aaf101d12dd400358c9e6", kill_on_drop: false }` [INFO] [stdout] a7ea942393f949112dfd52ff70278b9bb85b879a5b6aaf101d12dd400358c9e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+e22b61bff0bdd08be7665607cb7be3748c8a35d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0ddd04b10e0d59efe558c60d3654f91e7b69f521f09a2ed18f27a8d7790d431 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c0ddd04b10e0d59efe558c60d3654f91e7b69f521f09a2ed18f27a8d7790d431", kill_on_drop: false }` [INFO] [stderr] Checking t_rust_problems v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/CharTrie.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&self, c: char) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/CharTrie.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(node) = self.children.get(&c) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `words` [INFO] [stdout] --> src/CharTrie.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(words: Vec) -> CharTrie { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/CharTrie.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut output = CharTrie { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CharTrie` [INFO] [stdout] --> src/CharTrie.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CharTrie { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CharTrieNode` [INFO] [stdout] --> src/CharTrie.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CharTrieNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/CharTrie.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(val: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/CharTrie.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_end` [INFO] [stdout] --> src/CharTrie.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_end(&self) -> bool { return self.end; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/CharTrie.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&self, c: char) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/CharTrie.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn insert(&mut self, string: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/CharTrie.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn contains(&self, string: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/CharTrie.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/CharTrie.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn step(&self, c: char) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/CharTrie.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(words: Vec) -> CharTrie { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CharTrie` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mod CharTrie; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `char_trie` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/CharTrie.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&self, c: char) -> Option> { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/CharTrie.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | if let Some(node) = self.children.get(&c) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `words` [INFO] [stdout] --> src/CharTrie.rs:75:16 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(words: Vec) -> CharTrie { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_words` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/CharTrie.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let mut output = CharTrie { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CharTrie` [INFO] [stdout] --> src/CharTrie.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct CharTrie { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `CharTrieNode` [INFO] [stdout] --> src/CharTrie.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct CharTrieNode { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/CharTrie.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn new(val: char) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/CharTrie.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_end` [INFO] [stdout] --> src/CharTrie.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn is_end(&self) -> bool { return self.end; } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/CharTrie.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn step(&self, c: char) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/CharTrie.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn insert(&mut self, string: &str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `contains` [INFO] [stdout] --> src/CharTrie.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn contains(&self, string: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `end` [INFO] [stdout] --> src/CharTrie.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | fn end(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/CharTrie.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn step(&self, c: char) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/CharTrie.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn new(words: Vec) -> CharTrie { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `CharTrie` should have a snake case name [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | mod CharTrie; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `char_trie` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "c0ddd04b10e0d59efe558c60d3654f91e7b69f521f09a2ed18f27a8d7790d431", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ddd04b10e0d59efe558c60d3654f91e7b69f521f09a2ed18f27a8d7790d431", kill_on_drop: false }` [INFO] [stdout] c0ddd04b10e0d59efe558c60d3654f91e7b69f521f09a2ed18f27a8d7790d431