[INFO] cloning repository https://github.com/SCKelemen/rust-strings [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SCKelemen/rust-strings" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCKelemen%2Frust-strings", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCKelemen%2Frust-strings'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ffcfe7e3e4332a27cf287a52935103169cb492d [INFO] checking SCKelemen/rust-strings against try#ff044a3d65d25a17c3e14c1530004e1540179ba7 for pr-78338 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCKelemen%2Frust-strings" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SCKelemen/rust-strings on toolchain ff044a3d65d25a17c3e14c1530004e1540179ba7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SCKelemen/rust-strings [INFO] finished tweaking git repo https://github.com/SCKelemen/rust-strings [INFO] tweaked toml for git repo https://github.com/SCKelemen/rust-strings written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/SCKelemen/rust-strings already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97a58738da94caff8336f15c6136b4545337e206120bb39ae644ba3d4e13480a [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" "97a58738da94caff8336f15c6136b4545337e206120bb39ae644ba3d4e13480a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97a58738da94caff8336f15c6136b4545337e206120bb39ae644ba3d4e13480a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97a58738da94caff8336f15c6136b4545337e206120bb39ae644ba3d4e13480a", kill_on_drop: false }` [INFO] [stdout] 97a58738da94caff8336f15c6136b4545337e206120bb39ae644ba3d4e13480a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+ff044a3d65d25a17c3e14c1530004e1540179ba7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd6fa262213d307ebd2ebedf4d0e5a2a50d24ffdf8ab0feef2e4fc86bc13b777 [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" "fd6fa262213d307ebd2ebedf4d0e5a2a50d24ffdf8ab0feef2e4fc86bc13b777", kill_on_drop: false }` [INFO] [stderr] Checking strings v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | for n in (0..small.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression [INFO] [stdout] --> src/main.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | for n in (0..small.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expect` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let expect = "click to login with rally health"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `login_with_rally` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let login_with_rally = Point { offset: 9, length: 16 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_with_rally` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rally_health` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let rally_health = Point { offset: 20, length: 12 }; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rally_health` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click_to_login` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let click_to_login = Point { offset: 0, length: 14 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_click_to_login` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let to_ = Point { offset: 6, length: 2 }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_to_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let with_ = Point { offset: 15, length: 4 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_with_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `large_chars` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let large_chars = large.chars(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_large_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expect` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let expect = "click to login with rally health"; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `login_with_rally` [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | let login_with_rally = Point { offset: 9, length: 16 }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_login_with_rally` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rally_health` [INFO] [stdout] --> src/main.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let rally_health = Point { offset: 20, length: 12 }; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rally_health` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `click_to_login` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let click_to_login = Point { offset: 0, length: 14 }; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_click_to_login` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_` [INFO] [stdout] --> src/main.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let to_ = Point { offset: 6, length: 2 }; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_to_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `with_` [INFO] [stdout] --> src/main.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let with_ = Point { offset: 15, length: 4 }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_with_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `large_chars` [INFO] [stdout] --> src/main.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | let large_chars = large.chars(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_large_chars` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `offset` [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | offset: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `length` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | length: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.40s [INFO] running `Command { std: "docker" "inspect" "fd6fa262213d307ebd2ebedf4d0e5a2a50d24ffdf8ab0feef2e4fc86bc13b777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd6fa262213d307ebd2ebedf4d0e5a2a50d24ffdf8ab0feef2e4fc86bc13b777", kill_on_drop: false }` [INFO] [stdout] fd6fa262213d307ebd2ebedf4d0e5a2a50d24ffdf8ab0feef2e4fc86bc13b777