[INFO] cloning repository https://github.com/u2/leetcode-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/u2/leetcode-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu2%2Fleetcode-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu2%2Fleetcode-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 23722bdf01b8f3a080af49de576ff52ccbc1c27a [INFO] testing u2/leetcode-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu2%2Fleetcode-rust" "/workspace/builds/worker-116/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-116/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u2/leetcode-rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/u2/leetcode-rust [INFO] finished tweaking git repo https://github.com/u2/leetcode-rust [INFO] tweaked toml for git repo https://github.com/u2/leetcode-rust written to /workspace/builds/worker-116/source/Cargo.toml [INFO] crate git repo https://github.com/u2/leetcode-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e7553bc66aed15a420a1ebf9f7e3a2fa79d7854b5484b050fcfd91598217c31 [INFO] running `Command { std: "docker" "start" "-a" "4e7553bc66aed15a420a1ebf9f7e3a2fa79d7854b5484b050fcfd91598217c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e7553bc66aed15a420a1ebf9f7e3a2fa79d7854b5484b050fcfd91598217c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e7553bc66aed15a420a1ebf9f7e3a2fa79d7854b5484b050fcfd91598217c31", kill_on_drop: false }` [INFO] [stdout] 4e7553bc66aed15a420a1ebf9f7e3a2fa79d7854b5484b050fcfd91598217c31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-116/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=warn" "-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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03392744509bd84edaf198f47b6b5111c304dd6e5f52cc6d548c543f7552e9c2 [INFO] running `Command { std: "docker" "start" "-a" "03392744509bd84edaf198f47b6b5111c304dd6e5f52cc6d548c543f7552e9c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling memchr v1.0.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling thread_local v0.3.2 [INFO] [stderr] Compiling aho-corasick v0.6.1 [INFO] [stderr] Compiling regex v0.2.1 [INFO] [stderr] Compiling leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/length_of_longest_substring.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | let array: Vec<(char)> = s.char_indices().map(|i| i.1).collect::>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 7 - let array: Vec<(char)> = s.char_indices().map(|i| i.1).collect::>(); [INFO] [stdout] 7 + let array: Vec = s.char_indices().map(|i| i.1).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/length_of_longest_substring.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | let mut c: VecDeque<(char)> = VecDeque::with_capacity(s.char_indices().count()); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 8 - let mut c: VecDeque<(char)> = VecDeque::with_capacity(s.char_indices().count()); [INFO] [stdout] 8 + let mut c: VecDeque = VecDeque::with_capacity(s.char_indices().count()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/length_of_longest_substring.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let array: Vec<(char)> = s.char_indices().map(|i| i.1).collect::>(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 39 - let array: Vec<(char)> = s.char_indices().map(|i| i.1).collect::>(); [INFO] [stdout] 39 + let array: Vec = s.char_indices().map(|i| i.1).collect::>(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(test)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/find_median_sorted_arrays.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | j - 1; [INFO] [stdout] | ^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = j - 1; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `leetcode` due to 2 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "03392744509bd84edaf198f47b6b5111c304dd6e5f52cc6d548c543f7552e9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03392744509bd84edaf198f47b6b5111c304dd6e5f52cc6d548c543f7552e9c2", kill_on_drop: false }` [INFO] [stdout] 03392744509bd84edaf198f47b6b5111c304dd6e5f52cc6d548c543f7552e9c2