[INFO] cloning repository https://github.com/maeln/Oneliner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maeln/Oneliner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaeln%2FOneliner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaeln%2FOneliner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d4387599db55cf8146ef7a82186cc9a1c3d7dea7 [INFO] checking maeln/Oneliner against try#ed606620234c6b50f2414162c4bbabd5f4a925f3 for pr-147995 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaeln%2FOneliner" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/maeln/Oneliner [INFO] finished tweaking git repo https://github.com/maeln/Oneliner [INFO] tweaked toml for git repo https://github.com/maeln/Oneliner written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/maeln/Oneliner on toolchain ed606620234c6b50f2414162c4bbabd5f4a925f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/maeln/Oneliner 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" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded smallvec v0.6.6 [INFO] [stderr] Downloaded rand_chacha v0.1.0 [INFO] [stderr] Downloaded rand_pcg v0.1.1 [INFO] [stderr] Downloaded crossbeam v0.5.0 [INFO] [stderr] Downloaded redox_syscall v0.1.43 [INFO] [stderr] Downloaded arrayvec v0.4.8 [INFO] [stderr] Downloaded crossbeam-epoch v0.6.1 [INFO] [stderr] Downloaded rand v0.6.1 [INFO] [stderr] Downloaded crossbeam-deque v0.6.2 [INFO] [stderr] Downloaded crossbeam-channel v0.3.2 [INFO] [stderr] Downloaded crossbeam-utils v0.6.1 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded csv v1.0.2 [INFO] [stderr] Downloaded rand_xorshift v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2598fd673f32c9c5a90d37aca36eee0c2ea1f1d6e03735f8184d799634cd498b [INFO] running `Command { std: "docker" "start" "-a" "2598fd673f32c9c5a90d37aca36eee0c2ea1f1d6e03735f8184d799634cd498b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2598fd673f32c9c5a90d37aca36eee0c2ea1f1d6e03735f8184d799634cd498b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2598fd673f32c9c5a90d37aca36eee0c2ea1f1d6e03735f8184d799634cd498b", kill_on_drop: false }` [INFO] [stdout] 2598fd673f32c9c5a90d37aca36eee0c2ea1f1d6e03735f8184d799634cd498b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ed606620234c6b50f2414162c4bbabd5f4a925f3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e687a88a1526821e9a49f2a5c0164d50444d93784d546ea8dbf01c1e19028148 [INFO] running `Command { std: "docker" "start" "-a" "e687a88a1526821e9a49f2a5c0164d50444d93784d546ea8dbf01c1e19028148", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling rand v0.6.1 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking arrayvec v0.4.8 [INFO] [stderr] Checking textwrap v0.10.0 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Checking crossbeam-utils v0.6.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking smallvec v0.6.6 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking csv-core v0.1.4 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking crossbeam-deque v0.6.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.3.2 [INFO] [stderr] Checking crossbeam v0.5.0 [INFO] [stderr] Checking csv v1.0.2 [INFO] [stderr] Checking oneliner v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/serialize/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn unserialize(&[u8]) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | type Cause = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Cause = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_cause(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_cause(self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/serialize/mod.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn unserialize(&[u8]) -> Result; [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &[u8]` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | type Cause = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Cause = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 98 | fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:60:43 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_cause(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | pub fn into_cause(self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/serialize/errors.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | write!(f, "{}: {}", self.description(), cause) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.04s [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/serialize/errors.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | self.inner.cause.as_ref().map(|cause| &**cause as &StdError) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | self.inner.cause.as_ref().map(|cause| &**cause as &dyn StdError) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/serialize/errors.rs:79:38 [INFO] [stdout] | [INFO] [stdout] 79 | write!(f, "{}: {}", self.description(), cause) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/serialize/errors.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | f.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/serialize/errors.rs:99:60 [INFO] [stdout] | [INFO] [stdout] 99 | self.inner.cause.as_ref().map(|cause| &**cause as &StdError) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 99 | self.inner.cause.as_ref().map(|cause| &**cause as &dyn StdError) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SerializeError` and `UnserializeError` are never constructed [INFO] [stdout] --> src/serialize/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 21 | SerializeError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | UnserializeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_serialize`, `new_unserialize`, and `into_cause` are never used [INFO] [stdout] --> src/serialize/errors.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_serialize() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new_unserialize() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn into_cause(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `split_word_re` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | static ref split_word_re: Regex = Regex::new(r"\s+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 106 - static ref split_word_re: Regex = Regex::new(r"\s+").unwrap(); [INFO] [stdout] 106 + static ref SPLIT_WORD_RE: Regex = Regex::new(r"\s+").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multiple_ponct` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | static ref multiple_ponct: Regex = Regex::new(r"(?P[;:\.!\?]+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 135 - static ref multiple_ponct: Regex = Regex::new(r"(?P[;:\.!\?]+)").unwrap(); [INFO] [stdout] 135 + static ref MULTIPLE_PONCT: Regex = Regex::new(r"(?P[;:\.!\?]+)").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `url_reg` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | static ref url_reg: Regex = Regex::new(r"(.+://.+\.[a-z]+.*$)|(.*www\..*)").unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 157 - static ref url_reg: Regex = Regex::new(r"(.+://.+\.[a-z]+.*$)|(.*www\..*)").unwrap(); [INFO] [stdout] 157 + static ref URL_REG: Regex = Regex::new(r"(.+://.+\.[a-z]+.*$)|(.*www\..*)").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `char_reg` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | static ref char_reg: Regex = Regex::new(r".*[a-zA-Z]+.*").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 165 - static ref char_reg: Regex = Regex::new(r".*[a-zA-Z]+.*").unwrap(); [INFO] [stdout] 165 + static ref CHAR_REG: Regex = Regex::new(r".*[a-zA-Z]+.*").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bull_reg` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | static ref bull_reg: Regex = Regex::new(r"^#+").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 173 - static ref bull_reg: Regex = Regex::new(r"^#+").unwrap(); [INFO] [stdout] 173 + static ref BULL_REG: Regex = Regex::new(r"^#+").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `end` should have an upper case name [INFO] [stdout] --> src/markovchain.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | static ref end: Regex = Regex::new(r"[;:,\.!\?]+").unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 49 - static ref end: Regex = Regex::new(r"[;:,\.!\?]+").unwrap(); [INFO] [stdout] 49 + static ref END: Regex = Regex::new(r"[;:,\.!\?]+").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/serialize/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let value = unsafe { mem::transmute::(self.to_le()).to_vec() }; [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/serialize/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | mem::transmute::<[u8; 4], i32>([bytes[0], bytes[1], bytes[2], bytes[3]]).to_le() [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `SerializeError` and `UnserializeError` are never constructed [INFO] [stdout] --> src/serialize/errors.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum ErrorKind { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 21 | SerializeError, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 22 | UnserializeError, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorKind` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_serialize`, `new_unserialize`, and `into_cause` are never used [INFO] [stdout] --> src/serialize/errors.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Error { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn new_serialize() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new_unserialize() -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn into_cause(self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `split_word_re` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | static ref split_word_re: Regex = Regex::new(r"\s+").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 106 - static ref split_word_re: Regex = Regex::new(r"\s+").unwrap(); [INFO] [stdout] 106 + static ref SPLIT_WORD_RE: Regex = Regex::new(r"\s+").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `multiple_ponct` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:135:20 [INFO] [stdout] | [INFO] [stdout] 135 | static ref multiple_ponct: Regex = Regex::new(r"(?P[;:\.!\?]+)").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 135 - static ref multiple_ponct: Regex = Regex::new(r"(?P[;:\.!\?]+)").unwrap(); [INFO] [stdout] 135 + static ref MULTIPLE_PONCT: Regex = Regex::new(r"(?P[;:\.!\?]+)").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `url_reg` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | static ref url_reg: Regex = Regex::new(r"(.+://.+\.[a-z]+.*$)|(.*www\..*)").unwrap(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 157 - static ref url_reg: Regex = Regex::new(r"(.+://.+\.[a-z]+.*$)|(.*www\..*)").unwrap(); [INFO] [stdout] 157 + static ref URL_REG: Regex = Regex::new(r"(.+://.+\.[a-z]+.*$)|(.*www\..*)").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `char_reg` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:165:20 [INFO] [stdout] | [INFO] [stdout] 165 | static ref char_reg: Regex = Regex::new(r".*[a-zA-Z]+.*").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 165 - static ref char_reg: Regex = Regex::new(r".*[a-zA-Z]+.*").unwrap(); [INFO] [stdout] 165 + static ref CHAR_REG: Regex = Regex::new(r".*[a-zA-Z]+.*").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `bull_reg` should have an upper case name [INFO] [stdout] --> src/csv_parser.rs:173:20 [INFO] [stdout] | [INFO] [stdout] 173 | static ref bull_reg: Regex = Regex::new(r"^#+").unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 173 - static ref bull_reg: Regex = Regex::new(r"^#+").unwrap(); [INFO] [stdout] 173 + static ref BULL_REG: Regex = Regex::new(r"^#+").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `end` should have an upper case name [INFO] [stdout] --> src/markovchain.rs:49:24 [INFO] [stdout] | [INFO] [stdout] 49 | static ref end: Regex = Regex::new(r"[;:,\.!\?]+").unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 49 - static ref end: Regex = Regex::new(r"[;:,\.!\?]+").unwrap(); [INFO] [stdout] 49 + static ref END: Regex = Regex::new(r"[;:,\.!\?]+").unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/serialize/mod.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | let value = unsafe { mem::transmute::(self.to_le()).to_vec() }; [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/serialize/mod.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | mem::transmute::<[u8; 4], i32>([bytes[0], bytes[1], bytes[2], bytes[3]]).to_le() [INFO] [stdout] | ------------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e687a88a1526821e9a49f2a5c0164d50444d93784d546ea8dbf01c1e19028148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e687a88a1526821e9a49f2a5c0164d50444d93784d546ea8dbf01c1e19028148", kill_on_drop: false }` [INFO] [stdout] e687a88a1526821e9a49f2a5c0164d50444d93784d546ea8dbf01c1e19028148