[INFO] cloning repository https://github.com/cm-wada-yusuke/yukicoder-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cm-wada-yusuke/yukicoder-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcm-wada-yusuke%2Fyukicoder-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcm-wada-yusuke%2Fyukicoder-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f626f3f616ff83a9b3420a8f36bf565a89caecc3 [INFO] checking cm-wada-yusuke/yukicoder-rust against try#3e22d1f9053c0fc87629b3c6d5d9567856368e5d for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcm-wada-yusuke%2Fyukicoder-rust" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cm-wada-yusuke/yukicoder-rust on toolchain 3e22d1f9053c0fc87629b3c6d5d9567856368e5d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cm-wada-yusuke/yukicoder-rust [INFO] finished tweaking git repo https://github.com/cm-wada-yusuke/yukicoder-rust [INFO] tweaked toml for git repo https://github.com/cm-wada-yusuke/yukicoder-rust written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/cm-wada-yusuke/yukicoder-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77298114bc8a34dd8f0b8e169b014002a77a900dfc10ab889a6c39ab735cb00a [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" "77298114bc8a34dd8f0b8e169b014002a77a900dfc10ab889a6c39ab735cb00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77298114bc8a34dd8f0b8e169b014002a77a900dfc10ab889a6c39ab735cb00a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77298114bc8a34dd8f0b8e169b014002a77a900dfc10ab889a6c39ab735cb00a", kill_on_drop: false }` [INFO] [stdout] 77298114bc8a34dd8f0b8e169b014002a77a900dfc10ab889a6c39ab735cb00a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+3e22d1f9053c0fc87629b3c6d5d9567856368e5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e37a36ef6619a2dade22affba3070f0d3cc8d2af03dfbfccba4cafd24dff971c [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" "e37a36ef6619a2dade22affba3070f0d3cc8d2af03dfbfccba4cafd24dff971c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `adj_list` in this scope [INFO] [stdout] --> src/45.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | for k in 0..adj_list.len() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `adj_list` in this scope [INFO] [stdout] --> src/45.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..adj_list.len() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `adj_list` in this scope [INFO] [stdout] --> src/45.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | for j in 0..adj_list.len() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `shortest_path` in this scope [INFO] [stdout] --> src/45.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | match shortest_path(&graph, 0, n as usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/45.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Split` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Split; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `adj_list` in this scope [INFO] [stdout] --> src/45.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | for k in 0..adj_list.len() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `adj_list` in this scope [INFO] [stdout] --> src/45.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | for i in 0..adj_list.len() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `adj_list` in this scope [INFO] [stdout] --> src/45.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | for j in 0..adj_list.len() { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `shortest_path` in this scope [INFO] [stdout] --> src/45.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | match shortest_path(&graph, 0, n as usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BinaryHeap` [INFO] [stdout] --> src/45.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline` [INFO] [stdout] --> src/main.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn getline() -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_i32` [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn getline_as_i32() -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_u32` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn getline_as_u32() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_u64` [INFO] [stdout] --> src/main.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn getline_as_u64() -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_str` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn getline_as_str() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_u64_vec` [INFO] [stdout] --> src/main.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn getline_as_u64_vec() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_u32_vec` [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn getline_as_u32_vec() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `to_char_vector` [INFO] [stdout] --> src/main.rs:53:4 [INFO] [stdout] | [INFO] [stdout] 53 | fn to_char_vector(str: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_char_vector` [INFO] [stdout] --> src/main.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn getline_as_char_vector() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/253.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_cargo` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read src/253.rs: No such file or directory (os error 2) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/45.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn warshall_floyd_max(dist: &mut Vec>) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 55 | / for k in 0..adj_list.len() { [INFO] [stdout] 56 | | for i in 0..adj_list.len() { [INFO] [stdout] 57 | | for j in 0..adj_list.len() { [INFO] [stdout] 58 | | dist[i][j].cost = max(dist[i][j].cost, dist[i][j].cost + dist[k][j].cost) [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ expected `usize`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/143.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | if (mame_sum < eat_sum) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/45.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 51 | fn warshall_floyd_max(dist: &mut Vec>) -> usize { [INFO] [stdout] | ----- expected `usize` because of return type [INFO] [stdout] ... [INFO] [stdout] 55 | / for k in 0..adj_list.len() { [INFO] [stdout] 56 | | for i in 0..adj_list.len() { [INFO] [stdout] 57 | | for j in 0..adj_list.len() { [INFO] [stdout] 58 | | dist[i][j].cost = max(dist[i][j].cost, dist[i][j].cost + dist[k][j].cost) [INFO] [stdout] 59 | | } [INFO] [stdout] 60 | | } [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ expected `usize`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/143.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let f = knf[2]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] warning: function is never used: `getline_as_u32_vec` [INFO] [stdout] --> src/143.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn getline_as_u32_vec() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e37a36ef6619a2dade22affba3070f0d3cc8d2af03dfbfccba4cafd24dff971c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e37a36ef6619a2dade22affba3070f0d3cc8d2af03dfbfccba4cafd24dff971c", kill_on_drop: false }` [INFO] [stdout] e37a36ef6619a2dade22affba3070f0d3cc8d2af03dfbfccba4cafd24dff971c