[INFO] cloning repository https://github.com/jinchaofs/rust-algorithms
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jinchaofs/rust-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinchaofs%2Frust-algorithms", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinchaofs%2Frust-algorithms'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf9a1e73b642abf18732d6e583aa2e5eed094906
[INFO] checking jinchaofs/rust-algorithms against master#32cd9114712a24010b0583624dc52ac302194128 for pr-143717
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinchaofs%2Frust-algorithms" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jinchaofs/rust-algorithms
[INFO] finished tweaking git repo https://github.com/jinchaofs/rust-algorithms
[INFO] tweaked toml for git repo https://github.com/jinchaofs/rust-algorithms written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jinchaofs/rust-algorithms on toolchain 32cd9114712a24010b0583624dc52ac302194128
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jinchaofs/rust-algorithms 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" "+32cd9114712a24010b0583624dc52ac302194128" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+32cd9114712a24010b0583624dc52ac302194128" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55cfa9fa23e1060705dc37193343f5101f908af54e529f1151d8048ae86ce5b5
[INFO] running `Command { std: "docker" "start" "-a" "55cfa9fa23e1060705dc37193343f5101f908af54e529f1151d8048ae86ce5b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55cfa9fa23e1060705dc37193343f5101f908af54e529f1151d8048ae86ce5b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55cfa9fa23e1060705dc37193343f5101f908af54e529f1151d8048ae86ce5b5", kill_on_drop: false }`
[INFO] [stdout] 55cfa9fa23e1060705dc37193343f5101f908af54e529f1151d8048ae86ce5b5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+32cd9114712a24010b0583624dc52ac302194128" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f7e78daa0563a2e79b392cb56391b63dc9738482876bd1ae4ab0779fa14dbae2
[INFO] running `Command { std: "docker" "start" "-a" "f7e78daa0563a2e79b392cb56391b63dc9738482876bd1ae4ab0779fa14dbae2", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_arithmetic v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `mem`
[INFO] [stdout]  --> src/arithmetics/linkedlist/opt.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, mem};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `borrow::BorrowMut` and `mem`
[INFO] [stdout]  --> src/arithmetics/linkedlist/opt.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{borrow::BorrowMut, mem};
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expr` is never used
[INFO] [stdout]  --> src/arithmetics/string/interpret/expr.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Expr {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `accept` is never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/expr.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 21 |     pub fn accept<T: ExprVisitor>(&self, visitor: &T) -> T::ReturnType {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExprVisitor` is never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/expr.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait ExprVisitor {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Integer`, `Float`, `String`, and `None` are never constructed
[INFO] [stdout]  --> src/arithmetics/string/interpret/literal.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Literal {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 5 |     Integer(i64),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 6 |     Float(f64),
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     String(String),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Bool(bool),
[INFO] [stdout] 9 |     None,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]   --> src/arithmetics/string/interpret/parser.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Parser {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `evaluate`, `expression`, `advance`, `peek`, and `is_at_end` are never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/parser.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Parser {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(tokens: Vec<Token>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn evaluate(&self, expr: &Box<Expr>) -> Literal {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn expression() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn advance(&self) -> &Token {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn peek(&self) -> &Token {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ListNode` is never constructed
[INFO] [stdout]  --> src/arithmetics/linkedlist/list_node.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct ListNode<T> {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `from_list` are never used
[INFO] [stdout]   --> src/arithmetics/linkedlist/list_node.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | / impl<T> ListNode<T>
[INFO] [stdout] 10 | | where
[INFO] [stdout] 11 | |     T: Clone + PartialEq + Debug,
[INFO] [stdout]    | |_________________________________- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |       pub fn new(val: T) -> Self {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] ...
[INFO] [stdout] 18 |       pub fn from_list(list: Vec<T>) -> Option<Box<ListNode<T>>> {
[INFO] [stdout]    |              ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse` is never used
[INFO] [stdout]  --> src/arithmetics/linkedlist/opt.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn reverse(head: Option<Box<ListNode<i32>>>) -> Option<Box<ListNode<i32>>> {
[INFO] [stdout]   |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse_list` is never used
[INFO] [stdout]   --> src/arithmetics/linkedlist/opt.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn reverse_list(head: Option<Box<ListNode<i32>>>) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reverse_list_by_recursive` is never used
[INFO] [stdout]   --> src/arithmetics/linkedlist/opt.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub fn reverse_list_by_recursive(head: Option<Box<ListNode<i32>>>) -> Vec<i32> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_node` is never used
[INFO] [stdout]   --> src/arithmetics/linkedlist/opt.rs:57:8
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn delete_node(head: Option<Box<ListNode<i32>>>, val: i32) -> Option<Box<ListNode<i32>>> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_nth_from_end` is never used
[INFO] [stdout]   --> src/arithmetics/linkedlist/opt.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn find_nth_from_end(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_nth_from_end_v2` is never used
[INFO] [stdout]    --> src/arithmetics/linkedlist/opt.rs:132:8
[INFO] [stdout]     |
[INFO] [stdout] 132 | pub fn find_nth_from_end_v2(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Expr` is never used
[INFO] [stdout]  --> src/arithmetics/string/interpret/expr.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Expr {
[INFO] [stdout]   |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `accept` is never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/expr.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Expr {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] 21 |     pub fn accept<T: ExprVisitor>(&self, visitor: &T) -> T::ReturnType {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ExprVisitor` is never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/expr.rs:35:11
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub trait ExprVisitor {
[INFO] [stdout]    |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Integer`, `Float`, `String`, and `None` are never constructed
[INFO] [stdout]  --> src/arithmetics/string/interpret/literal.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Literal {
[INFO] [stdout]   |          ------- variants in this enum
[INFO] [stdout] 5 |     Integer(i64),
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 6 |     Float(f64),
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout] 7 |     String(String),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 8 |     Bool(bool),
[INFO] [stdout] 9 |     None,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Literal` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Parser` is never constructed
[INFO] [stdout]   --> src/arithmetics/string/interpret/parser.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Parser {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `evaluate`, `expression`, `advance`, `peek`, and `is_at_end` are never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/parser.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Parser {
[INFO] [stdout]    | ----------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn new(tokens: Vec<Token>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn evaluate(&self, expr: &Box<Expr>) -> Literal {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn expression() {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     fn advance(&self) -> &Token {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     fn peek(&self) -> &Token {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn is_at_end(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/arithmetics/string/interpret/token.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 43 | impl Token {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 44 |     pub fn new(token_type: TokenType, value: Option<String>, position: Position) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s
[INFO] running `Command { std: "docker" "inspect" "f7e78daa0563a2e79b392cb56391b63dc9738482876bd1ae4ab0779fa14dbae2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f7e78daa0563a2e79b392cb56391b63dc9738482876bd1ae4ab0779fa14dbae2", kill_on_drop: false }`
[INFO] [stdout] f7e78daa0563a2e79b392cb56391b63dc9738482876bd1ae4ab0779fa14dbae2
