[INFO] fetching crate mockery 0.2.1...
[INFO] checking mockery-0.2.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3
[INFO] extracting crate mockery 0.2.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate mockery 0.2.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0/source/rust-toolchain
[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-0/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded fake v2.2.0
[INFO] [stderr] Downloaded rayon-hash v0.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 940c218aa98a217bb96226856338c42101b1687db231e757f43a469445013387
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "940c218aa98a217bb96226856338c42101b1687db231e757f43a469445013387", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "940c218aa98a217bb96226856338c42101b1687db231e757f43a469445013387", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "940c218aa98a217bb96226856338c42101b1687db231e757f43a469445013387", kill_on_drop: false }`
[INFO] [stdout] 940c218aa98a217bb96226856338c42101b1687db231e757f43a469445013387
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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] 58c3facb873277e405a17fb65b1befd59967d1704794a521eaba9f566bb44456
[INFO] running `Command { std: "docker" "start" "-a" "58c3facb873277e405a17fb65b1befd59967d1704794a521eaba9f566bb44456", kill_on_drop: false }`
[INFO] [stderr] Copying to /tmp/fixit
[INFO] [stderr] Running `cargo fix --edition`
[INFO] [stderr] Compiling serde v1.0.103
[INFO] [stderr] Compiling memchr v2.2.1
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.11
[INFO] [stderr] Compiling cc v1.0.48
[INFO] [stderr] Compiling rayon-core v1.6.1
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Checking rustc-demangle v0.1.16
[INFO] [stderr] Checking regex-syntax v0.6.12
[INFO] [stderr] Checking ansi_term v0.11.0
[INFO] [stderr] Checking strsim v0.8.0
[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] Compiling proc-macro2 v1.0.6
[INFO] [stderr] Checking getrandom v0.1.13
[INFO] [stderr] Checking num_cpus v1.11.1
[INFO] [stderr] Checking atty v0.2.13
[INFO] [stderr] Compiling memoffset v0.5.3
[INFO] [stderr] Checking http v0.1.21
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Checking rand_chacha v0.2.1
[INFO] [stderr] Checking clap v2.33.0
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Checking rand v0.7.2
[INFO] [stderr] Checking crossbeam-queue v0.2.0
[INFO] [stderr] Checking aho-corasick v0.7.6
[INFO] [stderr] Checking csv-core v0.1.6
[INFO] [stderr] Compiling backtrace-sys v0.1.32
[INFO] [stderr] Checking crossbeam-deque v0.7.2
[INFO] [stderr] Checking regex v1.3.1
[INFO] [stderr] Checking rayon v1.2.1
[INFO] [stderr] Checking uuid v0.8.1
[INFO] [stderr] Checking backtrace v0.3.40
[INFO] [stderr] Checking rayon-hash v0.5.0
[INFO] [stderr] Compiling synstructure v0.12.3
[INFO] [stderr] Checking bstr v0.2.8
[INFO] [stderr] Checking chrono v0.4.10
[INFO] [stderr] Checking serde_json v1.0.44
[INFO] [stderr] Checking csv v1.1.1
[INFO] [stderr] Checking fake v2.2.0
[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 (/tmp/fixit)
[INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr] Fixed src/generator.rs (11 fixes)
[INFO] [stderr] Fixed src/generation.rs (1 fix)
[INFO] [stderr] Fixed src/datatypes.rs (2 fixes)
[INFO] [stderr] Fixed src/specification.rs (5 fixes)
[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 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: 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: 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] = note: `#[warn(unused_imports)]` on by default
[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: 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: 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: 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: 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] = note: `#[warn(unused_imports)]` on by default
[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 `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: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `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: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr] Fixed src/main.rs (2 fixes)
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] [stderr] Running `cargo check` to verify 2021
[INFO] [stderr] Checking mockery v0.2.1 (/tmp/fixit)
[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 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: 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] = note: `#[warn(unused_imports)]` on by default
[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] = note: `#[warn(unused_imports)]` on by default
[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: 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 `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: unused `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: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.01s
[INFO] running `Command { std: "docker" "inspect" "58c3facb873277e405a17fb65b1befd59967d1704794a521eaba9f566bb44456", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58c3facb873277e405a17fb65b1befd59967d1704794a521eaba9f566bb44456", kill_on_drop: false }`
[INFO] [stdout] 58c3facb873277e405a17fb65b1befd59967d1704794a521eaba9f566bb44456