[INFO] cloning repository https://github.com/alburtwang/leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alburtwang/leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falburtwang%2Fleetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falburtwang%2Fleetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e3135de4080ad64074fc327d04442108f18d3698 [INFO] checking alburtwang/leetcode against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falburtwang%2Fleetcode" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alburtwang/leetcode on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alburtwang/leetcode [INFO] finished tweaking git repo https://github.com/alburtwang/leetcode [INFO] tweaked toml for git repo https://github.com/alburtwang/leetcode written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/alburtwang/leetcode already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08df084c895720e637132b8212f9d04d5b752b6e0d8bd1b1d4d6082ed72279a0 [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" "08df084c895720e637132b8212f9d04d5b752b6e0d8bd1b1d4d6082ed72279a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08df084c895720e637132b8212f9d04d5b752b6e0d8bd1b1d4d6082ed72279a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08df084c895720e637132b8212f9d04d5b752b6e0d8bd1b1d4d6082ed72279a0", kill_on_drop: false }` [INFO] [stdout] 08df084c895720e637132b8212f9d04d5b752b6e0d8bd1b1d4d6082ed72279a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3192c4f00a358d6fd2b4461a77c9ee31ef16892627e9d6bbc31d4f97630a64e5 [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" "3192c4f00a358d6fd2b4461a77c9ee31ef16892627e9d6bbc31d4f97630a64e5", kill_on_drop: false }` [INFO] [stderr] Checking leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `983` [INFO] [stdout] --> src/bin/983.rs:2:2 [INFO] [stdout] | [INFO] [stdout] 2 | / #[derive(Debug, PartialEq, Eq)] [INFO] [stdout] 3 | | pub struct TreeNode { [INFO] [stdout] 4 | | pub val: i32, [INFO] [stdout] 5 | | pub left: Option>>, [INFO] [stdout] ... | [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/bin/983.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/bin/1021.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Solution {} [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: `remove_outer_parentheses` [INFO] [stdout] --> src/bin/1021.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn remove_outer_parentheses(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Solution` [INFO] [stdout] --> src/bin/1021.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Solution {} [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: `remove_outer_parentheses` [INFO] [stdout] --> src/bin/1021.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn remove_outer_parentheses(s: String) -> String { [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 E0601`. [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] warning: variable `morsesWord` should have a snake case name [INFO] [stdout] --> src/bin/804.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut morsesWord = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `morses_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `morsesWord` should have a snake case name [INFO] [stdout] --> src/bin/804.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | let mut morsesWord = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `morses_word` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` 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" "3192c4f00a358d6fd2b4461a77c9ee31ef16892627e9d6bbc31d4f97630a64e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3192c4f00a358d6fd2b4461a77c9ee31ef16892627e9d6bbc31d4f97630a64e5", kill_on_drop: false }` [INFO] [stdout] 3192c4f00a358d6fd2b4461a77c9ee31ef16892627e9d6bbc31d4f97630a64e5