[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#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelberndbeier%2FSecretSantaRust" "/workspace/builds/worker-46/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-46/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michaelberndbeier/SecretSantaRust on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-46/source/Cargo.toml [INFO] crate git repo https://github.com/michaelberndbeier/SecretSantaRust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ecf140876d4de81658677972c47909fcf707be47733e30c93e76d769afe29153 [INFO] running `Command { std: "docker" "start" "-a" "ecf140876d4de81658677972c47909fcf707be47733e30c93e76d769afe29153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecf140876d4de81658677972c47909fcf707be47733e30c93e76d769afe29153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecf140876d4de81658677972c47909fcf707be47733e30c93e76d769afe29153", kill_on_drop: false }` [INFO] [stdout] ecf140876d4de81658677972c47909fcf707be47733e30c93e76d769afe29153 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-46/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 904b764f186de0c9c1fdf6fa940f818509c4b6c5b286ea43b3d5558a85d2e350 [INFO] running `Command { std: "docker" "start" "-a" "904b764f186de0c9c1fdf6fa940f818509c4b6c5b286ea43b3d5558a85d2e350", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.102 [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: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_pairingIndex` instead [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: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: consider using `_pairingIndex` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `SecretSantaRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `secret_santa_rust` [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] [INFO] [stdout] warning: crate `SecretSantaRust` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `secret_santa_rust` [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 `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] [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: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 `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 `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 `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: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 `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 `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 `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 `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: 10 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 3.80s [INFO] running `Command { std: "docker" "inspect" "904b764f186de0c9c1fdf6fa940f818509c4b6c5b286ea43b3d5558a85d2e350", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "904b764f186de0c9c1fdf6fa940f818509c4b6c5b286ea43b3d5558a85d2e350", kill_on_drop: false }` [INFO] [stdout] 904b764f186de0c9c1fdf6fa940f818509c4b6c5b286ea43b3d5558a85d2e350