[INFO] cloning repository https://github.com/palindrom615/problem_solving [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/palindrom615/problem_solving" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalindrom615%2Fproblem_solving", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalindrom615%2Fproblem_solving'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 56ff8b4121560baf4935bad19aeaf4a3c6171386 [INFO] checking palindrom615/problem_solving against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalindrom615%2Fproblem_solving" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palindrom615/problem_solving on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/palindrom615/problem_solving [INFO] finished tweaking git repo https://github.com/palindrom615/problem_solving [INFO] tweaked toml for git repo https://github.com/palindrom615/problem_solving written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/palindrom615/problem_solving already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48ff22b230df73c4489c8ec5cff2dc42859c42c7e4ce5f7daa9f6c1c57376f2e [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" "48ff22b230df73c4489c8ec5cff2dc42859c42c7e4ce5f7daa9f6c1c57376f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48ff22b230df73c4489c8ec5cff2dc42859c42c7e4ce5f7daa9f6c1c57376f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48ff22b230df73c4489c8ec5cff2dc42859c42c7e4ce5f7daa9f6c1c57376f2e", kill_on_drop: false }` [INFO] [stdout] 48ff22b230df73c4489c8ec5cff2dc42859c42c7e4ce5f7daa9f6c1c57376f2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ba11ff2ccaef0944fde708d26b9dd2c4d0c49977d362261b298fa5edd5d850a [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" "3ba11ff2ccaef0944fde708d26b9dd2c4d0c49977d362261b298fa5edd5d850a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking oorandom v11.1.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking criterion-plot v0.4.1 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking plotters v0.2.12 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking criterion v0.3.1 [INFO] [stderr] Checking problem_solving v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj11508.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let n = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/blank.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | let t: i32 = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `problem_solving` [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj1723.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 18 | let line = read_line(); [INFO] [stdout] | ---- consider giving `line` a type [INFO] [stdout] 19 | let n = line[0]; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj13301.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let n = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj2086.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 15 | let line = read_line(); [INFO] [stdout] | ---- consider giving `line` a type [INFO] [stdout] 16 | let a: usize = line[0]; [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj11508.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let n = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj18230.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let n: usize = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0107]: this function takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> src/bin/boj15485.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | let line = read_line::(); [INFO] [stdout] | ^^^^^^^^^ ------ supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 2 type parameters: `T`, `B` [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_line>() -> B { [INFO] [stdout] | ^^^^^^^^^ - - [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 65 | let line = read_line::(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/bin/boj13141.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | fn solve(graph: Vec>) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/boj13141.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut res = vec![vec![std::usize::MAX; nodes + 1]; nodes + 1]; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bfs` [INFO] [stdout] --> src/bin/boj13141.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn bfs(graph: Vec>) -> Vec> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve` [INFO] [stdout] --> src/bin/boj13141.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn solve(graph: Vec>) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj2296.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | let t: i32 = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj16722.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 155 | let n = read_line()[0]; [INFO] [stdout] | ^^^^^^^^^ cannot infer type for type parameter `B` declared on the function `read_line` [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this function takes 2 type arguments but only 1 type argument was supplied [INFO] [stdout] --> src/bin/boj2296.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | match read_line::().as_slice() { [INFO] [stdout] | ^^^^^^^^^ --- supplied 1 type argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 type arguments [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 2 type parameters: `T`, `B` [INFO] [stdout] --> /opt/rustwide/workdir/src/utils.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn read_line>() -> B { [INFO] [stdout] | ^^^^^^^^^ - - [INFO] [stdout] help: add missing type argument [INFO] [stdout] | [INFO] [stdout] 41 | match read_line::().as_slice() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "3ba11ff2ccaef0944fde708d26b9dd2c4d0c49977d362261b298fa5edd5d850a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba11ff2ccaef0944fde708d26b9dd2c4d0c49977d362261b298fa5edd5d850a", kill_on_drop: false }` [INFO] [stdout] 3ba11ff2ccaef0944fde708d26b9dd2c4d0c49977d362261b298fa5edd5d850a