[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.59.0 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-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/fastrs on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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-13/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded tinytemplate v1.0.3 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] [stderr] Downloaded tokio-macros v0.2.1 [INFO] [stderr] Downloaded resiter v0.4.0 [INFO] [stderr] Downloaded tokio v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a231b7385eed9cfc3ab54e8075a04206da55e38d600cfd99353b5c212a3f5eee [INFO] running `Command { std: "docker" "start" "-a" "a231b7385eed9cfc3ab54e8075a04206da55e38d600cfd99353b5c212a3f5eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a231b7385eed9cfc3ab54e8075a04206da55e38d600cfd99353b5c212a3f5eee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a231b7385eed9cfc3ab54e8075a04206da55e38d600cfd99353b5c212a3f5eee", kill_on_drop: false }` [INFO] [stdout] a231b7385eed9cfc3ab54e8075a04206da55e38d600cfd99353b5c212a3f5eee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a78191cee8a822cdafc8da42d8234da9751e60bb79222f535d2eef8a9280971 [INFO] running `Command { std: "docker" "start" "-a" "5a78191cee8a822cdafc8da42d8234da9751e60bb79222f535d2eef8a9280971", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling smallvec v1.1.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling resiter v0.4.0 [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 unicase v1.4.2 [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 memoffset v0.5.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicode-normalization v0.1.11 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling toml v0.5.5 [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 15.85s [INFO] running `Command { std: "docker" "inspect" "5a78191cee8a822cdafc8da42d8234da9751e60bb79222f535d2eef8a9280971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a78191cee8a822cdafc8da42d8234da9751e60bb79222f535d2eef8a9280971", kill_on_drop: false }` [INFO] [stdout] 5a78191cee8a822cdafc8da42d8234da9751e60bb79222f535d2eef8a9280971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb57d9c55380eb930b25b7e97ecb0beb731efeee5bcc1a8707ddf847c994e82d [INFO] running `Command { std: "docker" "start" "-a" "cb57d9c55380eb930b25b7e97ecb0beb731efeee5bcc1a8707ddf847c994e82d", 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 itoa v0.4.4 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling rayon-core v1.7.0 [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 walkdir v2.2.9 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling criterion-plot v0.4.0 [INFO] [stderr] Compiling rand_xoshiro v0.3.1 [INFO] [stderr] Compiling rand_os v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling csv v1.1.1 [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: 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 `#[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: 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.53s [INFO] running `Command { std: "docker" "inspect" "cb57d9c55380eb930b25b7e97ecb0beb731efeee5bcc1a8707ddf847c994e82d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb57d9c55380eb930b25b7e97ecb0beb731efeee5bcc1a8707ddf847c994e82d", kill_on_drop: false }` [INFO] [stdout] cb57d9c55380eb930b25b7e97ecb0beb731efeee5bcc1a8707ddf847c994e82d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e849fab5688283e57b81c8278693a06718b6de464ed4c421fd159226816cce5b [INFO] running `Command { std: "docker" "start" "-a" "e849fab5688283e57b81c8278693a06718b6de464ed4c421fd159226816cce5b", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/fastrs_config.rs:18:42 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 18 | pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] [INFO] [stderr] | ^ ^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 0 tests [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stderr] help: remove these parentheses [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 18 - pub fn load_config(path: &str) -> Result<(Conf), &str> { [INFO] [stdout] [INFO] [stderr] 18 + pub fn load_config(path: &str) -> Result { [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test tests::it_works ... ok [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` (test "test_config") generated 6 warnings [INFO] [stderr] warning: `fastrs` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fastrs-8fe2bfcfc2f62222) [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fastrs-37e26814c4ebd670) [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-e01531cf903d4be0) [INFO] [stdout] test tests::it_works2 ... ok [INFO] [stderr] Running tests/test_config.rs (/opt/rustwide/target/debug/deps/test_config-9e26ca81ed525dfb) [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_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] [stderr] Running tests/test_with_speculate.rs (/opt/rustwide/target/debug/deps/test_with_speculate-37f60c461040f776) [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_global_integer_can_get_right_value ... ok [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.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test speculate_0::math::test_can_subtract_stuff ... ok [INFO] [stderr] Doc-tests fastrs [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] 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" "e849fab5688283e57b81c8278693a06718b6de464ed4c421fd159226816cce5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e849fab5688283e57b81c8278693a06718b6de464ed4c421fd159226816cce5b", kill_on_drop: false }` [INFO] [stdout] e849fab5688283e57b81c8278693a06718b6de464ed4c421fd159226816cce5b