[INFO] cloning repository https://github.com/choby/idgenerator_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/choby/idgenerator_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoby%2Fidgenerator_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoby%2Fidgenerator_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a68324dd3b5f15a0cdf2fe58c5e909fb0cea046c [INFO] checking choby/idgenerator_rs against master#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchoby%2Fidgenerator_rs" "/workspace/builds/worker-77/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-77/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/choby/idgenerator_rs on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/choby/idgenerator_rs [INFO] finished tweaking git repo https://github.com/choby/idgenerator_rs [INFO] tweaked toml for git repo https://github.com/choby/idgenerator_rs written to /workspace/builds/worker-77/source/Cargo.toml [INFO] crate git repo https://github.com/choby/idgenerator_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "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-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e56d1b0a357a0c6e1cbc30932b138a08f5ba5e0111ae337be295b05bd3466cd [INFO] running `Command { std: "docker" "start" "-a" "4e56d1b0a357a0c6e1cbc30932b138a08f5ba5e0111ae337be295b05bd3466cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e56d1b0a357a0c6e1cbc30932b138a08f5ba5e0111ae337be295b05bd3466cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e56d1b0a357a0c6e1cbc30932b138a08f5ba5e0111ae337be295b05bd3466cd", kill_on_drop: false }` [INFO] [stdout] 4e56d1b0a357a0c6e1cbc30932b138a08f5ba5e0111ae337be295b05bd3466cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af5994b11c350e0d8faaf3836c57161d4b69ef945cc015c6f56388027647acdc [INFO] running `Command { std: "docker" "start" "-a" "af5994b11c350e0d8faaf3836c57161d4b69ef945cc015c6f56388027647acdc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking test_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BufRead`, `self` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead`, `self` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{self, BufRead}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Twepoch` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Twepoch: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `SequenceBits` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SequenceBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `WorkerId` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | WorkerId: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `DatacenterId` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DatacenterId: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Sequence` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Sequence: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `LastTimestamp` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LastTimestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sequence_mask` [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn sequence_mask(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `worker_id_shift` [INFO] [stdout] --> src/main.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn worker_id_shift(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `datacenter_id_shift` [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn datacenter_id_shift(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timestamp_leftshift` [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn timestamp_leftshift(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_id` [INFO] [stdout] --> src/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn next_id(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | "worker Id 不能大于max_worker_id: {}", [INFO] [stdout] 38 | | idworker.max_worker_id() [INFO] [stdout] 39 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 ~ panic!( [INFO] [stdout] 37 | "worker Id 不能大于max_worker_id: {}", [INFO] [stdout] 38 | idworker.max_worker_id() [INFO] [stdout] 39 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 43 | | "datacenterId不能大于max_datacenter_id: {}", [INFO] [stdout] 44 | | idworker.max_datacenter_id() [INFO] [stdout] 45 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 42 ~ panic!( [INFO] [stdout] 43 | "datacenterId不能大于max_datacenter_id: {}", [INFO] [stdout] 44 | idworker.max_datacenter_id() [INFO] [stdout] 45 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Twepoch` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Twepoch: u64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `twepoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WorkerIdBits` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | WorkerIdBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `worker_id_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DatacenterIdBits` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DatacenterIdBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `datacenter_id_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SequenceBits` should have a snake case name [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SequenceBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sequence_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WorkerId` should have a snake case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | WorkerId: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DatacenterId` should have a snake case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DatacenterId: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `datacenter_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Sequence` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Sequence: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LastTimestamp` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LastTimestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workerId` should have a snake case name [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(workerId: u64, datacenterId: u64) -> IdWorker { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `datacenterId` should have a snake case name [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(workerId: u64, datacenterId: u64) -> IdWorker { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `datacenter_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Twepoch` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Twepoch: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `SequenceBits` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SequenceBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `WorkerId` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | WorkerId: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `DatacenterId` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DatacenterId: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `Sequence` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Sequence: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `LastTimestamp` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LastTimestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sequence_mask` [INFO] [stdout] --> src/main.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | fn sequence_mask(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `worker_id_shift` [INFO] [stdout] --> src/main.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn worker_id_shift(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `datacenter_id_shift` [INFO] [stdout] --> src/main.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn datacenter_id_shift(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `timestamp_leftshift` [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn timestamp_leftshift(&self) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `next_id` [INFO] [stdout] --> src/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn next_id(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 37 | | "worker Id 不能大于max_worker_id: {}", [INFO] [stdout] 38 | | idworker.max_worker_id() [INFO] [stdout] 39 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 36 ~ panic!( [INFO] [stdout] 37 | "worker Id 不能大于max_worker_id: {}", [INFO] [stdout] 38 | idworker.max_worker_id() [INFO] [stdout] 39 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 43 | | "datacenterId不能大于max_datacenter_id: {}", [INFO] [stdout] 44 | | idworker.max_datacenter_id() [INFO] [stdout] 45 | | )); [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 42 ~ panic!( [INFO] [stdout] 43 | "datacenterId不能大于max_datacenter_id: {}", [INFO] [stdout] 44 | idworker.max_datacenter_id() [INFO] [stdout] 45 ~ ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Twepoch` should have a snake case name [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Twepoch: u64, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `twepoch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WorkerIdBits` should have a snake case name [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | WorkerIdBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `worker_id_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DatacenterIdBits` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | DatacenterIdBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `datacenter_id_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SequenceBits` should have a snake case name [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | SequenceBits: u8, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `sequence_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WorkerId` should have a snake case name [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | WorkerId: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `DatacenterId` should have a snake case name [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | DatacenterId: u64, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `datacenter_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Sequence` should have a snake case name [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Sequence: u64, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `LastTimestamp` should have a snake case name [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | LastTimestamp: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `workerId` should have a snake case name [INFO] [stdout] --> src/main.rs:23:16 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(workerId: u64, datacenterId: u64) -> IdWorker { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `worker_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `datacenterId` should have a snake case name [INFO] [stdout] --> src/main.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new(workerId: u64, datacenterId: u64) -> IdWorker { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `datacenter_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "af5994b11c350e0d8faaf3836c57161d4b69ef945cc015c6f56388027647acdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af5994b11c350e0d8faaf3836c57161d4b69ef945cc015c6f56388027647acdc", kill_on_drop: false }` [INFO] [stdout] af5994b11c350e0d8faaf3836c57161d4b69ef945cc015c6f56388027647acdc