[INFO] cloning repository https://github.com/quody/mahjong-combinations [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/quody/mahjong-combinations" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquody%2Fmahjong-combinations", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquody%2Fmahjong-combinations'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 139636f9af7a02e5b7fb082b834ea2b21c5fc719 [INFO] checking quody/mahjong-combinations against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fquody%2Fmahjong-combinations" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/quody/mahjong-combinations [INFO] finished tweaking git repo https://github.com/quody/mahjong-combinations [INFO] tweaked toml for git repo https://github.com/quody/mahjong-combinations written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/quody/mahjong-combinations on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/quody/mahjong-combinations 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1628add070195453dd07576ebd007879518920b366f0eb6e0df182652ec61e61 [INFO] running `Command { std: "docker" "start" "-a" "1628add070195453dd07576ebd007879518920b366f0eb6e0df182652ec61e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1628add070195453dd07576ebd007879518920b366f0eb6e0df182652ec61e61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1628add070195453dd07576ebd007879518920b366f0eb6e0df182652ec61e61", kill_on_drop: false }` [INFO] [stdout] 1628add070195453dd07576ebd007879518920b366f0eb6e0df182652ec61e61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] daae104b76ec7e18c73da60ce1da886b5c4712e2c7259b67cd90c20c99f3e833 [INFO] running `Command { std: "docker" "start" "-a" "daae104b76ec7e18c73da60ce1da886b5c4712e2c7259b67cd90c20c99f3e833", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling enum-iterator-derive v0.6.0 [INFO] [stderr] Checking enum-iterator v0.6.0 [INFO] [stderr] Checking mahjong-combinations v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::partition_combinations::PartitionCombinable` [INFO] [stdout] --> src/tests.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::partition_combinations::PartitionCombinable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `test::Bencher` [INFO] [stdout] --> src/tests.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | mod tests; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_shanten` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use mahjong_logic::{get_shanten, complete_set, tiles_to_chance}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_shanten` [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | use mahjong_logic::{get_shanten, complete_set, tiles_to_chance}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mahjong_logic.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | for i in 0..*v [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Stack` is never used [INFO] [stdout] --> src/partition_combinations.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Stack { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PartitionCombinations` is never constructed [INFO] [stdout] --> src/partition_combinations.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PartitionCombinations { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition_combinations` is never used [INFO] [stdout] --> src/partition_combinations.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn partition_combinations(iter: I, k: usize) -> PartitionCombinations [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PartitionCombinable` is never used [INFO] [stdout] --> src/partition_combinations.rs:137:11 [INFO] [stdout] | [INFO] [stdout] 137 | pub trait PartitionCombinable [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinationsWithSplit` is never constructed [INFO] [stdout] --> src/combinations_with_split.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CombinationsWithSplit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_split` is never used [INFO] [stdout] --> src/combinations_with_split.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn combinations_with_split(iter: I, k: usize) -> CombinationsWithSplit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CombinableWithSplit` is never used [INFO] [stdout] --> src/combinations_with_split.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub trait CombinableWithSplit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_shanten` is never used [INFO] [stdout] --> src/mahjong_logic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_shanten(hand: &Vec) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shanten_helper` is never used [INFO] [stdout] --> src/mahjong_logic.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn shanten_helper(set: &Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LazyBuffer` is never constructed [INFO] [stdout] --> src/lazy_buffer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LazyBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `is_done`, and `get_next` are never used [INFO] [stdout] --> src/lazy_buffer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl LazyBuffer [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | I: Iterator, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | pub fn new(it: I) -> LazyBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_next(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mahjong_logic.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | for i in 0..*v [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombinationsWithSplit` is never constructed [INFO] [stdout] --> src/combinations_with_split.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CombinationsWithSplit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `combinations_with_split` is never used [INFO] [stdout] --> src/combinations_with_split.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn combinations_with_split(iter: I, k: usize) -> CombinationsWithSplit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `CombinableWithSplit` is never used [INFO] [stdout] --> src/combinations_with_split.rs:100:11 [INFO] [stdout] | [INFO] [stdout] 100 | pub trait CombinableWithSplit [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_shanten` is never used [INFO] [stdout] --> src/mahjong_logic.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn get_shanten(hand: &Vec) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shanten_helper` is never used [INFO] [stdout] --> src/mahjong_logic.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn shanten_helper(set: &Vec) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LazyBuffer` is never constructed [INFO] [stdout] --> src/lazy_buffer.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct LazyBuffer { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `is_done`, and `get_next` are never used [INFO] [stdout] --> src/lazy_buffer.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl LazyBuffer [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | I: Iterator, [INFO] [stdout] | |________________- associated items in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | pub fn new(it: I) -> LazyBuffer { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_done(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn get_next(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.81s [INFO] running `Command { std: "docker" "inspect" "daae104b76ec7e18c73da60ce1da886b5c4712e2c7259b67cd90c20c99f3e833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "daae104b76ec7e18c73da60ce1da886b5c4712e2c7259b67cd90c20c99f3e833", kill_on_drop: false }` [INFO] [stdout] daae104b76ec7e18c73da60ce1da886b5c4712e2c7259b67cd90c20c99f3e833