[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 try#1383df06117fd218068d1f39fd5326256dd4a348 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichaelberndbeier%2FSecretSantaRust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michaelberndbeier/SecretSantaRust on toolchain 1383df06117fd218068d1f39fd5326256dd4a348 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "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" "+1383df06117fd218068d1f39fd5326256dd4a348" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91c180eaacb5142648e0f22ca64191742f0cd74e6717e9d0de0ec4ecbae18668 [INFO] running `Command { std: "docker" "start" "-a" "91c180eaacb5142648e0f22ca64191742f0cd74e6717e9d0de0ec4ecbae18668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91c180eaacb5142648e0f22ca64191742f0cd74e6717e9d0de0ec4ecbae18668", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91c180eaacb5142648e0f22ca64191742f0cd74e6717e9d0de0ec4ecbae18668", kill_on_drop: false }` [INFO] [stdout] 91c180eaacb5142648e0f22ca64191742f0cd74e6717e9d0de0ec4ecbae18668 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+1383df06117fd218068d1f39fd5326256dd4a348" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ace7e8f3dbace52a59732b98f89fc1ae8fd62a01e529f4690e07793654f99d3c [INFO] running `Command { std: "docker" "start" "-a" "ace7e8f3dbace52a59732b98f89fc1ae8fd62a01e529f4690e07793654f99d3c", 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.32s [INFO] running `Command { std: "docker" "inspect" "ace7e8f3dbace52a59732b98f89fc1ae8fd62a01e529f4690e07793654f99d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ace7e8f3dbace52a59732b98f89fc1ae8fd62a01e529f4690e07793654f99d3c", kill_on_drop: false }` [INFO] [stdout] ace7e8f3dbace52a59732b98f89fc1ae8fd62a01e529f4690e07793654f99d3c