[INFO] cloning repository https://github.com/DiD92/wwyd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DiD92/wwyd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiD92%2Fwwyd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiD92%2Fwwyd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 477b98d350e628bc22671b717c26f6a96dd76920 [INFO] checking DiD92/wwyd/477b98d350e628bc22671b717c26f6a96dd76920 against master#5ad98b4026d5172f27615b105658bc8bfd677be8 for pr-129422 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiD92%2Fwwyd" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DiD92/wwyd on toolchain 5ad98b4026d5172f27615b105658bc8bfd677be8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5ad98b4026d5172f27615b105658bc8bfd677be8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DiD92/wwyd [INFO] finished tweaking git repo https://github.com/DiD92/wwyd [INFO] tweaked toml for git repo https://github.com/DiD92/wwyd written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/DiD92/wwyd 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" "+5ad98b4026d5172f27615b105658bc8bfd677be8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded toml v0.5.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5ad98b4026d5172f27615b105658bc8bfd677be8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a54b8a9dc58e1c340bec958d498b81c9b5fbee65553a4bb36bd3694c886caaf3 [INFO] running `Command { std: "docker" "start" "-a" "a54b8a9dc58e1c340bec958d498b81c9b5fbee65553a4bb36bd3694c886caaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a54b8a9dc58e1c340bec958d498b81c9b5fbee65553a4bb36bd3694c886caaf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a54b8a9dc58e1c340bec958d498b81c9b5fbee65553a4bb36bd3694c886caaf3", kill_on_drop: false }` [INFO] [stdout] a54b8a9dc58e1c340bec958d498b81c9b5fbee65553a4bb36bd3694c886caaf3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+5ad98b4026d5172f27615b105658bc8bfd677be8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbaf174c11364ae052c88612f08b5c1025d178d7428fe9853a5765bb606ff8ba [INFO] running `Command { std: "docker" "start" "-a" "cbaf174c11364ae052c88612f08b5c1025d178d7428fe9853a5765bb606ff8ba", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking wwyd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/generator.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Algorithm steps [INFO] [stdout] 17 | | /// 1. Get usable suits [INFO] [stdout] 18 | | /// 2. Get usable suit numbers [INFO] [stdout] 19 | | /// 3. Get usable wind directions [INFO] [stdout] ... | [INFO] [stdout] 30 | | /// 10. After that compute in a separate method the optimal discards [INFO] [stdout] 31 | | /// by giving each one a score. [INFO] [stdout] | |_________------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/types.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/generator.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | / /// Algorithm steps [INFO] [stdout] 17 | | /// 1. Get usable suits [INFO] [stdout] 18 | | /// 2. Get usable suit numbers [INFO] [stdout] 19 | | /// 3. Get usable wind directions [INFO] [stdout] ... | [INFO] [stdout] 30 | | /// 10. After that compute in a separate method the optimal discards [INFO] [stdout] 31 | | /// by giving each one a score. [INFO] [stdout] | |_________------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/types.rs:60:10 [INFO] [stdout] | [INFO] [stdout] 60 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shanten` [INFO] [stdout] --> src/generator.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn generate(shanten: u8) -> WWYD { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shanten` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shanten` [INFO] [stdout] --> src/generator.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn generate(shanten: u8) -> WWYD { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shanten` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/types.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let tile = Tile::new_numbered(NumberedSuit::Bamboos, 13, false); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.01s [INFO] running `Command { std: "docker" "inspect" "cbaf174c11364ae052c88612f08b5c1025d178d7428fe9853a5765bb606ff8ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbaf174c11364ae052c88612f08b5c1025d178d7428fe9853a5765bb606ff8ba", kill_on_drop: false }` [INFO] [stdout] cbaf174c11364ae052c88612f08b5c1025d178d7428fe9853a5765bb606ff8ba