[INFO] cloning repository https://github.com/michaelberndbeier/SecretSantaRust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michaelberndbeier/SecretSantaRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelberndbeier%2FSecretSantaRust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelberndbeier%2FSecretSantaRust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b3f52c48c852c27f70bcce8ad564e0215d853ceb [INFO] checking michaelberndbeier/SecretSantaRust against master#fc5af1813307d25a84d633f21e2e53c9376eb547 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelberndbeier%2FSecretSantaRust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michaelberndbeier/SecretSantaRust [INFO] finished tweaking git repo https://github.com/michaelberndbeier/SecretSantaRust [INFO] tweaked toml for git repo https://github.com/michaelberndbeier/SecretSantaRust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelberndbeier/SecretSantaRust on toolchain fc5af1813307d25a84d633f21e2e53c9376eb547 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michaelberndbeier/SecretSantaRust 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" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0126079e3872d5289fac5f16481916b5ddfc75b70efc5541077c70a87452f527 [INFO] running `Command { std: "docker" "start" "-a" "0126079e3872d5289fac5f16481916b5ddfc75b70efc5541077c70a87452f527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0126079e3872d5289fac5f16481916b5ddfc75b70efc5541077c70a87452f527", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0126079e3872d5289fac5f16481916b5ddfc75b70efc5541077c70a87452f527", kill_on_drop: false }` [INFO] [stdout] 0126079e3872d5289fac5f16481916b5ddfc75b70efc5541077c70a87452f527 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+fc5af1813307d25a84d633f21e2e53c9376eb547" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c807e43ccbb4387f9977bdd8c6d901897afeeb4dc682d889571761463a2f1fe [INFO] running `Command { std: "docker" "start" "-a" "7c807e43ccbb4387f9977bdd8c6d901897afeeb4dc682d889571761463a2f1fe", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking SecretSantaRust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `pairingIndex` is assigned to, but never used [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut pairingIndex : usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pairingIndex` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairingIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut pairingIndex : usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numParticipants` should have a snake case name [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let numParticipants = senders.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_participants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut senderIndex: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sender_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numParticipants` should have a snake case name [INFO] [stdout] --> src/main.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_offset(numParticipants: usize) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_participants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `indexSender` should have a snake case name [INFO] [stdout] --> src/main.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | fn calc_receiver_index(indexSender: usize, numParticipants: usize, offset: usize) -> usize [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `index_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numParticipants` should have a snake case name [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn calc_receiver_index(indexSender: usize, numParticipants: usize, offset: usize) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_participants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `virtualIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let virtualIndex = indexSender + offset; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adjustedIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let adjustedIndex = virtualIndex % numParticipants; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `adjusted_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairingIndex` is assigned to, but never used [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut pairingIndex : usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_pairingIndex` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pairingIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let mut pairingIndex : usize = 0; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `pairing_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numParticipants` should have a snake case name [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let numParticipants = senders.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_participants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `senderIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut senderIndex: usize = 0; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sender_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numParticipants` should have a snake case name [INFO] [stdout] --> src/main.rs:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | fn get_offset(numParticipants: usize) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_participants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `indexSender` should have a snake case name [INFO] [stdout] --> src/main.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | fn calc_receiver_index(indexSender: usize, numParticipants: usize, offset: usize) -> usize [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `index_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `numParticipants` should have a snake case name [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn calc_receiver_index(indexSender: usize, numParticipants: usize, offset: usize) -> usize [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `num_participants` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `virtualIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let virtualIndex = indexSender + offset; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `virtual_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `adjustedIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | let adjustedIndex = virtualIndex % numParticipants; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `adjusted_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.01s [INFO] running `Command { std: "docker" "inspect" "7c807e43ccbb4387f9977bdd8c6d901897afeeb4dc682d889571761463a2f1fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c807e43ccbb4387f9977bdd8c6d901897afeeb4dc682d889571761463a2f1fe", kill_on_drop: false }` [INFO] [stdout] 7c807e43ccbb4387f9977bdd8c6d901897afeeb4dc682d889571761463a2f1fe