[INFO] cloning repository https://github.com/terry-u16/yukicoder_score_contest_5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/terry-u16/yukicoder_score_contest_5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterry-u16%2Fyukicoder_score_contest_5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterry-u16%2Fyukicoder_score_contest_5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c37cb7078f86bba1ae9b91bfc26b2adf943d1743 [INFO] checking terry-u16/yukicoder_score_contest_5 against master#b56aaec52bc0fa35591a872fb4aac81f606e265c for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fterry-u16%2Fyukicoder_score_contest_5" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/terry-u16/yukicoder_score_contest_5 [INFO] finished tweaking git repo https://github.com/terry-u16/yukicoder_score_contest_5 [INFO] tweaked toml for git repo https://github.com/terry-u16/yukicoder_score_contest_5 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/terry-u16/yukicoder_score_contest_5 on toolchain b56aaec52bc0fa35591a872fb4aac81f606e265c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/terry-u16/yukicoder_score_contest_5 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" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 829ed1f106656bf2a49feb40ededf2ec951970d8e43abefe75424f3c425eaf61 [INFO] running `Command { std: "docker" "start" "-a" "829ed1f106656bf2a49feb40ededf2ec951970d8e43abefe75424f3c425eaf61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "829ed1f106656bf2a49feb40ededf2ec951970d8e43abefe75424f3c425eaf61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "829ed1f106656bf2a49feb40ededf2ec951970d8e43abefe75424f3c425eaf61", kill_on_drop: false }` [INFO] [stdout] 829ed1f106656bf2a49feb40ededf2ec951970d8e43abefe75424f3c425eaf61 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+b56aaec52bc0fa35591a872fb4aac81f606e265c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 77dbf2b61977c487683101c4c38677121b6410acf0b99e5b59cad5f538af8974 [INFO] running `Command { std: "docker" "start" "-a" "77dbf2b61977c487683101c4c38677121b6410acf0b99e5b59cad5f538af8974", kill_on_drop: false }` [INFO] [stderr] Checking yukicoder_score_contest_5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/main.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_action(input: &Input, state: &State, blueprint: &AnnealingState, turn: usize) -> Action { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | fn apply(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | fn rollback(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | fn can_apply(&self, input: &Input, state: &AnnealingState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | fn apply(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:549:24 [INFO] [stdout] | [INFO] [stdout] 549 | fn rollback(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:554:25 [INFO] [stdout] | [INFO] [stdout] 554 | fn can_apply(&self, input: &Input, state: &AnnealingState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:320:15 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_action(input: &Input, state: &State, blueprint: &AnnealingState, turn: usize) -> Action { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:512:21 [INFO] [stdout] | [INFO] [stdout] 512 | fn apply(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:516:24 [INFO] [stdout] | [INFO] [stdout] 516 | fn rollback(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:520:25 [INFO] [stdout] | [INFO] [stdout] 520 | fn can_apply(&self, input: &Input, state: &AnnealingState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:544:21 [INFO] [stdout] | [INFO] [stdout] 544 | fn apply(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 130 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen_i32` is never used [INFO] [stdout] --> src/main.rs:1009:23 [INFO] [stdout] | [INFO] [stdout] 980 | impl Xoshiro256 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1009 | pub(crate) fn gen_i32(&mut self, lower: i32, upper: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:549:24 [INFO] [stdout] | [INFO] [stdout] 549 | fn rollback(&self, input: &Input, state: &mut AnnealingState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/main.rs:554:25 [INFO] [stdout] | [INFO] [stdout] 554 | fn can_apply(&self, input: &Input, state: &AnnealingState) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:1019:40 [INFO] [stdout] | [INFO] [stdout] 1019 | let result: f64 = unsafe { std::mem::transmute(result) }; [INFO] [stdout] | -------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `n` is never read [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct Input { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 130 | n: usize, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `Input` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gen_i32` is never used [INFO] [stdout] --> src/main.rs:1009:23 [INFO] [stdout] | [INFO] [stdout] 980 | impl Xoshiro256 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1009 | pub(crate) fn gen_i32(&mut self, lower: i32, upper: i32) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:1019:40 [INFO] [stdout] | [INFO] [stdout] 1019 | let result: f64 = unsafe { std::mem::transmute(result) }; [INFO] [stdout] | -------------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] running `Command { std: "docker" "inspect" "77dbf2b61977c487683101c4c38677121b6410acf0b99e5b59cad5f538af8974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77dbf2b61977c487683101c4c38677121b6410acf0b99e5b59cad5f538af8974", kill_on_drop: false }` [INFO] [stdout] 77dbf2b61977c487683101c4c38677121b6410acf0b99e5b59cad5f538af8974