[INFO] cloning repository https://github.com/comingAlive/leetcode-practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/comingAlive/leetcode-practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcomingAlive%2Fleetcode-practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcomingAlive%2Fleetcode-practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72fe0be3fc09016bb219fd5ceef85361d30214d9 [INFO] checking comingAlive/leetcode-practice against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FcomingAlive%2Fleetcode-practice" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/comingAlive/leetcode-practice on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/comingAlive/leetcode-practice [INFO] finished tweaking git repo https://github.com/comingAlive/leetcode-practice [INFO] tweaked toml for git repo https://github.com/comingAlive/leetcode-practice written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/comingAlive/leetcode-practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 018cd95fd6e829b8ad886849e05013a683e2083672d16fc8aae51007925ae924 [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" "018cd95fd6e829b8ad886849e05013a683e2083672d16fc8aae51007925ae924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "018cd95fd6e829b8ad886849e05013a683e2083672d16fc8aae51007925ae924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "018cd95fd6e829b8ad886849e05013a683e2083672d16fc8aae51007925ae924", kill_on_drop: false }` [INFO] [stdout] 018cd95fd6e829b8ad886849e05013a683e2083672d16fc8aae51007925ae924 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 377dc4e644ca3941a051446fe3c6dcf35d27a94c0e9c780b51c2020c31a43caa [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" "377dc4e644ca3941a051446fe3c6dcf35d27a94c0e9c780b51c2020c31a43caa", kill_on_drop: false }` [INFO] [stderr] Checking rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `TreeNode` [INFO] [stdout] --> src/main.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 6 | / pub struct TreeNode { [INFO] [stdout] 7 | | pub val: i32, [INFO] [stdout] 8 | | pub left: Option>>, [INFO] [stdout] 9 | | pub right: Option>>, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- `TreeNode` defined here [INFO] [stdout] ... [INFO] [stdout] 43 | let root = TreeNode(5, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `TreeNode { val: val, left: val, right: val }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found struct `TreeNode` [INFO] [stdout] --> src/main.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 6 | / pub struct TreeNode { [INFO] [stdout] 7 | | pub val: i32, [INFO] [stdout] 8 | | pub left: Option>>, [INFO] [stdout] 9 | | pub right: Option>>, [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- `TreeNode` defined here [INFO] [stdout] ... [INFO] [stdout] 43 | let root = TreeNode(5, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use struct literal syntax instead: `TreeNode { val: val, left: val, right: val }` [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 E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust` [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 E0423`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "377dc4e644ca3941a051446fe3c6dcf35d27a94c0e9c780b51c2020c31a43caa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "377dc4e644ca3941a051446fe3c6dcf35d27a94c0e9c780b51c2020c31a43caa", kill_on_drop: false }` [INFO] [stdout] 377dc4e644ca3941a051446fe3c6dcf35d27a94c0e9c780b51c2020c31a43caa