[INFO] cloning repository https://github.com/andrewgazelka/leet_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andrewgazelka/leet_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewgazelka%2Fleet_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewgazelka%2Fleet_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 179b906fe6b1b86372dc91c0a29b6559485c0c2e [INFO] testing andrewgazelka/leet_rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandrewgazelka%2Fleet_rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andrewgazelka/leet_rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andrewgazelka/leet_rust [INFO] finished tweaking git repo https://github.com/andrewgazelka/leet_rust [INFO] tweaked toml for git repo https://github.com/andrewgazelka/leet_rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/andrewgazelka/leet_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d7667d68dff57bf71c112039785aa1108eeef4aaafd64ab6363c6fea4f551c9 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8d7667d68dff57bf71c112039785aa1108eeef4aaafd64ab6363c6fea4f551c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d7667d68dff57bf71c112039785aa1108eeef4aaafd64ab6363c6fea4f551c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d7667d68dff57bf71c112039785aa1108eeef4aaafd64ab6363c6fea4f551c9", kill_on_drop: false }` [INFO] [stdout] 8d7667d68dff57bf71c112039785aa1108eeef4aaafd64ab6363c6fea4f551c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c99251cc10132f31fe4b94b8c2242df3d9c5a13199e0a8091a6fda03a7cd4a3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9c99251cc10132f31fe4b94b8c2242df3d9c5a13199e0a8091a6fda03a7cd4a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling leet_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/problems0300/p80.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/problems0300/p80.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | Entry::Occupied(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_vec(vec: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MASK_P8` [INFO] [stdout] --> src/problems0200/p91.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const MASK_P8: u8 = mask(8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems0300/p84.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems0300/p84.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(original: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/problems0300/p84.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn reset(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/problems0300/p84.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn shuffle(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bucket` [INFO] [stdout] --> src/problems0300/p80.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Bucket(Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Elem` [INFO] [stdout] --> src/problems0300/p80.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Elem = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Idx` [INFO] [stdout] --> src/problems0300/p80.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type Idx = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RandomizedSet` [INFO] [stdout] --> src/problems0300/p80.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct RandomizedSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems0300/p80.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/problems0300/p80.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/problems0300/p80.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn remove(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/problems0300/p80.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_random(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.69s [INFO] running `Command { std: "docker" "inspect" "9c99251cc10132f31fe4b94b8c2242df3d9c5a13199e0a8091a6fda03a7cd4a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c99251cc10132f31fe4b94b8c2242df3d9c5a13199e0a8091a6fda03a7cd4a3", kill_on_drop: false }` [INFO] [stdout] 9c99251cc10132f31fe4b94b8c2242df3d9c5a13199e0a8091a6fda03a7cd4a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b61d50f92bc6c9853283fd0b413fb0c32c9cff78868342c3161a4d487d6e5d5d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b61d50f92bc6c9853283fd0b413fb0c32c9cff78868342c3161a4d487d6e5d5d", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/problems0300/p80.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/problems0300/p80.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | Entry::Occupied(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_vec` [INFO] [stdout] --> src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | fn from_vec(vec: Vec) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MASK_P8` [INFO] [stdout] --> src/problems0200/p91.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const MASK_P8: u8 = mask(8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems0300/p84.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems0300/p84.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(original: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/problems0300/p84.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn reset(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/problems0300/p84.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn shuffle(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bucket` [INFO] [stdout] --> src/problems0300/p80.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Bucket(Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Elem` [INFO] [stdout] --> src/problems0300/p80.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Elem = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Idx` [INFO] [stdout] --> src/problems0300/p80.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type Idx = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RandomizedSet` [INFO] [stdout] --> src/problems0300/p80.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct RandomizedSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems0300/p80.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/problems0300/p80.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/problems0300/p80.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn remove(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/problems0300/p80.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_random(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling leet_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/problems0300/p80.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::hash::{Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/problems0300/p80.rs:35:29 [INFO] [stdout] | [INFO] [stdout] 35 | Entry::Occupied(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MASK_P8` [INFO] [stdout] --> src/problems0200/p91.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | const MASK_P8: u8 = mask(8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/problems0300/p84.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Solution { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems0300/p84.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | fn new(original: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `reset` [INFO] [stdout] --> src/problems0300/p84.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | fn reset(&self) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shuffle` [INFO] [stdout] --> src/problems0300/p84.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn shuffle(&self) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Bucket` [INFO] [stdout] --> src/problems0300/p80.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Bucket(Vec); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Elem` [INFO] [stdout] --> src/problems0300/p80.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | type Elem = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Idx` [INFO] [stdout] --> src/problems0300/p80.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | type Idx = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `RandomizedSet` [INFO] [stdout] --> src/problems0300/p80.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct RandomizedSet { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/problems0300/p80.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/problems0300/p80.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/problems0300/p80.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn remove(&mut self, val: i32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_random` [INFO] [stdout] --> src/problems0300/p80.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn get_random(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.35s [INFO] running `Command { std: "docker" "inspect" "b61d50f92bc6c9853283fd0b413fb0c32c9cff78868342c3161a4d487d6e5d5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b61d50f92bc6c9853283fd0b413fb0c32c9cff78868342c3161a4d487d6e5d5d", kill_on_drop: false }` [INFO] [stdout] b61d50f92bc6c9853283fd0b413fb0c32c9cff78868342c3161a4d487d6e5d5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3aff94f238d26dd5e24e63558df705e8e507ac5f480d774ceb3764d4e5365abd [INFO] running `Command { std: "docker" "start" "-a" "3aff94f238d26dd5e24e63558df705e8e507ac5f480d774ceb3764d4e5365abd", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Hasher` [INFO] [stderr] --> src/problems0300/p80.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use std::hash::{Hasher}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/problems0300/p80.rs:35:29 [INFO] [stderr] | [INFO] [stderr] 35 | Entry::Occupied(x) => { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_vec` [INFO] [stderr] --> src/lib.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | fn from_vec(vec: Vec) -> Option> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MASK_P8` [INFO] [stderr] --> src/problems0200/p91.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const MASK_P8: u8 = mask(8) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Solution` [INFO] [stderr] --> src/problems0300/p84.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | struct Solution { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problems0300/p84.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | fn new(original: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `reset` [INFO] [stderr] --> src/problems0300/p84.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | fn reset(&self) -> Vec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `shuffle` [INFO] [stderr] --> src/problems0300/p84.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | fn shuffle(&self) -> Vec { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `Bucket` [INFO] [stderr] --> src/problems0300/p80.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 7 | struct Bucket(Vec); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Elem` [INFO] [stderr] --> src/problems0300/p80.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | type Elem = i32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Idx` [INFO] [stderr] --> src/problems0300/p80.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | type Idx = usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `RandomizedSet` [INFO] [stderr] --> src/problems0300/p80.rs:12:8 [INFO] [stderr] | [INFO] [stderr] 12 | struct RandomizedSet { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/problems0300/p80.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/problems0300/p80.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | fn insert(&mut self, val: i32) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `remove` [INFO] [stderr] --> src/problems0300/p80.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | fn remove(&mut self, val: i32) -> bool { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_random` [INFO] [stderr] --> src/problems0300/p80.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | fn get_random(&self) -> i32 { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `MASK_P8` [INFO] [stderr] --> src/problems0200/p91.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | const MASK_P8: u8 = mask(8) as u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `leet_rust` (lib) generated 16 warnings [INFO] [stderr] warning: `leet_rust` (lib test) generated 15 warnings (14 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/leet_rust-83195318bd13759c) [INFO] [stdout] [INFO] [stdout] running 24 tests [INFO] [stdout] test problems0100::p03::tests::it_works ... ok [INFO] [stdout] test problems0100::p05::tests::it_works ... ok [INFO] [stdout] test problems0100::p02::tests::it_works ... ok [INFO] [stdout] test problems0100::p08::tests::it_works ... ok [INFO] [stdout] test problems0100::p09::tests::it_works ... ok [INFO] [stdout] test problems0100::p11::tests::it_works ... ok [INFO] [stdout] test problems0100::p07::tests::it_works ... ok [INFO] [stdout] test problems0100::p10::tests::it_works ... ok [INFO] [stdout] test problems0100::p41::tests::it_works ... ok [INFO] [stdout] test problems0100::p89::tests::it_works ... ok [INFO] [stdout] test problems0100::p42::tests::it_works ... ok [INFO] [stdout] test problems0200::p90::tests::it_works ... ok [INFO] [stdout] test problems0200::p28::tests::it_works ... ok [INFO] [stdout] test problems0200::p91::tests::it_works ... ok [INFO] [stdout] test problems0300::p29::tests::it_works ... ok [INFO] [stdout] test problems0300::p38::tests::it_works ... ok [INFO] [stdout] test problems0400::p12::tests::it_works ... ok [INFO] [stdout] test problems0400::p54::tests::it_works ... ok [INFO] [stdout] test problems0600::p59::tests::it_works ... ok [INFO] [stdout] test problems0500::p60::tests::it_works ... ok [INFO] [stderr] Doc-tests leet_rust [INFO] [stdout] test problems0100::p06::tests::paypal ... ok [INFO] [stdout] test problems0300::p87::tests::it_works ... ok [INFO] [stdout] test problems0100::p60::tests::it_works ... ok [INFO] [stdout] test problems0300::p95::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 24 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "3aff94f238d26dd5e24e63558df705e8e507ac5f480d774ceb3764d4e5365abd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3aff94f238d26dd5e24e63558df705e8e507ac5f480d774ceb3764d4e5365abd", kill_on_drop: false }` [INFO] [stdout] 3aff94f238d26dd5e24e63558df705e8e507ac5f480d774ceb3764d4e5365abd