[INFO] cloning repository https://github.com/galigalikun/leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/galigalikun/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaligalikun%2Fleetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaligalikun%2Fleetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09678f80773b4c3327a41e4600aa81149a786131 [INFO] checking galigalikun/leetcode against try#1c5262aa6c045a581fb974488793f09ed51fc498 for pr-78376 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgaligalikun%2Fleetcode" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/galigalikun/leetcode 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/galigalikun/leetcode [INFO] finished tweaking git repo https://github.com/galigalikun/leetcode [INFO] tweaked toml for git repo https://github.com/galigalikun/leetcode written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/galigalikun/leetcode 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 11ec0e1cb8e037fbe8da661225eac8074b518c1ba863619880b4dd68415e87f2 [INFO] running `Command { std: "docker" "start" "-a" "11ec0e1cb8e037fbe8da661225eac8074b518c1ba863619880b4dd68415e87f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11ec0e1cb8e037fbe8da661225eac8074b518c1ba863619880b4dd68415e87f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ec0e1cb8e037fbe8da661225eac8074b518c1ba863619880b4dd68415e87f2", kill_on_drop: false }` [INFO] [stdout] 11ec0e1cb8e037fbe8da661225eac8074b518c1ba863619880b4dd68415e87f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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] 1072402df895ba028aa307166d9f739dd32a55c8c73ef0d48a5c0766eeaef6c3 [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" "1072402df895ba028aa307166d9f739dd32a55c8c73ef0d48a5c0766eeaef6c3", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/merge-two-sorted-lists.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `m` is never read [INFO] [stdout] --> src/longest-palindromic-substring.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut m: i32 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `m` is never read [INFO] [stdout] --> src/longest-palindromic-substring.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let mut m: i32 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/merge-k-sorted-lists.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/swap-nodes-in-pairs.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/remove-nth-node-from-end-of-list.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/swap-nodes-in-pairs.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/merge-k-sorted-lists.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/add-two-numbers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/merge-two-sorted-lists.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/regular-expression-matching.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | ... if n == '.' || b == n { [INFO] [stdout] | ^^^ expected struct `Box`, found `char` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found type `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/remove-nth-node-from-end-of-list.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/regular-expression-matching.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | ... if n == '.' || b == n { [INFO] [stdout] | ^ expected `char`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected type `char` [INFO] [stdout] found struct `Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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 E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` [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[E0308]: mismatched types [INFO] [stdout] --> src/regular-expression-matching.rs:101:41 [INFO] [stdout] | [INFO] [stdout] 101 | ... if n == '.' || b == n { [INFO] [stdout] | ^^^ expected struct `Box`, found `char` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box` [INFO] [stdout] found type `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/regular-expression-matching.rs:101:53 [INFO] [stdout] | [INFO] [stdout] 101 | ... if n == '.' || b == n { [INFO] [stdout] | ^ expected `char`, found struct `Box` [INFO] [stdout] | [INFO] [stdout] = note: expected type `char` [INFO] [stdout] found struct `Box` [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 E0308`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/add-two-numbers.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1072402df895ba028aa307166d9f739dd32a55c8c73ef0d48a5c0766eeaef6c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1072402df895ba028aa307166d9f739dd32a55c8c73ef0d48a5c0766eeaef6c3", kill_on_drop: false }` [INFO] [stdout] 1072402df895ba028aa307166d9f739dd32a55c8c73ef0d48a5c0766eeaef6c3