[INFO] cloning repository https://github.com/XMLHexagram/leetcode-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/XMLHexagram/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMLHexagram%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMLHexagram%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67420cc3d22c7b29942240a2a7cff897503eccb0 [INFO] checking XMLHexagram/leetcode-rust/67420cc3d22c7b29942240a2a7cff897503eccb0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FXMLHexagram%2Fleetcode-rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/XMLHexagram/leetcode-rust on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/XMLHexagram/leetcode-rust [INFO] finished tweaking git repo https://github.com/XMLHexagram/leetcode-rust [INFO] tweaked toml for git repo https://github.com/XMLHexagram/leetcode-rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/XMLHexagram/leetcode-rust 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c04f4d2332231a1447f02d7b28b48324225b7ce6b7738aaef7716f514a660255 [INFO] running `Command { std: "docker" "start" "-a" "c04f4d2332231a1447f02d7b28b48324225b7ce6b7738aaef7716f514a660255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c04f4d2332231a1447f02d7b28b48324225b7ce6b7738aaef7716f514a660255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c04f4d2332231a1447f02d7b28b48324225b7ce6b7738aaef7716f514a660255", kill_on_drop: false }` [INFO] [stdout] c04f4d2332231a1447f02d7b28b48324225b7ce6b7738aaef7716f514a660255 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b2a4833084419d9562c01407fa1f516bf7284235fd7f742884ad9129ff38b49 [INFO] running `Command { std: "docker" "start" "-a" "8b2a4833084419d9562c01407fa1f516bf7284235fd7f742884ad9129ff38b49", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking champagne_tower_799-22-03-03 v0.1.0 (/opt/rustwide/workdir/champagne_tower_799-22-03-03) [INFO] [stderr] Checking merge_two_sorted_lists_21_22_03_08 v0.1.0 (/opt/rustwide/workdir/merge_two_sorted_lists_21_22_03_08) [INFO] [stderr] Checking plus_one_66_22_11_20 v0.1.0 (/opt/rustwide/workdir/plus_one_66_22_11_20) [INFO] [stderr] Checking rotate_list_61_22_03_12 v0.1.0 (/opt/rustwide/workdir/rotate_list_61_22_03_12) [INFO] [stderr] Checking add_two_numbers_2_22_03_11 v0.1.0 (/opt/rustwide/workdir/add_two_numbers_2_22_03_11) [INFO] [stderr] Checking count_all_valid_pickup_and_deliveryo_options_1359_22_03_06 v0.1.0 (/opt/rustwide/workdir/count_all_valid_pickup_and_deliveryo_options_1359_22_03_06) [INFO] [stderr] Checking delete_and_earn_740_22_03_05 v0.1.0 (/opt/rustwide/workdir/delete_and_earn_740_22_03_05) [INFO] [stderr] Checking arithmetic_slices-413-22-03-03 v0.1.0 (/opt/rustwide/workdir/arithmetic_slices-413-22-03-03) [INFO] [stderr] Checking balanced_binary_tree_110_22_11_21 v0.1.0 (/opt/rustwide/workdir/balanced_binary_tree_110_22_11_21) [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> delete_and_earn_740_22_03_05/src/main.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> merge_two_sorted_lists_21_22_03_08/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> merge_two_sorted_lists_21_22_03_08/src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | #[inline] [INFO] [stdout] 16 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge_two_lists` is never used [INFO] [stdout] --> merge_two_sorted_lists_21_22_03_08/src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub fn merge_two_lists( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `walk` is never read [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut walk = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prv` [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let mut prv = &Box::new(ListNode::new(-1000)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_prv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `s` in this scope [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | s [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `walk` is never read [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | let mut walk = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prv` [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:37:25 [INFO] [stdout] | [INFO] [stdout] 37 | let mut prv = &Box::new(ListNode::new(-1000)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_prv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> merge_two_sorted_lists_21_22_03_08/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> merge_two_sorted_lists_21_22_03_08/src/main.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 15 | #[inline] [INFO] [stdout] 16 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MAX` [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::i32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `merge_two_lists` is never used [INFO] [stdout] --> merge_two_sorted_lists_21_22_03_08/src/main.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 21 | pub fn merge_two_lists( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `s` in this scope [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | s [INFO] [stdout] | ^ help: a local variable with a similar name exists: `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Solution` [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | use crate::Solution; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Solution` [INFO] [stdout] --> plus_one_66_22_11_20/src/main.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::Solution; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> plus_one_66_22_11_20/src/main.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::i32::MAX` [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use std::i32::MAX; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> count_all_valid_pickup_and_deliveryo_options_1359_22_03_06/src/main.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct Solution; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MOD` is never used [INFO] [stdout] --> count_all_valid_pickup_and_deliveryo_options_1359_22_03_06/src/main.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const MOD:i128 = 1_000_000_007; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `aListNode` [INFO] [stdout] --> add_two_numbers_2_22_03_11/src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut result = aListNode::new(0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `aListNode` [INFO] [stdout] | help: a struct with a similar name exists: `ListNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `count_orders` is never used [INFO] [stdout] --> count_all_valid_pickup_and_deliveryo_options_1359_22_03_06/src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 10 | pub fn count_orders(n: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut prv = &Box::new(ListNode::new(-1000)); [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] --> rotate_list_61_22_03_12/src/main.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | let mut prv = &Box::new(ListNode::new(-1000)); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solution` is never constructed [INFO] [stdout] --> plus_one_66_22_11_20/src/main.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Solution {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `node.next`, which is behind a `&` reference [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | node.next = head; [INFO] [stdout] | ^^^^^^^^^ `node` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 28 | let mut node = &mut head1; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to `node.next`, which is behind a `&` reference [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | node.next = head; [INFO] [stdout] | ^^^^^^^^^ `node` is a `&` reference, so the data it refers to cannot be written [INFO] [stdout] | [INFO] [stdout] help: consider changing this to be a mutable reference [INFO] [stdout] | [INFO] [stdout] 28 | let mut node = &mut head1; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `plus_one` is never used [INFO] [stdout] --> plus_one_66_22_11_20/src/main.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Solution { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 9 | pub fn plus_one(mut digits: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of partially moved value: `head` [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 27 | Some(head1) => { [INFO] [stdout] | ----- value partially moved here [INFO] [stdout] ... [INFO] [stdout] 34 | node.next = head; [INFO] [stdout] | ^^^^ value used here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because value has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value [INFO] [stdout] | [INFO] [stdout] 27 | Some(ref head1) => { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of partially moved value: `head` [INFO] [stdout] --> rotate_list_61_22_03_12/src/main.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 27 | Some(head1) => { [INFO] [stdout] | ----- value partially moved here [INFO] [stdout] ... [INFO] [stdout] 34 | node.next = head; [INFO] [stdout] | ^^^^ value used here after partial move [INFO] [stdout] | [INFO] [stdout] = note: partial move occurs because value has type `Box`, which does not implement the `Copy` trait [INFO] [stdout] help: borrow this binding in the pattern to avoid moving the value [INFO] [stdout] | [INFO] [stdout] 27 | Some(ref head1) => { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0382, E0594. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `aListNode` [INFO] [stdout] --> add_two_numbers_2_22_03_11/src/main.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | let mut result = aListNode::new(0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared crate or module `aListNode` [INFO] [stdout] | help: a struct with a similar name exists: `ListNode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rotate_list_61_22_03_12` (bin "rotate_list_61_22_03_12") due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rotate_list_61_22_03_12` (bin "rotate_list_61_22_03_12" test) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] error: could not compile `add_two_numbers_2_22_03_11` (bin "add_two_numbers_2_22_03_11") due to 2 previous errors [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> balanced_binary_tree_110_22_11_21/src/main.rs:69:57 [INFO] [stdout] | [INFO] [stdout] 69 | Solution::is_balanced(Some(Rc::new(RefCell::new(test_case)))); [INFO] [stdout] | ------------ ^^^^^^^^^ expected `TreeNode`, found `Option` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `TreeNode` [INFO] [stdout] found enum `Option` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cell.rs:839:18 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `Option` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 69 | Solution::is_balanced(Some(Rc::new(RefCell::new(test_case.expect("REASON"))))); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `balanced_binary_tree_110_22_11_21` (bin "balanced_binary_tree_110_22_11_21") due to 2 previous errors; 3 warnings emitted [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `add_two_numbers_2_22_03_11` (bin "add_two_numbers_2_22_03_11" test) due to 2 previous errors [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> delete_and_earn_740_22_03_05/src/main.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | use std::{collections::HashMap, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `balanced_binary_tree_110_22_11_21` (bin "balanced_binary_tree_110_22_11_21" test) due to 3 previous errors; 2 warnings emitted [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8b2a4833084419d9562c01407fa1f516bf7284235fd7f742884ad9129ff38b49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b2a4833084419d9562c01407fa1f516bf7284235fd7f742884ad9129ff38b49", kill_on_drop: false }` [INFO] [stdout] 8b2a4833084419d9562c01407fa1f516bf7284235fd7f742884ad9129ff38b49