[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Ffastrs" "/workspace/builds/worker-17/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-17/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/fastrs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-17/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d1cfa595ee9db93d1a99410313da1c2732de10732330ecd80490e519222b5fe [INFO] running `Command { std: "docker" "start" "-a" "3d1cfa595ee9db93d1a99410313da1c2732de10732330ecd80490e519222b5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d1cfa595ee9db93d1a99410313da1c2732de10732330ecd80490e519222b5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d1cfa595ee9db93d1a99410313da1c2732de10732330ecd80490e519222b5fe", kill_on_drop: false }` [INFO] [stdout] 3d1cfa595ee9db93d1a99410313da1c2732de10732330ecd80490e519222b5fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 280fe5ee215fbb2ee2ddb02494e36d055d7f6330373054e62bd4ace04378f261 [INFO] running `Command { std: "docker" "start" "-a" "280fe5ee215fbb2ee2ddb02494e36d055d7f6330373054e62bd4ace04378f261", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling bytes v0.5.3 [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 pin-project-lite v0.1.1 [INFO] [stderr] Compiling resiter v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling toml v0.5.5 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [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 tokio v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [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: 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 associated function `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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.42s [INFO] running `Command { std: "docker" "inspect" "280fe5ee215fbb2ee2ddb02494e36d055d7f6330373054e62bd4ace04378f261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "280fe5ee215fbb2ee2ddb02494e36d055d7f6330373054e62bd4ace04378f261", kill_on_drop: false }` [INFO] [stdout] 280fe5ee215fbb2ee2ddb02494e36d055d7f6330373054e62bd4ace04378f261 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7102cc9ed032e1bf7f9b16699d2de2cab42867e2492ba77b288099ccf1e835f [INFO] running `Command { std: "docker" "start" "-a" "e7102cc9ed032e1bf7f9b16699d2de2cab42867e2492ba77b288099ccf1e835f", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling csv-core v0.1.6 [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 associated function `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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling syn v0.14.9 [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: 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: 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 associated function `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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.78s [INFO] running `Command { std: "docker" "inspect" "e7102cc9ed032e1bf7f9b16699d2de2cab42867e2492ba77b288099ccf1e835f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7102cc9ed032e1bf7f9b16699d2de2cab42867e2492ba77b288099ccf1e835f", kill_on_drop: false }` [INFO] [stdout] e7102cc9ed032e1bf7f9b16699d2de2cab42867e2492ba77b288099ccf1e835f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-17/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 25eee35057a43883392d92a4b9df92f9e0f0a5f8a8fc3b4563e9a8cbf50d8c73 [INFO] running `Command { std: "docker" "start" "-a" "25eee35057a43883392d92a4b9df92f9e0f0a5f8a8fc3b4563e9a8cbf50d8c73", kill_on_drop: false }` [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 associated function `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: `fastrs` (lib) generated 4 warnings [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` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] warning: `fastrs` (test "test_config") generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fastrs-008ace118c46f66c) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fastrs-20970650d4917415) [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-906937173865aac9) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/test_config.rs (/opt/rustwide/target/debug/deps/test_config-5ef8b81e5204b483) [INFO] [stdout] [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::it_works2 ... 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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test speculate_0::config_file_verify::test_test_global_integer_can_get_right_value ... ok [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] [stderr] Running tests/test_with_speculate.rs (/opt/rustwide/target/debug/deps/test_with_speculate-1e954a7368183ce5) [INFO] [stdout] test speculate_0::config_file_verify::test_test_ipconf_port_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.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fastrs [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test speculate_0::math::test_can_add_stuff ... ok [INFO] [stdout] test speculate_0::math::test_can_subtract_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] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/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] --> /opt/rustwide/workdir/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" "25eee35057a43883392d92a4b9df92f9e0f0a5f8a8fc3b4563e9a8cbf50d8c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25eee35057a43883392d92a4b9df92f9e0f0a5f8a8fc3b4563e9a8cbf50d8c73", kill_on_drop: false }` [INFO] [stdout] 25eee35057a43883392d92a4b9df92f9e0f0a5f8a8fc3b4563e9a8cbf50d8c73