[INFO] cloning repository https://github.com/worldmaker18349276/leetcode
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/worldmaker18349276/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworldmaker18349276%2Fleetcode", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworldmaker18349276%2Fleetcode'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 39ffb7e12bcf26f775bb0b5073ead1cbeee93416
[INFO] checking worldmaker18349276/leetcode against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fworldmaker18349276%2Fleetcode" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/worldmaker18349276/leetcode
[INFO] finished tweaking git repo https://github.com/worldmaker18349276/leetcode
[INFO] tweaked toml for git repo https://github.com/worldmaker18349276/leetcode written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/worldmaker18349276/leetcode on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/worldmaker18349276/leetcode 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8928b5af6edae6227e2e4e5830f83f50f311bac82a86dc14e23941d9528e4107
[INFO] running `Command { std: "docker" "start" "-a" "8928b5af6edae6227e2e4e5830f83f50f311bac82a86dc14e23941d9528e4107", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8928b5af6edae6227e2e4e5830f83f50f311bac82a86dc14e23941d9528e4107", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8928b5af6edae6227e2e4e5830f83f50f311bac82a86dc14e23941d9528e4107", kill_on_drop: false }`
[INFO] [stdout] 8928b5af6edae6227e2e4e5830f83f50f311bac82a86dc14e23941d9528e4107
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b763c8a9c3ca0a77ad9042fb69118a785040b6465f9c86e541f0daa1c7120fe7
[INFO] running `Command { std: "docker" "start" "-a" "b763c8a9c3ca0a77ad9042fb69118a785040b6465f9c86e541f0daa1c7120fe7", kill_on_drop: false }`
[INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::slice::SliceIndex`
[INFO] [stdout] --> src/solutions/problem87.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::slice::SliceIndex;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::slice::SliceIndex`
[INFO] [stdout] --> src/solutions/problem87.rs:1:5
[INFO] [stdout] |
[INFO] [stdout] 1 | use std::slice::SliceIndex;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: value assigned to `top_value` is never read
[INFO] [stdout] --> src/solutions/problem33.rs:45:17
[INFO] [stdout] |
[INFO] [stdout] 45 | top_value = mid_value;
[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: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem1.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem1.rs:24:8
[INFO] [stdout] |
[INFO] [stdout] 24 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionFast` is never constructed
[INFO] [stdout] --> src/solutions/problem1.rs:40:8
[INFO] [stdout] |
[INFO] [stdout] 40 | struct SolutionFast;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem2.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 8 | impl ListNode {
[INFO] [stdout] | ------------- associated function in this implementation
[INFO] [stdout] 9 | #[inline]
[INFO] [stdout] 10 | fn new(val: i32) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem2.rs:26:8
[INFO] [stdout] |
[INFO] [stdout] 26 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionLoop` is never constructed
[INFO] [stdout] --> src/solutions/problem2.rs:49:8
[INFO] [stdout] |
[INFO] [stdout] 49 | struct SolutionLoop;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem3.rs:6:8
[INFO] [stdout] |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem3.rs:35:8
[INFO] [stdout] |
[INFO] [stdout] 35 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem4.rs:7:8
[INFO] [stdout] |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem4.rs:60:16
[INFO] [stdout] |
[INFO] [stdout] 54 | / impl MergeIter
[INFO] [stdout] 55 | | where
[INFO] [stdout] 56 | | A: Iterator,
[INFO] [stdout] 57 | | A::Item: Copy + Ord,
[INFO] [stdout] 58 | | B: Iterator- ,
[INFO] [stdout] | |________________________________________- associated function in this implementation
[INFO] [stdout] 59 | {
[INFO] [stdout] 60 | fn new(mut iter1: A, mut iter2: B) -> MergeIter {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIndex` is never constructed
[INFO] [stdout] --> src/solutions/problem4.rs:89:8
[INFO] [stdout] |
[INFO] [stdout] 89 | struct SolutionIndex;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem5.rs:6:8
[INFO] [stdout] |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem5.rs:33:8
[INFO] [stdout] |
[INFO] [stdout] 33 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ManacherAlgorithm` is never constructed
[INFO] [stdout] --> src/solutions/problem5.rs:62:8
[INFO] [stdout] |
[INFO] [stdout] 62 | struct ManacherAlgorithm;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem6.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem6.rs:54:8
[INFO] [stdout] |
[INFO] [stdout] 54 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem7.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem8.rs:24:8
[INFO] [stdout] |
[INFO] [stdout] 24 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem9.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem10.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionDP` is never constructed
[INFO] [stdout] --> src/solutions/problem10.rs:57:8
[INFO] [stdout] |
[INFO] [stdout] 57 | struct SolutionDP;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem11.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem12.rs:27:8
[INFO] [stdout] |
[INFO] [stdout] 27 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem13.rs:27:8
[INFO] [stdout] |
[INFO] [stdout] 27 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem14.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem15.rs:9:8
[INFO] [stdout] |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem16.rs:9:8
[INFO] [stdout] |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem17.rs:17:8
[INFO] [stdout] |
[INFO] [stdout] 17 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem18.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem18.rs:48:16
[INFO] [stdout] |
[INFO] [stdout] 43 | / impl UniqueIterator
[INFO] [stdout] 44 | | where
[INFO] [stdout] 45 | | I: Iterator,
[INFO] [stdout] 46 | | I::Item: Copy + PartialEq,
[INFO] [stdout] | |______________________________________- associated function in this implementation
[INFO] [stdout] 47 | {
[INFO] [stdout] 48 | fn new(origin: I) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem19.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem20.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem21.rs:19:8
[INFO] [stdout] |
[INFO] [stdout] 19 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem22.rs:7:8
[INFO] [stdout] |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem23.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem24.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem25.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem26.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem27.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem28.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem29.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionOverpower` is never constructed
[INFO] [stdout] --> src/solutions/problem30.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | struct SolutionOverpower;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `depth` are never used
[INFO] [stdout] --> src/solutions/problem30.rs:21:16
[INFO] [stdout] |
[INFO] [stdout] 20 | impl Tree {
[INFO] [stdout] | --------------- associated items in this implementation
[INFO] [stdout] 21 | fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 | fn depth(&self) -> usize {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `trim` is never used
[INFO] [stdout] --> src/solutions/problem30.rs:31:16
[INFO] [stdout] |
[INFO] [stdout] 30 | impl Tree {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] 31 | fn trim(&mut self, which: &T, count: usize) {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem30.rs:94:8
[INFO] [stdout] |
[INFO] [stdout] 94 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem31.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem32.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem33.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem34.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem35.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem36.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem37.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `check`, and `solve` are never used
[INFO] [stdout] --> src/solutions/problem37.rs:16:16
[INFO] [stdout] |
[INFO] [stdout] 15 | impl SudokuSolver {
[INFO] [stdout] | ----------------- associated items in this implementation
[INFO] [stdout] 16 | fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 | fn check(&mut self, i: usize, j: usize, grid: &char) -> bool {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | fn solve(&mut self, board: &mut Vec>) -> bool {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem38.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem39.rs:9:8
[INFO] [stdout] |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem40.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem41.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem42.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionFaster` is never constructed
[INFO] [stdout] --> src/solutions/problem42.rs:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | struct SolutionFaster;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem43.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem44.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem45.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem46.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem47.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem48.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionFast` is never constructed
[INFO] [stdout] --> src/solutions/problem48.rs:22:8
[INFO] [stdout] |
[INFO] [stdout] 22 | struct SolutionFast;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem49.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionHashMap` is never constructed
[INFO] [stdout] --> src/solutions/problem49.rs:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | struct SolutionHashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem50.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionLoop` is never constructed
[INFO] [stdout] --> src/solutions/problem50.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct SolutionLoop;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem51.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem52.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem53.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionDAC` is never constructed
[INFO] [stdout] --> src/solutions/problem53.rs:24:8
[INFO] [stdout] |
[INFO] [stdout] 24 | struct SolutionDAC;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem54.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem55.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem56.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem57.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem58.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionOneLiner` is never constructed
[INFO] [stdout] --> src/solutions/problem58.rs:25:8
[INFO] [stdout] |
[INFO] [stdout] 25 | struct SolutionOneLiner;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem59.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem60.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionCalc` is never constructed
[INFO] [stdout] --> src/solutions/problem60.rs:30:8
[INFO] [stdout] |
[INFO] [stdout] 30 | struct SolutionCalc;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem61.rs:14:8
[INFO] [stdout] |
[INFO] [stdout] 12 | impl ListNode {
[INFO] [stdout] | ------------- associated function in this implementation
[INFO] [stdout] 13 | #[inline]
[INFO] [stdout] 14 | fn new(val: i32) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem61.rs:22:8
[INFO] [stdout] |
[INFO] [stdout] 22 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem62.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem63.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem64.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem65.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem66.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem67.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem68.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem69.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem70.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem71.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem72.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem73.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionConst` is never constructed
[INFO] [stdout] --> src/solutions/problem73.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct SolutionConst;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem74.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem75.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem76.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem77.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem78.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem79.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem80.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem81.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem82.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem83.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionTailCall` is never constructed
[INFO] [stdout] --> src/solutions/problem83.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct SolutionTailCall;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionLoop` is never constructed
[INFO] [stdout] --> src/solutions/problem83.rs:58:8
[INFO] [stdout] |
[INFO] [stdout] 58 | struct SolutionLoop;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem84.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem85.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem86.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem87.rs:7:8
[INFO] [stdout] |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem88.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:41:21
[INFO] [stdout] |
[INFO] [stdout] 36 | let a = a as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 41 | *a = *b;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:42:21
[INFO] [stdout] |
[INFO] [stdout] 37 | let b = b as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 42 | *b = *c;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:43:21
[INFO] [stdout] |
[INFO] [stdout] 38 | let c = c as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 43 | *c = *d;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:44:21
[INFO] [stdout] |
[INFO] [stdout] 39 | let d = d as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 44 | *d = temp;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `leetcode` (bin "leetcode" test) due to 4 previous errors; 117 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `top_value` is never read
[INFO] [stdout] --> src/solutions/problem33.rs:45:17
[INFO] [stdout] |
[INFO] [stdout] 45 | top_value = mid_value;
[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: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem1.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem1.rs:24:8
[INFO] [stdout] |
[INFO] [stdout] 24 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionFast` is never constructed
[INFO] [stdout] --> src/solutions/problem1.rs:40:8
[INFO] [stdout] |
[INFO] [stdout] 40 | struct SolutionFast;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem2.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 8 | impl ListNode {
[INFO] [stdout] | ------------- associated function in this implementation
[INFO] [stdout] 9 | #[inline]
[INFO] [stdout] 10 | fn new(val: i32) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem2.rs:26:8
[INFO] [stdout] |
[INFO] [stdout] 26 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionLoop` is never constructed
[INFO] [stdout] --> src/solutions/problem2.rs:49:8
[INFO] [stdout] |
[INFO] [stdout] 49 | struct SolutionLoop;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem3.rs:6:8
[INFO] [stdout] |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem3.rs:35:8
[INFO] [stdout] |
[INFO] [stdout] 35 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem4.rs:7:8
[INFO] [stdout] |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem4.rs:60:16
[INFO] [stdout] |
[INFO] [stdout] 54 | / impl MergeIter
[INFO] [stdout] 55 | | where
[INFO] [stdout] 56 | | A: Iterator,
[INFO] [stdout] 57 | | A::Item: Copy + Ord,
[INFO] [stdout] 58 | | B: Iterator
- ,
[INFO] [stdout] | |________________________________________- associated function in this implementation
[INFO] [stdout] 59 | {
[INFO] [stdout] 60 | fn new(mut iter1: A, mut iter2: B) -> MergeIter {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIndex` is never constructed
[INFO] [stdout] --> src/solutions/problem4.rs:89:8
[INFO] [stdout] |
[INFO] [stdout] 89 | struct SolutionIndex;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem5.rs:6:8
[INFO] [stdout] |
[INFO] [stdout] 6 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem5.rs:33:8
[INFO] [stdout] |
[INFO] [stdout] 33 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `ManacherAlgorithm` is never constructed
[INFO] [stdout] --> src/solutions/problem5.rs:62:8
[INFO] [stdout] |
[INFO] [stdout] 62 | struct ManacherAlgorithm;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem6.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionIter` is never constructed
[INFO] [stdout] --> src/solutions/problem6.rs:54:8
[INFO] [stdout] |
[INFO] [stdout] 54 | struct SolutionIter;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem7.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem8.rs:24:8
[INFO] [stdout] |
[INFO] [stdout] 24 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem9.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem10.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionDP` is never constructed
[INFO] [stdout] --> src/solutions/problem10.rs:57:8
[INFO] [stdout] |
[INFO] [stdout] 57 | struct SolutionDP;
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem11.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem12.rs:27:8
[INFO] [stdout] |
[INFO] [stdout] 27 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem13.rs:27:8
[INFO] [stdout] |
[INFO] [stdout] 27 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem14.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem15.rs:9:8
[INFO] [stdout] |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem16.rs:9:8
[INFO] [stdout] |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem17.rs:17:8
[INFO] [stdout] |
[INFO] [stdout] 17 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem18.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem18.rs:48:16
[INFO] [stdout] |
[INFO] [stdout] 43 | / impl UniqueIterator
[INFO] [stdout] 44 | | where
[INFO] [stdout] 45 | | I: Iterator,
[INFO] [stdout] 46 | | I::Item: Copy + PartialEq,
[INFO] [stdout] | |______________________________________- associated function in this implementation
[INFO] [stdout] 47 | {
[INFO] [stdout] 48 | fn new(origin: I) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem19.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem20.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem21.rs:19:8
[INFO] [stdout] |
[INFO] [stdout] 19 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem22.rs:7:8
[INFO] [stdout] |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem23.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem24.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem25.rs:18:8
[INFO] [stdout] |
[INFO] [stdout] 18 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem26.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem27.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem28.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem29.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionOverpower` is never constructed
[INFO] [stdout] --> src/solutions/problem30.rs:10:8
[INFO] [stdout] |
[INFO] [stdout] 10 | struct SolutionOverpower;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new` and `depth` are never used
[INFO] [stdout] --> src/solutions/problem30.rs:21:16
[INFO] [stdout] |
[INFO] [stdout] 20 | impl Tree {
[INFO] [stdout] | --------------- associated items in this implementation
[INFO] [stdout] 21 | fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 25 | fn depth(&self) -> usize {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: method `trim` is never used
[INFO] [stdout] --> src/solutions/problem30.rs:31:16
[INFO] [stdout] |
[INFO] [stdout] 30 | impl Tree {
[INFO] [stdout] | ------------------- method in this implementation
[INFO] [stdout] 31 | fn trim(&mut self, which: &T, count: usize) {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem30.rs:94:8
[INFO] [stdout] |
[INFO] [stdout] 94 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem31.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem32.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem33.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem34.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem35.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem36.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem37.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated items `new`, `check`, and `solve` are never used
[INFO] [stdout] --> src/solutions/problem37.rs:16:16
[INFO] [stdout] |
[INFO] [stdout] 15 | impl SudokuSolver {
[INFO] [stdout] | ----------------- associated items in this implementation
[INFO] [stdout] 16 | fn new() -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 | fn check(&mut self, i: usize, j: usize, grid: &char) -> bool {
[INFO] [stdout] | ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 | fn solve(&mut self, board: &mut Vec>) -> bool {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem38.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem39.rs:9:8
[INFO] [stdout] |
[INFO] [stdout] 9 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem40.rs:8:8
[INFO] [stdout] |
[INFO] [stdout] 8 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem41.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem42.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionFaster` is never constructed
[INFO] [stdout] --> src/solutions/problem42.rs:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | struct SolutionFaster;
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem43.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem44.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem45.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem46.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem47.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem48.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionFast` is never constructed
[INFO] [stdout] --> src/solutions/problem48.rs:22:8
[INFO] [stdout] |
[INFO] [stdout] 22 | struct SolutionFast;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem49.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionHashMap` is never constructed
[INFO] [stdout] --> src/solutions/problem49.rs:28:8
[INFO] [stdout] |
[INFO] [stdout] 28 | struct SolutionHashMap;
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem50.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionLoop` is never constructed
[INFO] [stdout] --> src/solutions/problem50.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct SolutionLoop;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem51.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem52.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem53.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionDAC` is never constructed
[INFO] [stdout] --> src/solutions/problem53.rs:24:8
[INFO] [stdout] |
[INFO] [stdout] 24 | struct SolutionDAC;
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem54.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem55.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem56.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem57.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem58.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionOneLiner` is never constructed
[INFO] [stdout] --> src/solutions/problem58.rs:25:8
[INFO] [stdout] |
[INFO] [stdout] 25 | struct SolutionOneLiner;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem59.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem60.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionCalc` is never constructed
[INFO] [stdout] --> src/solutions/problem60.rs:30:8
[INFO] [stdout] |
[INFO] [stdout] 30 | struct SolutionCalc;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout] --> src/solutions/problem61.rs:14:8
[INFO] [stdout] |
[INFO] [stdout] 12 | impl ListNode {
[INFO] [stdout] | ------------- associated function in this implementation
[INFO] [stdout] 13 | #[inline]
[INFO] [stdout] 14 | fn new(val: i32) -> Self {
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem61.rs:22:8
[INFO] [stdout] |
[INFO] [stdout] 22 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem62.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem63.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem64.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem65.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem66.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem67.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem68.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem69.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem70.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem71.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem72.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem73.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionConst` is never constructed
[INFO] [stdout] --> src/solutions/problem73.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct SolutionConst;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem74.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem75.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem76.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem77.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem78.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem79.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem80.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem81.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem82.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem83.rs:13:8
[INFO] [stdout] |
[INFO] [stdout] 13 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionTailCall` is never constructed
[INFO] [stdout] --> src/solutions/problem83.rs:36:8
[INFO] [stdout] |
[INFO] [stdout] 36 | struct SolutionTailCall;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `SolutionLoop` is never constructed
[INFO] [stdout] --> src/solutions/problem83.rs:58:8
[INFO] [stdout] |
[INFO] [stdout] 58 | struct SolutionLoop;
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem84.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem85.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem86.rs:11:8
[INFO] [stdout] |
[INFO] [stdout] 11 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem87.rs:7:8
[INFO] [stdout] |
[INFO] [stdout] 7 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: struct `Solution` is never constructed
[INFO] [stdout] --> src/solutions/problem88.rs:5:8
[INFO] [stdout] |
[INFO] [stdout] 5 | struct Solution;
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:41:21
[INFO] [stdout] |
[INFO] [stdout] 36 | let a = a as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 41 | *a = *b;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:42:21
[INFO] [stdout] |
[INFO] [stdout] 37 | let b = b as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 42 | *b = *c;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:43:21
[INFO] [stdout] |
[INFO] [stdout] 38 | let c = c as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 43 | *c = *d;
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell`
[INFO] [stdout] --> src/solutions/problem48.rs:44:21
[INFO] [stdout] |
[INFO] [stdout] 39 | let d = d as *mut i32;
[INFO] [stdout] | ------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 44 | *d = temp;
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: for more information, visit
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `leetcode` (bin "leetcode") due to 4 previous errors; 117 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "b763c8a9c3ca0a77ad9042fb69118a785040b6465f9c86e541f0daa1c7120fe7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b763c8a9c3ca0a77ad9042fb69118a785040b6465f9c86e541f0daa1c7120fe7", kill_on_drop: false }`
[INFO] [stdout] b763c8a9c3ca0a77ad9042fb69118a785040b6465f9c86e541f0daa1c7120fe7