[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#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinchaofs%2Frust-algorithms" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jinchaofs/rust-algorithms on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe9351f0fcc823d94e24f726abecc2a569552e7fc9137c5abe5dfb57defeca81 [INFO] running `Command { std: "docker" "start" "-a" "fe9351f0fcc823d94e24f726abecc2a569552e7fc9137c5abe5dfb57defeca81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe9351f0fcc823d94e24f726abecc2a569552e7fc9137c5abe5dfb57defeca81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe9351f0fcc823d94e24f726abecc2a569552e7fc9137c5abe5dfb57defeca81", kill_on_drop: false }` [INFO] [stdout] fe9351f0fcc823d94e24f726abecc2a569552e7fc9137c5abe5dfb57defeca81 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e5e98f83e5da1afcf7fa4aceb837ef8bdffd794ce4a66b4410ec3c7e4b0d5bc [INFO] running `Command { std: "docker" "start" "-a" "5e5e98f83e5da1afcf7fa4aceb837ef8bdffd794ce4a66b4410ec3c7e4b0d5bc", 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: 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 ListNode [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) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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>>) -> Option>> { [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>>) -> Vec { [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>>) -> Vec { [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>>, val: i32) -> Option>> { [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: variants `Binary`, `Grouping`, `Unary`, and `Literal` are never constructed [INFO] [stdout] --> src/arithmetics/string/interpret/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Grouping { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: variants `Integer`, `Float`, and `String` 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] | [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: fields `tokens` and `current` are never read [INFO] [stdout] --> src/arithmetics/string/interpret/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | current: Cell, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `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) -> Self { [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, position: Position) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Binary`, `Grouping`, `Unary`, and `Literal` are never constructed [INFO] [stdout] --> src/arithmetics/string/interpret/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Grouping { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, and `String` 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] | [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: fields `tokens` and `current` are never read [INFO] [stdout] --> src/arithmetics/string/interpret/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | current: Cell, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `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) -> Self { [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "5e5e98f83e5da1afcf7fa4aceb837ef8bdffd794ce4a66b4410ec3c7e4b0d5bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e5e98f83e5da1afcf7fa4aceb837ef8bdffd794ce4a66b4410ec3c7e4b0d5bc", kill_on_drop: false }` [INFO] [stdout] 5e5e98f83e5da1afcf7fa4aceb837ef8bdffd794ce4a66b4410ec3c7e4b0d5bc [INFO] checking jinchaofs/rust-algorithms against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjinchaofs%2Frust-algorithms" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jinchaofs/rust-algorithms on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b2b26a62730890b40a14b1bb8baba710df8044df8fddb6b8e56e5a2d7a6cd27 [INFO] running `Command { std: "docker" "start" "-a" "6b2b26a62730890b40a14b1bb8baba710df8044df8fddb6b8e56e5a2d7a6cd27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b2b26a62730890b40a14b1bb8baba710df8044df8fddb6b8e56e5a2d7a6cd27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b2b26a62730890b40a14b1bb8baba710df8044df8fddb6b8e56e5a2d7a6cd27", kill_on_drop: false }` [INFO] [stdout] 6b2b26a62730890b40a14b1bb8baba710df8044df8fddb6b8e56e5a2d7a6cd27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6dcb4dfbf0f579c9a14cd2351af533a0914e26d7224ae55fbbace1da38e4336c [INFO] running `Command { std: "docker" "start" "-a" "6dcb4dfbf0f579c9a14cd2351af533a0914e26d7224ae55fbbace1da38e4336c", 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: 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 ListNode [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) -> Option>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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>>) -> Option>> { [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>>) -> Vec { [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>>) -> Vec { [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>>, val: i32) -> Option>> { [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: variants `Binary`, `Grouping`, `Unary`, and `Literal` are never constructed [INFO] [stdout] --> src/arithmetics/string/interpret/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Grouping { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` 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: variants `Integer`, `Float`, and `String` 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] | [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: fields `tokens` and `current` are never read [INFO] [stdout] --> src/arithmetics/string/interpret/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | current: Cell, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `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) -> Self { [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, position: Position) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetics/linkedlist/list_node.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ListNode { val, next: None } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_arithmetic` (bin "rust_arithmetic") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `Binary`, `Grouping`, `Unary`, and `Literal` are never constructed [INFO] [stdout] --> src/arithmetics/string/interpret/expr.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Binary { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | Grouping { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | Unary { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | Literal(Literal), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Integer`, `Float`, and `String` 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] | [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: fields `tokens` and `current` are never read [INFO] [stdout] --> src/arithmetics/string/interpret/parser.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Parser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 11 | tokens: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | current: Cell, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Parser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `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) -> Self { [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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/arithmetics/linkedlist/list_node.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(val: T) -> Self { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 15 | ListNode { val, next: None } [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_arithmetic` (bin "rust_arithmetic" test) due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6dcb4dfbf0f579c9a14cd2351af533a0914e26d7224ae55fbbace1da38e4336c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6dcb4dfbf0f579c9a14cd2351af533a0914e26d7224ae55fbbace1da38e4336c", kill_on_drop: false }` [INFO] [stdout] 6dcb4dfbf0f579c9a14cd2351af533a0914e26d7224ae55fbbace1da38e4336c