[INFO] cloning repository https://github.com/gyc567/fastrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gyc567/fastrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Ffastrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Ffastrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e60b973ba9359024f586fbd69eb04549ad47d0b8 [INFO] testing gyc567/fastrs against 1.86.0 for beta-1.87-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Ffastrs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/fastrs on toolchain 1.86.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.86.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gyc567/fastrs [INFO] finished tweaking git repo https://github.com/gyc567/fastrs [INFO] tweaked toml for git repo https://github.com/gyc567/fastrs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gyc567/fastrs 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" "+1.86.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.1 [INFO] [stderr] Downloaded toml v0.5.5 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded fnv v1.0.6 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded either v1.5.3 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded unicode-width v0.1.7 [INFO] [stderr] Downloaded cast v0.2.3 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded unicode-normalization v0.1.11 [INFO] [stderr] Downloaded rayon v1.3.0 [INFO] [stderr] Downloaded crossbeam-channel v0.4.0 [INFO] [stderr] Downloaded bstr v0.2.8 [INFO] [stderr] Downloaded itertools v0.8.2 [INFO] [stderr] Downloaded regex-automata v0.1.8 [INFO] [stderr] Downloaded serde_json v1.0.44 [INFO] [stderr] Downloaded clap v2.33.0 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded criterion v0.3.0 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded regex v1.3.1 [INFO] [stderr] Downloaded mio-named-pipes v0.1.6 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded criterion-plot v0.4.0 [INFO] [stderr] Downloaded csv-core v0.1.6 [INFO] [stderr] Downloaded csv v1.1.1 [INFO] [stderr] Downloaded mio v0.6.21 [INFO] [stderr] Downloaded hermit-abi v0.1.5 [INFO] [stderr] Downloaded rand_xoshiro v0.3.1 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded rand_os v0.2.2 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded rayon-core v1.7.0 [INFO] [stderr] Downloaded crossbeam-deque v0.7.2 [INFO] [stderr] Downloaded bytes v0.5.3 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.8.0 [INFO] [stderr] Downloaded crossbeam-queue v0.2.1 [INFO] [stderr] Downloaded crossbeam-utils v0.7.0 [INFO] [stderr] Downloaded crossbeam v0.7.3 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded pin-utils v0.1.0-alpha.4 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded num-traits v0.2.10 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded resiter v0.4.0 [INFO] [stderr] Downloaded socket2 v0.3.11 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded net2 v0.2.33 [INFO] [stderr] Downloaded num_cpus v1.11.1 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded memoffset v0.5.3 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded wincolor v1.0.2 [INFO] [stderr] Downloaded serde_derive v1.0.104 [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded arc-swap v0.4.4 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded mio-uds v0.6.7 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded tokio v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1d20d6b8e0cbf037cd3af9a05763b96b8de199caaf8ea0f0b306e702e63930be [INFO] running `Command { std: "docker" "start" "-a" "1d20d6b8e0cbf037cd3af9a05763b96b8de199caaf8ea0f0b306e702e63930be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1d20d6b8e0cbf037cd3af9a05763b96b8de199caaf8ea0f0b306e702e63930be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d20d6b8e0cbf037cd3af9a05763b96b8de199caaf8ea0f0b306e702e63930be", kill_on_drop: false }` [INFO] [stdout] 1d20d6b8e0cbf037cd3af9a05763b96b8de199caaf8ea0f0b306e702e63930be [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63ed56e51b40463d9e083d09faec7723ee3275a5c5673f22434bae70a683b971 [INFO] running `Command { std: "docker" "start" "-a" "63ed56e51b40463d9e083d09faec7723ee3275a5c5673f22434bae70a683b971", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling resiter v0.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling fastrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/fastrs_config.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] 18 + pub fn load_config(path: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/fastrs_config.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((config)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - Ok((config)) [INFO] [stdout] 32 + Ok(config) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fastrs_config.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IpConfig` [INFO] [stdout] 6 | pub struct IpConfig { [INFO] [stdout] | -------- `IpConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 13 | pub struct Conf { [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.70s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "63ed56e51b40463d9e083d09faec7723ee3275a5c5673f22434bae70a683b971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63ed56e51b40463d9e083d09faec7723ee3275a5c5673f22434bae70a683b971", kill_on_drop: false }` [INFO] [stdout] 63ed56e51b40463d9e083d09faec7723ee3275a5c5673f22434bae70a683b971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8d606879fc81de93c1755f6fac3f176bad1d9c4e1cd2389e56d0fe1e05939ca [INFO] running `Command { std: "docker" "start" "-a" "a8d606879fc81de93c1755f6fac3f176bad1d9c4e1cd2389e56d0fe1e05939ca", kill_on_drop: false }` [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/fastrs_config.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] 18 + pub fn load_config(path: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/fastrs_config.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((config)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - Ok((config)) [INFO] [stdout] 32 + Ok(config) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fastrs_config.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IpConfig` [INFO] [stdout] 6 | pub struct IpConfig { [INFO] [stdout] | -------- `IpConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 13 | pub struct Conf { [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling tinytemplate v1.0.3 [INFO] [stderr] Compiling criterion v0.3.0 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Compiling fastrs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> tests/test_config.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> tests/test_config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> tests/test_config.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/fastrs_config.rs:18:42 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] 18 + pub fn load_config(path: &str) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/fastrs_config.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | Ok((config)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - Ok((config)) [INFO] [stdout] 32 + Ok(config) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> tests/test_config.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let name=ip_conf.name; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ip` [INFO] [stdout] --> tests/test_config.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let ip=ip_conf.ip; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `port` [INFO] [stdout] --> tests/test_config.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let port =ip_conf.port; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:71:23 [INFO] [stdout] | [INFO] [stdout] 71 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/fastrs_config.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IpConfig` [INFO] [stdout] 6 | pub struct IpConfig { [INFO] [stdout] | -------- `IpConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] 13 | pub struct Conf { [INFO] [stdout] | ---- `Conf` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 18.80s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, syn v0.14.9, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a8d606879fc81de93c1755f6fac3f176bad1d9c4e1cd2389e56d0fe1e05939ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d606879fc81de93c1755f6fac3f176bad1d9c4e1cd2389e56d0fe1e05939ca", kill_on_drop: false }` [INFO] [stdout] a8d606879fc81de93c1755f6fac3f176bad1d9c4e1cd2389e56d0fe1e05939ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1.86.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 783852cc2dce21a1fc7059f967f9ff07c5fac85d9123903c8d6e79d1ef87d603 [INFO] running `Command { std: "docker" "start" "-a" "783852cc2dce21a1fc7059f967f9ff07c5fac85d9123903c8d6e79d1ef87d603", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fastrs_config.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/fastrs_config.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/fastrs_config.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 18 - pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stderr] 18 + pub fn load_config(path: &str) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/fastrs_config.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | Ok((config)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 32 - Ok((config)) [INFO] [stderr] 32 + Ok(config) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:71:23 [INFO] [stderr] | [INFO] [stderr] 71 | e.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `path` [INFO] [stderr] --> src/fastrs_config.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fastrs_config.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_IpConfig` [INFO] [stderr] 6 | pub struct IpConfig { [INFO] [stderr] | -------- `IpConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/fastrs_config.rs:12:10 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stderr] 13 | pub struct Conf { [INFO] [stderr] | ---- `Conf` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `fastrs` (lib) generated 8 warnings (run `cargo fix --lib -p fastrs` to apply 2 suggestions) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> tests/test_config.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> tests/test_config.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::prelude::*` [INFO] [stderr] --> tests/test_config.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> tests/test_config.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | let name=ip_conf.name; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ip` [INFO] [stderr] --> tests/test_config.rs:40:17 [INFO] [stderr] | [INFO] [stderr] 40 | let ip=ip_conf.ip; [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_ip` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `port` [INFO] [stderr] --> tests/test_config.rs:41:18 [INFO] [stderr] | [INFO] [stderr] 41 | let port =ip_conf.port; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_port` [INFO] [stderr] [INFO] [stderr] warning: `fastrs` (test "test_config") generated 6 warnings (run `cargo fix --test "test_config"` to apply 2 suggestions) [INFO] [stderr] warning: `fastrs` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.0, syn v0.14.9, traitobject v0.1.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fastrs-6c1bf2fb9ed2e9ec) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/fastrs-d0aecdd7aa4d1688) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-1040bdb57ad6d8cc) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works2 ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_config.rs (/opt/rustwide/target/debug/deps/test_config-425307ada5e60608) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test speculate_0::config_file_verify::test_test_ipconf_name_can_get_right_value ... ok [INFO] [stdout] test speculate_0::config_file_verify::test_test_ipconf_ip_can_get_right_value ... ok [INFO] [stdout] test speculate_0::config_file_verify::test_test_global_string_can_get_right_value ... ok [INFO] [stdout] test speculate_0::config_file_verify::test_test_ipconf_port_can_get_right_value ... ok [INFO] [stdout] test speculate_0::config_file_verify::test_test_global_integer_can_get_right_value ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/test_with_speculate.rs (/opt/rustwide/target/debug/deps/test_with_speculate-98efe993aaeeb13b) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test speculate_0::math::test_can_subtract_stuff ... ok [INFO] [stdout] test speculate_0::math::test_can_add_stuff ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fastrs [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/fastrs_config.rs:18:42 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 18 - pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stderr] 18 + pub fn load_config(path: &str) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/fastrs_config.rs:32:8 [INFO] [stderr] | [INFO] [stderr] 32 | Ok((config)) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 32 - Ok((config)) [INFO] [stderr] 32 + Ok(config) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "783852cc2dce21a1fc7059f967f9ff07c5fac85d9123903c8d6e79d1ef87d603", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783852cc2dce21a1fc7059f967f9ff07c5fac85d9123903c8d6e79d1ef87d603", kill_on_drop: false }` [INFO] [stdout] 783852cc2dce21a1fc7059f967f9ff07c5fac85d9123903c8d6e79d1ef87d603