[INFO] cloning repository https://github.com/sevenshi/rs-leetcode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sevenshi/rs-leetcode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Frs-leetcode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Frs-leetcode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c134b507036c8b9360d9b4d6b03e3d8a127a58c8 [INFO] checking sevenshi/rs-leetcode against try#53f0b05ecbcf011a1f77f1c627304e87ebd05801 for pr-154492-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsevenshi%2Frs-leetcode" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sevenshi/rs-leetcode [INFO] finished tweaking git repo https://github.com/sevenshi/rs-leetcode [INFO] tweaked toml for git repo https://github.com/sevenshi/rs-leetcode written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sevenshi/rs-leetcode on toolchain 53f0b05ecbcf011a1f77f1c627304e87ebd05801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sevenshi/rs-leetcode 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" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 51333183d4d17ff01aa5b1e02fed3202d69bb0e6ab6bfa29b958638fcf53e6df [INFO] running `Command { std: "docker" "start" "-a" "51333183d4d17ff01aa5b1e02fed3202d69bb0e6ab6bfa29b958638fcf53e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "51333183d4d17ff01aa5b1e02fed3202d69bb0e6ab6bfa29b958638fcf53e6df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51333183d4d17ff01aa5b1e02fed3202d69bb0e6ab6bfa29b958638fcf53e6df", kill_on_drop: false }` [INFO] [stdout] 51333183d4d17ff01aa5b1e02fed3202d69bb0e6ab6bfa29b958638fcf53e6df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+53f0b05ecbcf011a1f77f1c627304e87ebd05801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c53f3d25684bc5219d5ea23b8aae26e8b3261939ebd4a4c08027ec343a238375 [INFO] running `Command { std: "docker" "start" "-a" "c53f3d25684bc5219d5ea23b8aae26e8b3261939ebd4a4c08027ec343a238375", kill_on_drop: false }` [INFO] [stderr] Checking rs-leetcode v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:122:7 [INFO] [stdout] | [INFO] [stdout] 122 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:175:7 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:224:7 [INFO] [stdout] | [INFO] [stdout] 224 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/solved/problem_0002.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{boxed::Box, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:295:7 [INFO] [stdout] | [INFO] [stdout] 295 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:339:7 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `unused` [INFO] [stdout] --> src/solved/problem_0002.rs:353:7 [INFO] [stdout] | [INFO] [stdout] 353 | #[cfg(feature = "unused")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `unused` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt::Display` [INFO] [stdout] --> src/solved/problem_0002.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::{boxed::Box, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/solved/problem_0001.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn two_sum(nums: Vec,target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/solved/problem_0001.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `two_sum` is never used [INFO] [stdout] --> src/solved/problem_0001.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn two_sum(nums: Vec,target: i32) -> Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/solved/problem_0001.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn run(){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] running `Command { std: "docker" "inspect" "c53f3d25684bc5219d5ea23b8aae26e8b3261939ebd4a4c08027ec343a238375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53f3d25684bc5219d5ea23b8aae26e8b3261939ebd4a4c08027ec343a238375", kill_on_drop: false }` [INFO] [stdout] c53f3d25684bc5219d5ea23b8aae26e8b3261939ebd4a4c08027ec343a238375