[INFO] cloning repository https://github.com/deliangyang/leetcode.rs [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/deliangyang/leetcode.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeliangyang%2Fleetcode.rs"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeliangyang%2Fleetcode.rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 443aaa4bd7a08b8686b4ea70433c7c28c60b2492 [INFO] checking deliangyang/leetcode.rs against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdeliangyang%2Fleetcode.rs" "/workspace/builds/worker-12/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/deliangyang/leetcode.rs on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/deliangyang/leetcode.rs [INFO] finished tweaking git repo https://github.com/deliangyang/leetcode.rs [INFO] tweaked toml for git repo https://github.com/deliangyang/leetcode.rs written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/deliangyang/leetcode.rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 27e4ffcf6a9a35b0542968ecc0e33cc6ee71b2e2899a83f82ac08c81bd2b5bea [INFO] running `"docker" "start" "-a" "27e4ffcf6a9a35b0542968ecc0e33cc6ee71b2e2899a83f82ac08c81bd2b5bea"` [INFO] [stderr] Checking demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/int_to_roman.rs:17:23 [INFO] [stderr] | [INFO] [stderr] 17 | String::from_utf8(chars).unwrap() [INFO] [stderr] | ^^^^^ expected `u8`, found `char` [INFO] [stderr] | [INFO] [stderr] = note: expected struct `std::vec::Vec` [INFO] [stderr] found struct `std::vec::Vec` [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `demo`. [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] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/bin/re-space-lcci.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/bin/re-space-lcci.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/re-space-lcci.rs:3:58 [INFO] [stderr] | [INFO] [stderr] 3 | fn respace(dictionary: Vec, sentence: String) -> i32 { [INFO] [stderr] | ------- ^^^ expected `i32`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/bin/palindromic-substrings2.rs:11:24 [INFO] [stderr] | [INFO] [stderr] 11 | let mut left = (i / 2); [INFO] [stderr] | ^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/bin/re-space-lcci.rs:3:58 [INFO] [stderr] | [INFO] [stderr] 3 | fn respace(dictionary: Vec, sentence: String) -> i32 { [INFO] [stderr] | ------- ^^^ expected `i32`, found `()` [INFO] [stderr] | | [INFO] [stderr] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `demo`. [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] [stderr] error: could not compile `demo`. [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] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "27e4ffcf6a9a35b0542968ecc0e33cc6ee71b2e2899a83f82ac08c81bd2b5bea"` [INFO] running `"docker" "rm" "-f" "27e4ffcf6a9a35b0542968ecc0e33cc6ee71b2e2899a83f82ac08c81bd2b5bea"` [INFO] [stdout] 27e4ffcf6a9a35b0542968ecc0e33cc6ee71b2e2899a83f82ac08c81bd2b5bea