[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#1c5262aa6c045a581fb974488793f09ed51fc498 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcm-wada-yusuke%2Fyukicoder-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cm-wada-yusuke/yukicoder-rust on toolchain 1c5262aa6c045a581fb974488793f09ed51fc498 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1c5262aa6c045a581fb974488793f09ed51fc498" "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-7/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" "+1c5262aa6c045a581fb974488793f09ed51fc498" "fetch" "--locked" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1c5262aa6c045a581fb974488793f09ed51fc498" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c05441e89878fb6d93dab3658523f2afeb4a56a8b716414585a4cd5ea9a3bce [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" "0c05441e89878fb6d93dab3658523f2afeb4a56a8b716414585a4cd5ea9a3bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c05441e89878fb6d93dab3658523f2afeb4a56a8b716414585a4cd5ea9a3bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c05441e89878fb6d93dab3658523f2afeb4a56a8b716414585a4cd5ea9a3bce", kill_on_drop: false }` [INFO] [stdout] 0c05441e89878fb6d93dab3658523f2afeb4a56a8b716414585a4cd5ea9a3bce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1c5262aa6c045a581fb974488793f09ed51fc498" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f996d14cc4bcc6702945778d563bdd3ab1b5d8c6db973f46da7bc5575065a4df [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" "f996d14cc4bcc6702945778d563bdd3ab1b5d8c6db973f46da7bc5575065a4df", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking hello_cargo v0.1.0 (/opt/rustwide/workdir) [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] 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] 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `{integer}` [INFO] [stdout] --> src/188.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | == day_char[0].to_string().parse::().unwrap() [INFO] [stdout] | ^^^^^^^^^^^ `String` cannot be indexed by `{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index<{integer}>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the type `String` cannot be indexed by `{integer}` [INFO] [stdout] --> src/188.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | + day_char[1].to_string().parse::().unwrap() [INFO] [stdout] | ^^^^^^^^^^^ `String` cannot be indexed by `{integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Index<{integer}>` is not implemented for `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [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] 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f996d14cc4bcc6702945778d563bdd3ab1b5d8c6db973f46da7bc5575065a4df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f996d14cc4bcc6702945778d563bdd3ab1b5d8c6db973f46da7bc5575065a4df", kill_on_drop: false }` [INFO] [stdout] f996d14cc4bcc6702945778d563bdd3ab1b5d8c6db973f46da7bc5575065a4df