[INFO] fetching crate mockery 0.2.1...
[INFO] checking mockery-0.2.1 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback
[INFO] extracting crate mockery 0.2.1 into /workspace/builds/worker-3-tc1/source
[INFO] validating manifest of crates.io crate mockery 0.2.1 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc1/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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded serde_derive v1.0.103
[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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 598b28d9c430f77805b82371ed77e0272b0aa129dd7e41e06065a8bb0ed51703
[INFO] running `Command { std: "docker" "start" "-a" "598b28d9c430f77805b82371ed77e0272b0aa129dd7e41e06065a8bb0ed51703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "598b28d9c430f77805b82371ed77e0272b0aa129dd7e41e06065a8bb0ed51703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "598b28d9c430f77805b82371ed77e0272b0aa129dd7e41e06065a8bb0ed51703", kill_on_drop: false }`
[INFO] [stdout] 598b28d9c430f77805b82371ed77e0272b0aa129dd7e41e06065a8bb0ed51703
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 63ffb93cc7760601c9cf7666e2ff4b4f9ec003bc6f0e3da89eea814db1912aa9
[INFO] running `Command { std: "docker" "start" "-a" "63ffb93cc7760601c9cf7666e2ff4b4f9ec003bc6f0e3da89eea814db1912aa9", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.66
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Compiling semver-parser v0.7.0
[INFO] [stderr] Compiling byteorder v1.3.2
[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 unicode-xid v0.2.0
[INFO] [stderr] Compiling serde v1.0.103
[INFO] [stderr] Compiling semver v0.9.0
[INFO] [stderr] Compiling crossbeam-utils v0.7.0
[INFO] [stderr] Compiling crossbeam-epoch v0.8.0
[INFO] [stderr] Compiling syn v1.0.11
[INFO] [stderr] Compiling rustc_version v0.2.3
[INFO] [stderr] Compiling num-traits v0.2.10
[INFO] [stderr] Compiling cc v1.0.48
[INFO] [stderr] Checking scopeguard v1.0.0
[INFO] [stderr] Compiling memoffset v0.5.3
[INFO] [stderr] Checking ppv-lite86 v0.2.6
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Checking c2-chacha v0.2.3
[INFO] [stderr] Compiling num-integer v0.1.41
[INFO] [stderr] Checking itoa v0.4.4
[INFO] [stderr] Compiling rayon-core v1.6.1
[INFO] [stderr] Compiling ryu v1.0.2
[INFO] [stderr] Checking crossbeam-deque v0.7.2
[INFO] [stderr] Checking rand_chacha v0.2.1
[INFO] [stderr] Checking iovec v0.1.4
[INFO] [stderr] Checking num_cpus v1.11.1
[INFO] [stderr] Checking crossbeam-queue v0.2.0
[INFO] [stderr] Compiling failure_derive v0.1.6
[INFO] [stderr] Checking bytes v0.4.12
[INFO] [stderr] Compiling backtrace-sys v0.1.32
[INFO] [stderr] Checking rand v0.7.2
[INFO] [stderr] Checking time v0.1.42
[INFO] [stderr] Checking regex-automata v0.1.8
[INFO] [stderr] Checking fnv v1.0.6
[INFO] [stderr] Checking unicode-width v0.1.7
[INFO] [stderr] Checking http v0.1.21
[INFO] [stderr] Checking rayon v1.2.1
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking csv-core v0.1.6
[INFO] [stderr] Checking aho-corasick v0.7.6
[INFO] [stderr] Checking atty v0.2.13
[INFO] [stderr] Checking regex-syntax v0.6.12
[INFO] [stderr] Checking vec_map v0.8.1
[INFO] [stderr] Checking clap v2.33.0
[INFO] [stderr] Checking backtrace v0.3.40
[INFO] [stderr] Checking uuid v0.8.1
[INFO] [stderr] Compiling synstructure v0.12.3
[INFO] [stderr] Checking rayon-hash v0.5.0
[INFO] [stderr] Checking bstr v0.2.8
[INFO] [stderr] Checking chrono v0.4.10
[INFO] [stderr] Checking csv v1.1.1
[INFO] [stderr] Checking serde_json v1.0.44
[INFO] [stderr] Compiling serde_derive v1.0.103
[INFO] [stderr] Checking fake v2.2.0
[INFO] [stderr] Checking regex v1.3.1
[INFO] [stderr] Checking failure v0.1.6
[INFO] [stderr] Checking mockery v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the item `Default` is imported redundantly
[INFO] [stdout] --> src/cli.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::default::Default;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `Default` is already defined here
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[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]
[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: the item `uuid` is imported redundantly
[INFO] [stdout] --> src/datatypes.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use uuid;
[INFO] [stdout] | ^^^^ the item `uuid` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `GenerationSpecification` is imported redundantly
[INFO] [stdout] --> src/generation.rs:60:26
[INFO] [stdout] |
[INFO] [stdout] 57 | use super::*;
[INFO] [stdout] | -------- the item `GenerationSpecification` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 60 | use crate::generation::{GenerationSpecification, OutputType};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `OutputType` is imported redundantly
[INFO] [stdout] --> src/generation.rs:60:51
[INFO] [stdout] |
[INFO] [stdout] 57 | use super::*;
[INFO] [stdout] | -------- the item `OutputType` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 60 | use crate::generation::{GenerationSpecification, OutputType};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `ModelMap` is imported redundantly
[INFO] [stdout] --> src/generation.rs:61:28
[INFO] [stdout] |
[INFO] [stdout] 57 | use super::*;
[INFO] [stdout] | -------- the item `ModelMap` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 61 | use crate::model::{Model, ModelMap};
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout] --> src/generation.rs:63:6
[INFO] [stdout] |
[INFO] [stdout] 63 | use std::convert::AsRef;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `AsRef` is already defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout] --> src/model.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::string::ToString;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `ToString` is already defined here
[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: the item `Default` is imported redundantly
[INFO] [stdout] --> src/cli.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::default::Default;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `Default` is already defined here
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[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: the item `Iterator` is imported redundantly
[INFO] [stdout] --> src/specification.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::iter::Iterator;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `Iterator` is already defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout] --> src/specification.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::string::ToString;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `ToString` is already defined here
[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]
[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::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: the item `AsRef` is imported redundantly
[INFO] [stdout] --> src/specification.rs:59:6
[INFO] [stdout] |
[INFO] [stdout] 59 | use std::convert::AsRef;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `AsRef` is already defined here
[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: the item `uuid` is imported redundantly
[INFO] [stdout] --> src/datatypes.rs:6:5
[INFO] [stdout] |
[INFO] [stdout] 6 | use uuid;
[INFO] [stdout] | ^^^^ the item `uuid` is already defined by prelude
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `GenerationSpecification` is imported redundantly
[INFO] [stdout] --> src/generation.rs:60:26
[INFO] [stdout] |
[INFO] [stdout] 57 | use super::*;
[INFO] [stdout] | -------- the item `GenerationSpecification` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 60 | use crate::generation::{GenerationSpecification, OutputType};
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `OutputType` is imported redundantly
[INFO] [stdout] --> src/generation.rs:60:51
[INFO] [stdout] |
[INFO] [stdout] 57 | use super::*;
[INFO] [stdout] | -------- the item `OutputType` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 60 | use crate::generation::{GenerationSpecification, OutputType};
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `ModelMap` is imported redundantly
[INFO] [stdout] --> src/generation.rs:61:28
[INFO] [stdout] |
[INFO] [stdout] 57 | use super::*;
[INFO] [stdout] | -------- the item `ModelMap` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 61 | use crate::model::{Model, ModelMap};
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `AsRef` is imported redundantly
[INFO] [stdout] --> src/generation.rs:63:6
[INFO] [stdout] |
[INFO] [stdout] 63 | use std::convert::AsRef;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `AsRef` is already defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout] --> src/model.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::string::ToString;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `ToString` is already defined here
[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: the item `Iterator` is imported redundantly
[INFO] [stdout] --> src/specification.rs:3:5
[INFO] [stdout] |
[INFO] [stdout] 3 | use std::iter::Iterator;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `Iterator` is already defined here
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout] --> src/specification.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use std::string::ToString;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `ToString` is already defined here
[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: the item `AsRef` is imported redundantly
[INFO] [stdout] --> src/specification.rs:59:6
[INFO] [stdout] |
[INFO] [stdout] 59 | use std::convert::AsRef;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] --> /rustc/ceab6128fa48a616bfd3e3adf4bc80133b8ee223/library/std/src/prelude/mod.rs:134:13
[INFO] [stdout] |
[INFO] [stdout] = note: the item `AsRef` is already defined here
[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:12:12
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct 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:16:6
[INFO] [stdout] |
[INFO] [stdout] 16 | 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: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:12:12
[INFO] [stdout] |
[INFO] [stdout] 12 | pub struct 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:16:6
[INFO] [stdout] |
[INFO] [stdout] 16 | 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: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]
[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: 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/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: 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: 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: 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: 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: 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: `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: 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: field `model` is never read
[INFO] [stdout] --> src/generator.rs:64:2
[INFO] [stdout] |
[INFO] [stdout] 63 | struct GenData {
[INFO] [stdout] | ------- field in this struct
[INFO] [stdout] 64 | model: Model,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `GenData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/generator.rs:177:5
[INFO] [stdout] |
[INFO] [stdout] 177 | &model_data.insert(property.clone(), data);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 177 | let _ = &model_data.insert(property.clone(), data);
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/generator.rs:194:7
[INFO] [stdout] |
[INFO] [stdout] 194 | &model_data.insert(property.clone(), data.clone());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 194 | let _ = &model_data.insert(property.clone(), data.clone());
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: field `model` is never read
[INFO] [stdout] --> src/generator.rs:64:2
[INFO] [stdout] |
[INFO] [stdout] 63 | struct GenData {
[INFO] [stdout] | ------- field in this struct
[INFO] [stdout] 64 | model: Model,
[INFO] [stdout] | ^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `GenData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/generator.rs:177:5
[INFO] [stdout] |
[INFO] [stdout] 177 | &model_data.insert(property.clone(), data);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 177 | let _ = &model_data.insert(property.clone(), data);
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout] --> src/generator.rs:194:7
[INFO] [stdout] |
[INFO] [stdout] 194 | &model_data.insert(property.clone(), data.clone());
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout] |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 194 | let _ = &model_data.insert(property.clone(), data.clone());
[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: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 243 | let _ = create_dir_all(&folder);
[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: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout] |
[INFO] [stdout] 243 | let _ = create_dir_all(&folder);
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 45 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 45 warnings emitted
[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: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.71s
[INFO] running `Command { std: "docker" "inspect" "63ffb93cc7760601c9cf7666e2ff4b4f9ec003bc6f0e3da89eea814db1912aa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "63ffb93cc7760601c9cf7666e2ff4b4f9ec003bc6f0e3da89eea814db1912aa9", kill_on_drop: false }`
[INFO] [stdout] 63ffb93cc7760601c9cf7666e2ff4b4f9ec003bc6f0e3da89eea814db1912aa9
[INFO] checking mockery-0.2.1 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback
[INFO] extracting crate mockery 0.2.1 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate mockery 0.2.1 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-3-tc2/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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6aa5d0a4d9a7cc4c2f4633f18fef62e90728b29185f5c34b7ad36ee0b6057c57
[INFO] running `Command { std: "docker" "start" "-a" "6aa5d0a4d9a7cc4c2f4633f18fef62e90728b29185f5c34b7ad36ee0b6057c57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6aa5d0a4d9a7cc4c2f4633f18fef62e90728b29185f5c34b7ad36ee0b6057c57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6aa5d0a4d9a7cc4c2f4633f18fef62e90728b29185f5c34b7ad36ee0b6057c57", kill_on_drop: false }`
[INFO] [stdout] 6aa5d0a4d9a7cc4c2f4633f18fef62e90728b29185f5c34b7ad36ee0b6057c57
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 37f41c487888041424adde9374160cd1f83e73c76c73b6ec614af81108b151b1
[INFO] running `Command { std: "docker" "start" "-a" "37f41c487888041424adde9374160cd1f83e73c76c73b6ec614af81108b151b1", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.66
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Compiling semver-parser v0.7.0
[INFO] [stderr] Compiling byteorder v1.3.2
[INFO] [stderr] Compiling proc-macro2 v1.0.6
[INFO] [stderr] Compiling memchr v2.2.1
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling getrandom v0.1.13
[INFO] [stderr] Compiling serde v1.0.103
[INFO] [stderr] Compiling semver v0.9.0
[INFO] [stderr] Compiling crossbeam-utils v0.7.0
[INFO] [stderr] Compiling crossbeam-epoch v0.8.0
[INFO] [stderr] Compiling syn v1.0.11
[INFO] [stderr] Compiling rustc_version v0.2.3
[INFO] [stderr] Compiling memoffset v0.5.3
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Compiling num-traits v0.2.10
[INFO] [stderr] Checking ppv-lite86 v0.2.6
[INFO] [stderr] Compiling cc v1.0.48
[INFO] [stderr] Checking scopeguard v1.0.0
[INFO] [stderr] Checking rand_core v0.5.1
[INFO] [stderr] Compiling num-integer v0.1.41
[INFO] [stderr] Compiling rayon-core v1.6.1
[INFO] [stderr] Checking itoa v0.4.4
[INFO] [stderr] Checking c2-chacha v0.2.3
[INFO] [stderr] Compiling ryu v1.0.2
[INFO] [stderr] Checking rand_chacha v0.2.1
[INFO] [stderr] Checking crossbeam-deque v0.7.2
[INFO] [stderr] Checking crossbeam-queue v0.2.0
[INFO] [stderr] Checking iovec v0.1.4
[INFO] [stderr] Checking num_cpus v1.11.1
[INFO] [stderr] Compiling failure_derive v0.1.6
[INFO] [stderr] Checking bytes v0.4.12
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 335 | buf_get_impl!(self, 2, BigEndian::read_u16);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 356 | buf_get_impl!(self, 2, LittleEndian::read_u16);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 385 | buf_get_impl!(self, 2, BigEndian::read_i16);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 406 | buf_get_impl!(self, 2, LittleEndian::read_i16);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 435 | buf_get_impl!(self, 4, BigEndian::read_u32);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 456 | buf_get_impl!(self, 4, LittleEndian::read_u32);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 485 | buf_get_impl!(self, 4, BigEndian::read_i32);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 506 | buf_get_impl!(self, 4, LittleEndian::read_i32);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 535 | buf_get_impl!(self, 8, BigEndian::read_u64);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 556 | buf_get_impl!(self, 8, LittleEndian::read_u64);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 585 | buf_get_impl!(self, 8, BigEndian::read_i64);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 606 | buf_get_impl!(self, 8, LittleEndian::read_i64);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 828 | buf_get_impl!(self, 4, BigEndian::read_f32);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 850 | buf_get_impl!(self, 4, LittleEndian::read_f32);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 880 | buf_get_impl!(self, 8, BigEndian::read_f64);
[INFO] [stdout] | ------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0284]: type annotations needed: cannot satisfy `_ -> _`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-0.4.12/src/buf/buf.rs:19:9
[INFO] [stdout] |
[INFO] [stdout] 19 | / if let Some(ret) = ret {
[INFO] [stdout] 20 | | // if the direct convertion was possible, advance and return
[INFO] [stdout] 21 | | $this.advance($size);
[INFO] [stdout] 22 | | return ret;
[INFO] [stdout] ... |
[INFO] [stdout] 27 | | return $conv(&buf);
[INFO] [stdout] 28 | | }
[INFO] [stdout] | |_________^ cannot satisfy `_ -> _`
[INFO] [stdout] ...
[INFO] [stdout] 902 | buf_get_impl!(self, 8, LittleEndian::read_f64);
[INFO] [stdout] | ---------------------------------------------- in this macro invocation
[INFO] [stdout] |
[INFO] [stdout] = note: this error originates in the macro `buf_get_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Checking rand v0.7.2
[INFO] [stderr] Checking time v0.1.42
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] For more information about this error, try `rustc --explain E0284`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `bytes` (lib) due to 17 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "37f41c487888041424adde9374160cd1f83e73c76c73b6ec614af81108b151b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37f41c487888041424adde9374160cd1f83e73c76c73b6ec614af81108b151b1", kill_on_drop: false }`
[INFO] [stdout] 37f41c487888041424adde9374160cd1f83e73c76c73b6ec614af81108b151b1