[INFO] fetching crate mockery 0.2.1... [INFO] checking mockery-0.2.1 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate mockery 0.2.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mockery 0.2.1 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mockery 0.2.1 [INFO] finished tweaking crates.io crate mockery 0.2.1 [INFO] tweaked toml for crates.io crate mockery 0.2.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate mockery 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-queue v0.2.0 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded rayon-core v1.6.1 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded rayon v1.2.1 [INFO] [stderr] Downloaded fake v2.2.0 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded hermit-abi v0.1.3 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded rayon-hash v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7a4b12c514fe0fd038eefba286cf311d7745cd89033fa7dff81161c4674aee4 [INFO] running `Command { std: "docker" "start" "-a" "f7a4b12c514fe0fd038eefba286cf311d7745cd89033fa7dff81161c4674aee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7a4b12c514fe0fd038eefba286cf311d7745cd89033fa7dff81161c4674aee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7a4b12c514fe0fd038eefba286cf311d7745cd89033fa7dff81161c4674aee4", kill_on_drop: false }` [INFO] [stdout] f7a4b12c514fe0fd038eefba286cf311d7745cd89033fa7dff81161c4674aee4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4ffaa54f01076339104da315415919e2fffbaf1af470f97b3088dca8cb350ef8 [INFO] running `Command { std: "docker" "start" "-a" "4ffaa54f01076339104da315415919e2fffbaf1af470f97b3088dca8cb350ef8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking rayon-hash v0.5.0 [INFO] [stderr] Checking fake v2.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking mockery v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Faker` [INFO] [stdout] --> src/datatypes.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use fake::{Fake, Faker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/datatypes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::datatypes::RandomData` [INFO] [stdout] --> src/generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datatypes::RandomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/generator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> src/generator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_to_string` [INFO] [stdout] --> src/generator.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::{create_dir_all, read_to_string, File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/generator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_str`, `to_string` [INFO] [stdout] --> src/generator.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json::{from_str, to_string}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Fail` [INFO] [stdout] --> src/specification.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use failure::Fail; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generator::from_spec` [INFO] [stdout] --> src/specification.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::generator::from_spec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> src/specification.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/specification.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/specification.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl GenerationSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GenerationSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::generation::{GenerationSpecification, OutputType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | impl GenerationSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:177:52 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn generation_from_file

(path: P) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Faker` [INFO] [stdout] --> src/datatypes.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use fake::{Fake, Faker}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/datatypes.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::datatypes::RandomData` [INFO] [stdout] --> src/generator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::datatypes::RandomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/generator.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::AsRef` [INFO] [stdout] --> src/generator.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::convert::AsRef; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read_to_string` [INFO] [stdout] --> src/generator.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | use std::fs::{create_dir_all, read_to_string, File}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::FromIterator` [INFO] [stdout] --> src/generator.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::iter::FromIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `from_str`, `to_string` [INFO] [stdout] --> src/generator.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | use serde_json::{from_str, to_string}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `failure::Fail` [INFO] [stdout] --> src/specification.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use failure::Fail; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::generator::from_spec` [INFO] [stdout] --> src/specification.rs:56:6 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::generator::from_spec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Result` [INFO] [stdout] --> src/specification.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | use std::io::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/specification.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/specification.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | use serde_derive::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | impl GenerationSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct GenerationSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:60:26 [INFO] [stdout] | [INFO] [stdout] 60 | use crate::generation::{GenerationSpecification, OutputType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | impl GenerationSpecification { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `generation::GenerationSpecification`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:177:52 [INFO] [stdout] | [INFO] [stdout] 177 | pub fn generation_from_file

(path: P) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let size = self.models.iter().fold(0, |t, (_, v)| t + v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | self.models.iter().for_each(|(k, v)| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | .filter(|(key, _)| self.models.contains_key(**key)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let quantity = self.models.get(*type_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let quantity = self.models.get(*type_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/specification.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/generator.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/generator.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/generator.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/generator.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | .filter_map(|(key, data_type)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/generator.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | child_models.iter().for_each(|(property, model_type)| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | let size = self.models.iter().fold(0, |t, (_, v)| t + v); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:21:3 [INFO] [stdout] | [INFO] [stdout] 21 | self.models.iter().for_each(|(k, v)| { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | .filter(|(key, _)| self.models.contains_key(**key)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:112:23 [INFO] [stdout] | [INFO] [stdout] 112 | let quantity = self.models.get(*type_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated field `generation::GenerationSpecification::models`: Model generation has been moved to the `generator` module [INFO] [stdout] --> src/generation.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | let quantity = self.models.get(*type_name).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generation.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ref_types: SyncedVec<(String, (String, RandomData))> = [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generator.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | let mut file = File::create(path).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Iterator` [INFO] [stdout] --> src/specification.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/generator.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/generator.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | _ => None, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/generator.rs:199:4 [INFO] [stdout] | [INFO] [stdout] 199 | _ => {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/generator.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 27 | .filter_map(|(key, data_type)| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `property` [INFO] [stdout] --> src/generator.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | child_models.iter().for_each(|(property, model_type)| { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/generator.rs:243:2 [INFO] [stdout] | [INFO] [stdout] 243 | create_dir_all(&folder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generation.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | let mut ref_types: SyncedVec<(String, (String, RandomData))> = [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/generator.rs:250:8 [INFO] [stdout] | [INFO] [stdout] 250 | let mut file = File::create(path).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generation`, `model` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use mockery::{cli, generation, generator, model}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Specification` [INFO] [stdout] --> src/main.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use mockery::specification::{self, Specification}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `generation`, `model` [INFO] [stdout] --> src/main.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use mockery::{cli, generation, generator, model}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Specification` [INFO] [stdout] --> src/main.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | use mockery::specification::{self, Specification}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/generator.rs:243:2 [INFO] [stdout] | [INFO] [stdout] 243 | create_dir_all(&folder); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 53.18s [INFO] running `Command { std: "docker" "inspect" "4ffaa54f01076339104da315415919e2fffbaf1af470f97b3088dca8cb350ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ffaa54f01076339104da315415919e2fffbaf1af470f97b3088dca8cb350ef8", kill_on_drop: false }` [INFO] [stdout] 4ffaa54f01076339104da315415919e2fffbaf1af470f97b3088dca8cb350ef8