[INFO] cloning repository https://github.com/kristopherbullinger/tokenizers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kristopherbullinger/tokenizers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkristopherbullinger%2Ftokenizers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkristopherbullinger%2Ftokenizers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f45806b149f71c5d757b45cfe8e211595e985b3c [INFO] testing kristopherbullinger/tokenizers against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkristopherbullinger%2Ftokenizers" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kristopherbullinger/tokenizers on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kristopherbullinger/tokenizers [INFO] finished tweaking git repo https://github.com/kristopherbullinger/tokenizers [INFO] tweaked toml for git repo https://github.com/kristopherbullinger/tokenizers written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/kristopherbullinger/tokenizers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10cef4eb709c2793b29dc6d58b55ba48a886247eecb1f003557037d15a05c67b [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" "10cef4eb709c2793b29dc6d58b55ba48a886247eecb1f003557037d15a05c67b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10cef4eb709c2793b29dc6d58b55ba48a886247eecb1f003557037d15a05c67b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10cef4eb709c2793b29dc6d58b55ba48a886247eecb1f003557037d15a05c67b", kill_on_drop: false }` [INFO] [stdout] 10cef4eb709c2793b29dc6d58b55ba48a886247eecb1f003557037d15a05c67b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a280371889b5763f087a2fa9734f7d0f843ce93de4615cf0fac3974876bbbc73 [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" "a280371889b5763f087a2fa9734f7d0f843ce93de4615cf0fac3974876bbbc73", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling thread_local v1.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling gelato-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/linked_list.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut penultimate_node = self.get_node_mut(self.len - 2).unwrap(); //annoying variable name [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: variable does not need to be mutable [INFO] [stdout] --> src/linked_list.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut out = self.node?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_mut` [INFO] [stdout] --> src/linked_list.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn inner_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_node_back` [INFO] [stdout] --> src/linked_list.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn pop_node_back(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_back` [INFO] [stdout] --> src/linked_list.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn pop_back(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_node_front` [INFO] [stdout] --> src/linked_list.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn push_node_front(&mut self, mut new_head: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/linked_list.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/linked_list.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn insert(&mut self, value: T, n: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/linked_list.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_node` [INFO] [stdout] --> src/linked_list.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_node(&self, n: usize) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/linked_list.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get(&self, n: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_node_mut` [INFO] [stdout] --> src/linked_list.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_node_mut(&mut self, n: usize) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/linked_list.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_mut(&mut self, n: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_back` [INFO] [stdout] --> src/linked_list.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn push_back(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_node` [INFO] [stdout] --> src/linked_list.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn head_node(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head` [INFO] [stdout] --> src/linked_list.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail_node` [INFO] [stdout] --> src/linked_list.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn tail_node(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/linked_list.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn tail(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tail_node_mut` [INFO] [stdout] --> src/linked_list.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn get_tail_node_mut(&mut self) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail_mut` [INFO] [stdout] --> src/linked_list.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn tail_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/linked_list.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn reverse(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | language: Language, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_matchers` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | token_matchers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `patterns` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | source: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language_config` [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | language_config: LanguageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.52s [INFO] running `Command { std: "docker" "inspect" "a280371889b5763f087a2fa9734f7d0f843ce93de4615cf0fac3974876bbbc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a280371889b5763f087a2fa9734f7d0f843ce93de4615cf0fac3974876bbbc73", kill_on_drop: false }` [INFO] [stdout] a280371889b5763f087a2fa9734f7d0f843ce93de4615cf0fac3974876bbbc73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bde3b5e3eaca7089f06efeacf9c3a1eacccfdcd4819164f2cb2f97f37b4c861 [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" "5bde3b5e3eaca7089f06efeacf9c3a1eacccfdcd4819164f2cb2f97f37b4c861", kill_on_drop: false }` [INFO] [stderr] Compiling gelato-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/linked_list.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut penultimate_node = self.get_node_mut(self.len - 2).unwrap(); //annoying variable name [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: variable does not need to be mutable [INFO] [stdout] --> src/linked_list.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut out = self.node?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_mut` [INFO] [stdout] --> src/linked_list.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn inner_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_node_back` [INFO] [stdout] --> src/linked_list.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | fn pop_node_back(&mut self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_back` [INFO] [stdout] --> src/linked_list.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn pop_back(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_node_front` [INFO] [stdout] --> src/linked_list.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | fn push_node_front(&mut self, mut new_head: Box>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_front` [INFO] [stdout] --> src/linked_list.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/linked_list.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn insert(&mut self, value: T, n: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_empty` [INFO] [stdout] --> src/linked_list.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_node` [INFO] [stdout] --> src/linked_list.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 113 | fn get_node(&self, n: usize) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/linked_list.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn get(&self, n: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_node_mut` [INFO] [stdout] --> src/linked_list.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn get_node_mut(&mut self, n: usize) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/linked_list.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_mut(&mut self, n: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_back` [INFO] [stdout] --> src/linked_list.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn push_back(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_node` [INFO] [stdout] --> src/linked_list.rs:153:8 [INFO] [stdout] | [INFO] [stdout] 153 | fn head_node(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head` [INFO] [stdout] --> src/linked_list.rs:157:12 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail_node` [INFO] [stdout] --> src/linked_list.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | fn tail_node(&self) -> Option<&Box>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail` [INFO] [stdout] --> src/linked_list.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn tail(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tail_node_mut` [INFO] [stdout] --> src/linked_list.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn get_tail_node_mut(&mut self) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail_mut` [INFO] [stdout] --> src/linked_list.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn tail_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reverse` [INFO] [stdout] --> src/linked_list.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn reverse(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | language: Language, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_matchers` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | token_matchers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `patterns` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | source: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language_config` [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | language_config: LanguageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/linked_list.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut penultimate_node = self.get_node_mut(self.len - 2).unwrap(); //annoying variable name [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: variable does not need to be mutable [INFO] [stdout] --> src/linked_list.rs:200:13 [INFO] [stdout] | [INFO] [stdout] 200 | let mut out = self.node?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `inner_mut` [INFO] [stdout] --> src/linked_list.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn inner_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_mut` [INFO] [stdout] --> src/linked_list.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn get_mut(&mut self, n: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_tail_node_mut` [INFO] [stdout] --> src/linked_list.rs:169:8 [INFO] [stdout] | [INFO] [stdout] 169 | fn get_tail_node_mut(&mut self) -> Option<&mut Box>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tail_mut` [INFO] [stdout] --> src/linked_list.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn tail_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language` [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | language: Language, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_matchers` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | token_matchers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token_type` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | token_type: TokenType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `patterns` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | patterns: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `source` [INFO] [stdout] --> src/lib.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | source: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `language_config` [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | language_config: LanguageConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "5bde3b5e3eaca7089f06efeacf9c3a1eacccfdcd4819164f2cb2f97f37b4c861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bde3b5e3eaca7089f06efeacf9c3a1eacccfdcd4819164f2cb2f97f37b4c861", kill_on_drop: false }` [INFO] [stdout] 5bde3b5e3eaca7089f06efeacf9c3a1eacccfdcd4819164f2cb2f97f37b4c861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53b16583886924c1c20a149b21e3d37812a9a762088eff5ca89a830856128c6e [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" "53b16583886924c1c20a149b21e3d37812a9a762088eff5ca89a830856128c6e", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/linked_list.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let mut penultimate_node = self.get_node_mut(self.len - 2).unwrap(); //annoying variable name [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/linked_list.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | let mut out = self.node?; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inner_mut` [INFO] [stderr] --> src/linked_list.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | fn inner_mut(&mut self) -> &mut T { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pop_node_back` [INFO] [stderr] --> src/linked_list.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | fn pop_node_back(&mut self) -> Option>> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `pop_back` [INFO] [stderr] --> src/linked_list.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn pop_back(&mut self) -> Option { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push_node_front` [INFO] [stderr] --> src/linked_list.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | fn push_node_front(&mut self, mut new_head: Box>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push_front` [INFO] [stderr] --> src/linked_list.rs:73:12 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn push_front(&mut self, value: T) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/linked_list.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | pub fn insert(&mut self, value: T, n: usize) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_empty` [INFO] [stderr] --> src/linked_list.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn is_empty(&self) -> bool { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_node` [INFO] [stderr] --> src/linked_list.rs:113:8 [INFO] [stderr] | [INFO] [stderr] 113 | fn get_node(&self, n: usize) -> Option<&Box>> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get` [INFO] [stderr] --> src/linked_list.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 124 | pub fn get(&self, n: usize) -> Option<&T> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_node_mut` [INFO] [stderr] --> src/linked_list.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | fn get_node_mut(&mut self, n: usize) -> Option<&mut Box>> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_mut` [INFO] [stderr] --> src/linked_list.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn get_mut(&mut self, n: usize) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `push_back` [INFO] [stderr] --> src/linked_list.rs:143:12 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn push_back(&mut self, value: T) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `head_node` [INFO] [stderr] --> src/linked_list.rs:153:8 [INFO] [stderr] | [INFO] [stderr] 153 | fn head_node(&self) -> Option<&Box>> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `head` [INFO] [stderr] --> src/linked_list.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn head(&self) -> Option<&T> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tail_node` [INFO] [stderr] --> src/linked_list.rs:161:8 [INFO] [stderr] | [INFO] [stderr] 161 | fn tail_node(&self) -> Option<&Box>> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tail` [INFO] [stderr] --> src/linked_list.rs:165:12 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn tail(&self) -> Option<&T> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_tail_node_mut` [INFO] [stderr] --> src/linked_list.rs:169:8 [INFO] [stderr] | [INFO] [stderr] 169 | fn get_tail_node_mut(&mut self) -> Option<&mut Box>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tail_mut` [INFO] [stderr] --> src/linked_list.rs:173:12 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn tail_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reverse` [INFO] [stderr] --> src/linked_list.rs:181:12 [INFO] [stderr] | [INFO] [stderr] 181 | pub fn reverse(&mut self) { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `language` [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | language: Language, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token_matchers` [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | token_matchers: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token_type` [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | token_type: TokenType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `patterns` [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | patterns: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `source` [INFO] [stderr] --> src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | source: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `language_config` [INFO] [stderr] --> src/lib.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | language_config: LanguageConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 27 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/linked_list.rs:58:13 [INFO] [stderr] | [INFO] [stderr] 58 | let mut penultimate_node = self.get_node_mut(self.len - 2).unwrap(); //annoying variable name [INFO] [stderr] | ----^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/linked_list.rs:200:13 [INFO] [stderr] | [INFO] [stderr] 200 | let mut out = self.node?; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `inner_mut` [INFO] [stderr] --> src/linked_list.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | fn inner_mut(&mut self) -> &mut T { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_mut` [INFO] [stderr] --> src/linked_list.rs:139:12 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn get_mut(&mut self, n: usize) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_tail_node_mut` [INFO] [stderr] --> src/linked_list.rs:169:8 [INFO] [stderr] | [INFO] [stderr] 169 | fn get_tail_node_mut(&mut self) -> Option<&mut Box>> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `tail_mut` [INFO] [stderr] --> src/linked_list.rs:173:12 [INFO] [stderr] | [INFO] [stderr] 173 | pub fn tail_mut(&mut self) -> Option<&mut T> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `language` [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | language: Language, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token_matchers` [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | token_matchers: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token_type` [INFO] [stderr] --> src/lib.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | token_type: TokenType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `patterns` [INFO] [stderr] --> src/lib.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | patterns: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `source` [INFO] [stderr] --> src/lib.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | source: &'a str, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `language_config` [INFO] [stderr] --> src/lib.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | language_config: LanguageConfig, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 12 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gelato_rs-da26f0b30ba6a763) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test linked_list::tests::can_create_from_iter ... ok [INFO] [stdout] test linked_list::tests::can_push_back ... ok [INFO] [stdout] test linked_list::tests::can_insert_into_middle ... ok [INFO] [stdout] test linked_list::tests::can_into_iter ... ok [INFO] [stdout] test linked_list::tests::can_push_front ... ok [INFO] [stdout] test linked_list::tests::pop_front_and_back_decr_length_by_one ... ok [INFO] [stdout] test linked_list::tests::similar_lists_compare_equal ... ok [INFO] [stdout] test linked_list::tests::inserting_increments_length_by_one ... ok [INFO] [stdout] test linked_list::tests::can_reverse ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- linked_list::tests::can_reverse stdout ---- [INFO] [stdout] thread 'linked_list::tests::can_reverse' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `LinkedList { head: Some(Node { value: 99, next: Some(Node { value: 98, next: Some(Node { value: 97, next: Some(Node { value: 96, next: Some(Node { value: 95, next: Some(Node { value: 94, next: Some(Node { value: 93, next: Some(Node { value: 92, next: Some(Node { value: 91, next: Some(Node { value: 90, next: Some(Node { value: 89, next: Some(Node { value: 88, next: Some(Node { value: 87, next: Some(Node { value: 86, next: Some(Node { value: 85, next: Some(Node { value: 84, next: Some(Node { value: 83, next: Some(Node { value: 82, next: Some(Node { value: 81, next: Some(Node { value: 80, next: Some(Node { value: 79, next: Some(Node { value: 78, next: Some(Node { value: 77, next: Some(Node { value: 76, next: Some(Node { value: 75, next: Some(Node { value: 74, next: Some(Node { value: 73, next: Some(Node { value: 72, next: Some(Node { value: 71, next: Some(Node { value: 70, next: Some(Node { value: 69, next: Some(Node { value: 68, next: Some(Node { value: 67, next: Some(Node { value: 66, next: Some(Node { value: 65, next: Some(Node { value: 64, next: Some(Node { value: 63, next: Some(Node { value: 62, next: Some(Node { value: 61, next: Some(Node { value: 60, next: Some(Node { value: 59, next: Some(Node { value: 58, next: Some(Node { value: 57, next: Some(Node { value: 56, next: Some(Node { value: 55, next: Some(Node { value: 54, next: Some(Node { value: 53, next: Some(Node { value: 52, next: Some(Node { value: 51, next: Some(Node { value: 50, next: Some(Node { value: 49, next: Some(Node { value: 48, next: Some(Node { value: 47, next: Some(Node { value: 46, next: Some(Node { value: 45, next: Some(Node { value: 44, next: Some(Node { value: 43, next: Some(Node { value: 42, next: Some(Node { value: 41, next: Some(Node { value: 40, next: Some(Node { value: 39, next: Some(Node { value: 38, next: Some(Node { value: 37, next: Some(Node { value: 36, next: Some(Node { value: 35, next: Some(Node { value: 34, next: Some(Node { value: 33, next: Some(Node { value: 32, next: Some(Node { value: 31, next: Some(Node { value: 30, next: Some(Node { value: 29, next: Some(Node { value: 28, next: Some(Node { value: 27, next: Some(Node { value: 26, next: Some(Node { value: 25, next: Some(Node { value: 24, next: Some(Node { value: 23, next: Some(Node { value: 22, next: Some(Node { value: 21, next: Some(Node { value: 20, next: Some(Node { value: 19, next: Some(Node { value: 18, next: Some(Node { value: 17, next: Some(Node { value: 16, next: Some(Node { value: 15, next: Some(Node { value: 14, next: Some(Node { value: 13, next: Some(Node { value: 12, next: Some(Node { value: 11, next: Some(Node { value: 10, next: Some(Node { value: 9, next: Some(Node { value: 8, next: Some(Node { value: 7, next: Some(Node { value: 6, next: Some(Node { value: 5, next: Some(Node { value: 4, next: Some(Node { value: 3, next: Some(Node { value: 2, next: Some(Node { value: 1, next: Some(Node { value: 0, next: None }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }), len: 100 }`, [INFO] [stdout] right: `LinkedList { head: Some(Node { value: 0, next: Some(Node { value: 1, next: Some(Node { value: 2, next: Some(Node { value: 3, next: Some(Node { value: 4, next: Some(Node { value: 5, next: Some(Node { value: 6, next: Some(Node { value: 7, next: Some(Node { value: 8, next: Some(Node { value: 9, next: Some(Node { value: 10, next: Some(Node { value: 11, next: Some(Node { value: 12, next: Some(Node { value: 13, next: Some(Node { value: 14, next: Some(Node { value: 15, next: Some(Node { value: 16, next: Some(Node { value: 17, next: Some(Node { value: 18, next: Some(Node { value: 19, next: Some(Node { value: 20, next: Some(Node { value: 21, next: Some(Node { value: 22, next: Some(Node { value: 23, next: Some(Node { value: 24, next: Some(Node { value: 25, next: Some(Node { value: 26, next: Some(Node { value: 27, next: Some(Node { value: 28, next: Some(Node { value: 29, next: Some(Node { value: 30, next: Some(Node { value: 31, next: Some(Node { value: 32, next: Some(Node { value: 33, next: Some(Node { value: 34, next: Some(Node { value: 35, next: Some(Node { value: 36, next: Some(Node { value: 37, next: Some(Node { value: 38, next: Some(Node { value: 39, next: Some(Node { value: 40, next: Some(Node { value: 41, next: Some(Node { value: 42, next: Some(Node { value: 43, next: Some(Node { value: 44, next: Some(Node { value: 45, next: Some(Node { value: 46, next: Some(Node { value: 47, next: Some(Node { value: 48, next: Some(Node { value: 49, next: Some(Node { value: 50, next: Some(Node { value: 51, next: Some(Node { value: 52, next: Some(Node { value: 53, next: Some(Node { value: 54, next: Some(Node { value: 55, next: Some(Node { value: 56, next: Some(Node { value: 57, next: Some(Node { value: 58, next: Some(Node { value: 59, next: Some(Node { value: 60, next: Some(Node { value: 61, next: Some(Node { value: 62, next: Some(Node { value: 63, next: Some(Node { value: 64, next: Some(Node { value: 65, next: Some(Node { value: 66, next: Some(Node { value: 67, next: Some(Node { value: 68, next: Some(Node { value: 69, next: Some(Node { value: 70, next: Some(Node { value: 71, next: Some(Node { value: 72, next: Some(Node { value: 73, next: Some(Node { value: 74, next: Some(Node { value: 75, next: Some(Node { value: 76, next: Some(Node { value: 77, next: Some(Node { value: 78, next: Some(Node { value: 79, next: Some(Node { value: 80, next: Some(Node { value: 81, next: Some(Node { value: 82, next: Some(Node { value: 83, next: Some(Node { value: 84, next: Some(Node { value: 85, next: Some(Node { value: 86, next: Some(Node { value: 87, next: Some(Node { value: 88, next: Some(Node { value: 89, next: Some(Node { value: 90, next: Some(Node { value: 91, next: Some(Node { value: 92, next: Some(Node { value: 93, next: Some(Node { value: 94, next: Some(Node { value: 95, next: Some(Node { value: 96, next: Some(Node { value: 97, next: Some(Node { value: 98, next: Some(Node { value: 99, next: None }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }) }), len: 100 }`', src/linked_list.rs:335:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56003bb59240 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x56003bb59240 - std[77c0456e0eb29f0c]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56003bb59240 - std[77c0456e0eb29f0c]::sys_common::backtrace::_print_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x56003bb59240 - ::fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56003bb7ba1c - core[ee1ca6415511a9c4]::fmt::write [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/fmt/mod.rs:1110:17 [INFO] [stdout] 5: 0x56003bb56185 - as std[77c0456e0eb29f0c]::io::Write>::write_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/io/mod.rs:1584:15 [INFO] [stdout] 6: 0x56003bb5b3cb - std[77c0456e0eb29f0c]::sys_common::backtrace::_print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x56003bb5b3cb - std[77c0456e0eb29f0c]::sys_common::backtrace::print [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x56003bb5b3cb - std[77c0456e0eb29f0c]::panicking::default_hook::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x56003bb5aedc - std[77c0456e0eb29f0c]::panicking::default_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x56003bb5ba71 - std[77c0456e0eb29f0c]::panicking::rust_panic_with_hook [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x56003bb5b577 - std[77c0456e0eb29f0c]::panicking::begin_panic_handler::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x56003bb5973c - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x56003bb5b4d9 - rust_begin_unwind [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x56003bafd4b1 - core[ee1ca6415511a9c4]::panicking::panic_fmt [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x56003bb7a338 - core[ee1ca6415511a9c4]::panicking::assert_failed_inner [INFO] [stdout] 16: 0x56003bb079aa - core[ee1ca6415511a9c4]::panicking::assert_failed::, gelato_rs[a7b3a3a40ee9e549]::linked_list::LinkedList> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/panicking.rs:117:5 [INFO] [stdout] 17: 0x56003bb06564 - gelato_rs[a7b3a3a40ee9e549]::linked_list::tests::can_reverse [INFO] [stdout] at /opt/rustwide/workdir/src/linked_list.rs:335:9 [INFO] [stdout] 18: 0x56003bb063aa - gelato_rs[a7b3a3a40ee9e549]::linked_list::tests::can_reverse::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/linked_list.rs:328:5 [INFO] [stdout] 19: 0x56003bb00b0e - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x56003bb2e4d3 - >::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x56003bb2e4d3 - test[eeb9024d9ac7bc83]::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:577:5 [INFO] [stdout] 22: 0x56003bb2cf9c - + core[ee1ca6415511a9c4]::marker::Send> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 23: 0x56003bb2cf9c - + core[ee1ca6415511a9c4]::marker::Send>> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 24: 0x56003bb2cf9c - std[77c0456e0eb29f0c]::panicking::try::do_call:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x56003bb2cf9c - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe + core[ee1ca6415511a9c4]::marker::Send>>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x56003bb2cf9c - std[77c0456e0eb29f0c]::panic::catch_unwind:: + core[ee1ca6415511a9c4]::marker::Send>>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 27: 0x56003bb2cf9c - test[eeb9024d9ac7bc83]::run_test_in_process [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:600:18 [INFO] [stdout] 28: 0x56003bb2cf9c - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:492:39 [INFO] [stdout] 29: 0x56003bb0cc62 - test[eeb9024d9ac7bc83]::run_test::run_test_inner::{closure#1} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/test/src/lib.rs:519:37 [INFO] [stdout] 30: 0x56003bb0cc62 - std[77c0456e0eb29f0c]::sys_common::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x56003bb0d548 - ::spawn_unchecked::::{closure#0}::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x56003bb0d548 - ::spawn_unchecked::{closure#0}::{closure#0}> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:346:9 [INFO] [stdout] 33: 0x56003bb0d548 - std[77c0456e0eb29f0c]::panicking::try::do_call::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x56003bb0d548 - std[77c0456e0eb29f0c]::panicking::try::<(), std[77c0456e0eb29f0c]::panic::AssertUnwindSafe<::spawn_unchecked::{closure#0}::{closure#0}>> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x56003bb0d548 - std[77c0456e0eb29f0c]::panic::catch_unwind::::spawn_unchecked::{closure#0}::{closure#0}>, ()> [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/panic.rs:433:14 [INFO] [stdout] 36: 0x56003bb0d548 - ::spawn_unchecked::::{closure#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x56003bb0d548 - <::spawn_unchecked::{closure#0} as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x56003bb60527 - > as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 39: 0x56003bb60527 - >> as core[ee1ca6415511a9c4]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/alloc/src/boxed.rs:1575:9 [INFO] [stdout] 40: 0x56003bb60527 - ::new::thread_start [INFO] [stdout] at /rustc/ce59db7a1b1b012fb2793c4641c1bdecad7a128b/library/std/src/sys/unix/thread.rs:71:17 [INFO] [stdout] 41: 0x7f7191660609 - start_thread [INFO] [stdout] 42: 0x7f7191432293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] linked_list::tests::can_reverse [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "53b16583886924c1c20a149b21e3d37812a9a762088eff5ca89a830856128c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53b16583886924c1c20a149b21e3d37812a9a762088eff5ca89a830856128c6e", kill_on_drop: false }` [INFO] [stdout] 53b16583886924c1c20a149b21e3d37812a9a762088eff5ca89a830856128c6e