[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] building u2/leetcode-rust against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fu2%2Fleetcode-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/u2/leetcode-rust on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 737f456f8d936ce021e7ffd665ee7cd28be88b0c053a5f2e91ae820bde91303a [INFO] running `Command { std: "docker" "start" "-a" "737f456f8d936ce021e7ffd665ee7cd28be88b0c053a5f2e91ae820bde91303a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "737f456f8d936ce021e7ffd665ee7cd28be88b0c053a5f2e91ae820bde91303a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "737f456f8d936ce021e7ffd665ee7cd28be88b0c053a5f2e91ae820bde91303a", kill_on_drop: false }` [INFO] [stdout] 737f456f8d936ce021e7ffd665ee7cd28be88b0c053a5f2e91ae820bde91303a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 96f2526d306f514ec290887ddb7cc0b3bf3a18a0a52727dc721352b0ab9d0b93 [INFO] running `Command { std: "docker" "start" "-a" "96f2526d306f514ec290887ddb7cc0b3bf3a18a0a52727dc721352b0ab9d0b93", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.20 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.4.0 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling thread-id v3.0.0 [INFO] [stderr] Compiling memchr v1.0.1 [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] 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.15s [INFO] running `Command { std: "docker" "inspect" "96f2526d306f514ec290887ddb7cc0b3bf3a18a0a52727dc721352b0ab9d0b93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96f2526d306f514ec290887ddb7cc0b3bf3a18a0a52727dc721352b0ab9d0b93", kill_on_drop: false }` [INFO] [stdout] 96f2526d306f514ec290887ddb7cc0b3bf3a18a0a52727dc721352b0ab9d0b93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ece89cc364d81723e2a832c97ebb1681f220df540bb3a0d01b587f686598c98 [INFO] running `Command { std: "docker" "start" "-a" "5ece89cc364d81723e2a832c97ebb1681f220df540bb3a0d01b587f686598c98", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] 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] 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] 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "5ece89cc364d81723e2a832c97ebb1681f220df540bb3a0d01b587f686598c98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ece89cc364d81723e2a832c97ebb1681f220df540bb3a0d01b587f686598c98", kill_on_drop: false }` [INFO] [stdout] 5ece89cc364d81723e2a832c97ebb1681f220df540bb3a0d01b587f686598c98