[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 try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDiD92%2Fwwyd" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DiD92/wwyd on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-1-tc2/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" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb1516434f58e1042526b5f38a91399eec9dfe2338b140dcb8a3bf4998215b57 [INFO] running `Command { std: "docker" "start" "-a" "bb1516434f58e1042526b5f38a91399eec9dfe2338b140dcb8a3bf4998215b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb1516434f58e1042526b5f38a91399eec9dfe2338b140dcb8a3bf4998215b57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb1516434f58e1042526b5f38a91399eec9dfe2338b140dcb8a3bf4998215b57", kill_on_drop: false }` [INFO] [stdout] bb1516434f58e1042526b5f38a91399eec9dfe2338b140dcb8a3bf4998215b57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31ff8ab5d93e298f701b4ee7f2cffdcbbc40ccde8a7d7ee0ab0456718de3bb7a [INFO] running `Command { std: "docker" "start" "-a" "31ff8ab5d93e298f701b4ee7f2cffdcbbc40ccde8a7d7ee0ab0456718de3bb7a", kill_on_drop: false }` [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 unicode-segmentation v1.7.1 [INFO] [stderr] Compiling anyhow v1.0.35 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [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: 3 warnings emitted [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.89s [INFO] running `Command { std: "docker" "inspect" "31ff8ab5d93e298f701b4ee7f2cffdcbbc40ccde8a7d7ee0ab0456718de3bb7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31ff8ab5d93e298f701b4ee7f2cffdcbbc40ccde8a7d7ee0ab0456718de3bb7a", kill_on_drop: false }` [INFO] [stdout] 31ff8ab5d93e298f701b4ee7f2cffdcbbc40ccde8a7d7ee0ab0456718de3bb7a