[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2025ca8c750a6667bef24acda93b9bdf24481a4f [INFO] testing palindrom615/problem_solving against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpalindrom615%2Fproblem_solving" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/palindrom615/problem_solving on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", 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-13/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" "+1.45.2" "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-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed165dd92150253afdabca3db3b029628b0dc5d25d77b5e2427c7a8a2d8b9ee8 [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" "ed165dd92150253afdabca3db3b029628b0dc5d25d77b5e2427c7a8a2d8b9ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed165dd92150253afdabca3db3b029628b0dc5d25d77b5e2427c7a8a2d8b9ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed165dd92150253afdabca3db3b029628b0dc5d25d77b5e2427c7a8a2d8b9ee8", kill_on_drop: false }` [INFO] [stdout] ed165dd92150253afdabca3db3b029628b0dc5d25d77b5e2427c7a8a2d8b9ee8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a74c8512eda5c53012c1b6d499bfba6a1211040933a6365a6e410c277953c233 [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" "a74c8512eda5c53012c1b6d499bfba6a1211040933a6365a6e410c277953c233", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling oorandom v11.1.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling plotters v0.2.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling criterion-plot v0.4.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling bstr v0.2.12 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling criterion v0.3.1 [INFO] [stderr] Compiling problem_solving v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj17370.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let n: 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/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] [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[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj11062.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | 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[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/bin/boj11062.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | let _ = read_line::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected 2 type arguments [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] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj10892.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | 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] warning: unused variable: `n` [INFO] [stdout] --> src/bin/boj12837.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let n = line[0]; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [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/boj11509.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | 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[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[E0107]: wrong number of type arguments: expected 2, found 1 [INFO] [stdout] --> src/bin/boj2296.rs:41:15 [INFO] [stdout] | [INFO] [stdout] 41 | match read_line::().as_slice() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected 2 type arguments [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: 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 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] [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/boj5463.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 104 | let line = read_line(); [INFO] [stdout] | ---- consider giving `line` a type [INFO] [stdout] 105 | 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/boj5904.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | 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[E0282]: type annotations needed [INFO] [stdout] --> src/bin/boj15900.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | let t: 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: aborting due to previous error [INFO] [stdout] [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] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/bin/boj2014.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | for i in 0..n { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_val` [INFO] [stdout] --> src/bin/boj2014.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | let &max_val = heap.peek_max().unwrap_or(&i32::max_value()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_val` [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] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a74c8512eda5c53012c1b6d499bfba6a1211040933a6365a6e410c277953c233", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a74c8512eda5c53012c1b6d499bfba6a1211040933a6365a6e410c277953c233", kill_on_drop: false }` [INFO] [stdout] a74c8512eda5c53012c1b6d499bfba6a1211040933a6365a6e410c277953c233