[INFO] cloning repository https://github.com/jakyle/rust-algos [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakyle/rust-algos" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a116745ec5efb4a2aa4edf0bc11ee1963173f076 [INFO] checking jakyle/rust-algos against master#17ffbc81a30c094193836a5d7f90dff273b5df93 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakyle%2Frust-algos" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jakyle/rust-algos on toolchain 17ffbc81a30c094193836a5d7f90dff273b5df93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jakyle/rust-algos [INFO] finished tweaking git repo https://github.com/jakyle/rust-algos [INFO] tweaked toml for git repo https://github.com/jakyle/rust-algos written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jakyle/rust-algos 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" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4483b4cf5a29dc14d9d5836ef98df76930692c5ac8bc6b6787ae307eac1cf52c [INFO] running `Command { std: "docker" "start" "-a" "4483b4cf5a29dc14d9d5836ef98df76930692c5ac8bc6b6787ae307eac1cf52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4483b4cf5a29dc14d9d5836ef98df76930692c5ac8bc6b6787ae307eac1cf52c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4483b4cf5a29dc14d9d5836ef98df76930692c5ac8bc6b6787ae307eac1cf52c", kill_on_drop: false }` [INFO] [stdout] 4483b4cf5a29dc14d9d5836ef98df76930692c5ac8bc6b6787ae307eac1cf52c [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+17ffbc81a30c094193836a5d7f90dff273b5df93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f8d0d20e0f7eea926c56c5b01ea866e898b9d1f51c1d30adedf69a03fb5a4ad [INFO] running `Command { std: "docker" "start" "-a" "5f8d0d20e0f7eea926c56c5b01ea866e898b9d1f51c1d30adedf69a03fb5a4ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rust_algos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `count_points` is never used [INFO] [stdout] --> src/count_points.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn count_points(points: Vec>, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/merge_two_lists.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParkingSystem` is never constructed [INFO] [stdout] --> src/parking_system.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ParkingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_car` are never used [INFO] [stdout] --> src/parking_system.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParkingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | fn new(big: i32, medium: i32, small: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_car(mut self, car_type: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `matrix` are never read [INFO] [stdout] --> src/sub_rectangle_queries.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct SubRectangleQueries { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 2 | width: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 3 | matrix: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `update_subrectangle`, `get_value`, and `xy_idx` are never used [INFO] [stdout] --> src/sub_rectangle_queries.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl SubRectangleQueries { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 7 | fn new(rectangle: Vec>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn update_subrectangle(&mut self, row1: i32, col1: i32, row2: i32, col2: i32, new_value: i32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn get_value(&self, row: i32, col: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn xy_idx(&self, x: i32, y: i32) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_points` is never used [INFO] [stdout] --> src/count_points.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn count_points(points: Vec>, queries: Vec>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/merge_two_lists.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 8 | #[inline] [INFO] [stdout] 9 | fn new(val: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `min_operations_test_one` is never used [INFO] [stdout] --> src/min_operations.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | fn min_operations_test_one() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ParkingSystem` is never constructed [INFO] [stdout] --> src/parking_system.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct ParkingSystem { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add_car` are never used [INFO] [stdout] --> src/parking_system.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 9 | impl ParkingSystem { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 10 | fn new(big: i32, medium: i32, small: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn add_car(mut self, car_type: i32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "5f8d0d20e0f7eea926c56c5b01ea866e898b9d1f51c1d30adedf69a03fb5a4ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f8d0d20e0f7eea926c56c5b01ea866e898b9d1f51c1d30adedf69a03fb5a4ad", kill_on_drop: false }` [INFO] [stdout] 5f8d0d20e0f7eea926c56c5b01ea866e898b9d1f51c1d30adedf69a03fb5a4ad