[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 master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSCKelemen%2Frust-strings" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SCKelemen/rust-strings on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-8/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e1840115b20e18b05e7bc2cda7ea0c95c023a6f6d5de4b755823fb4a25940435 [INFO] running `Command { std: "docker" "start" "-a" "e1840115b20e18b05e7bc2cda7ea0c95c023a6f6d5de4b755823fb4a25940435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1840115b20e18b05e7bc2cda7ea0c95c023a6f6d5de4b755823fb4a25940435", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1840115b20e18b05e7bc2cda7ea0c95c023a6f6d5de4b755823fb4a25940435", kill_on_drop: false }` [INFO] [stdout] e1840115b20e18b05e7bc2cda7ea0c95c023a6f6d5de4b755823fb4a25940435 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 121e4342081a0616eb5ad555dc6062cd6afecc87552c403fa80ca919455c17d3 [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" "121e4342081a0616eb5ad555dc6062cd6afecc87552c403fa80ca919455c17d3", 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: 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: 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: 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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "121e4342081a0616eb5ad555dc6062cd6afecc87552c403fa80ca919455c17d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "121e4342081a0616eb5ad555dc6062cd6afecc87552c403fa80ca919455c17d3", kill_on_drop: false }` [INFO] [stdout] 121e4342081a0616eb5ad555dc6062cd6afecc87552c403fa80ca919455c17d3