[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] checking gyc567/fastrs against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Ffastrs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/fastrs on toolchain 5518eaa946291f00471af8b254b2a1715f234882 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "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-6-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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded speculate v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc96e8a6b072ef11fcc4b9359272e7ff868e5bcfb66be0d2e7942311107511ca [INFO] running `Command { std: "docker" "start" "-a" "cc96e8a6b072ef11fcc4b9359272e7ff868e5bcfb66be0d2e7942311107511ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc96e8a6b072ef11fcc4b9359272e7ff868e5bcfb66be0d2e7942311107511ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc96e8a6b072ef11fcc4b9359272e7ff868e5bcfb66be0d2e7942311107511ca", kill_on_drop: false }` [INFO] [stdout] cc96e8a6b072ef11fcc4b9359272e7ff868e5bcfb66be0d2e7942311107511ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26706366224b56d578cae8c34d3611eb3f4e97aa37c0df0336e6482dca3772ba [INFO] running `Command { std: "docker" "start" "-a" "26706366224b56d578cae8c34d3611eb3f4e97aa37c0df0336e6482dca3772ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking resiter v0.4.0 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio-macros v0.2.1 [INFO] [stderr] Checking tokio v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking 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 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: 4 warnings emitted [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: 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: 6 warnings emitted [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.86s [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 1` [INFO] running `Command { std: "docker" "inspect" "26706366224b56d578cae8c34d3611eb3f4e97aa37c0df0336e6482dca3772ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26706366224b56d578cae8c34d3611eb3f4e97aa37c0df0336e6482dca3772ba", kill_on_drop: false }` [INFO] [stdout] 26706366224b56d578cae8c34d3611eb3f4e97aa37c0df0336e6482dca3772ba [INFO] checking gyc567/fastrs against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgyc567%2Ffastrs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gyc567/fastrs on toolchain 7622c0f807a4e13c4db886a1681bf343795692df [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "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-6-tc2/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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65883826d1fc82e159b731306b7ef097273a89418b8cc3d68fab4f705d131ff6 [INFO] running `Command { std: "docker" "start" "-a" "65883826d1fc82e159b731306b7ef097273a89418b8cc3d68fab4f705d131ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65883826d1fc82e159b731306b7ef097273a89418b8cc3d68fab4f705d131ff6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65883826d1fc82e159b731306b7ef097273a89418b8cc3d68fab4f705d131ff6", kill_on_drop: false }` [INFO] [stdout] 65883826d1fc82e159b731306b7ef097273a89418b8cc3d68fab4f705d131ff6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdb2336f66cedbcddf7cedc87f2bd6cfe4dedaf055baa58b7ddd1fd901709b62 [INFO] running `Command { std: "docker" "start" "-a" "fdb2336f66cedbcddf7cedc87f2bd6cfe4dedaf055baa58b7ddd1fd901709b62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking pin-project-lite v0.1.1 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking bstr v0.2.8 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking csv-core v0.1.6 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking resiter v0.4.0 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking csv v1.1.1 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking criterion-plot v0.4.0 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking rand_xoshiro v0.3.1 [INFO] [stderr] Checking rand_os v0.2.2 [INFO] [stderr] Checking tinytemplate v1.0.3 [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] Checking tokio v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Compiling speculate v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking criterion v0.3.0 [INFO] [stderr] Checking 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 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] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/fastrs_config.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_IpConfig` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: requested on the command line with `-D non-local-definitions` [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/fastrs_config.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Conf` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fastrs` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fdb2336f66cedbcddf7cedc87f2bd6cfe4dedaf055baa58b7ddd1fd901709b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdb2336f66cedbcddf7cedc87f2bd6cfe4dedaf055baa58b7ddd1fd901709b62", kill_on_drop: false }` [INFO] [stdout] fdb2336f66cedbcddf7cedc87f2bd6cfe4dedaf055baa58b7ddd1fd901709b62