[INFO] fetching crate libaster 1.2.1... [INFO] checking libaster-1.2.1 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1 [INFO] extracting crate libaster 1.2.1 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libaster 1.2.1 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 crates.io crate libaster 1.2.1 [INFO] finished tweaking crates.io crate libaster 1.2.1 [INFO] tweaked toml for crates.io crate libaster 1.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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] Downloading crates ... [INFO] [stderr] Downloaded inotify-sys v0.1.5 [INFO] [stderr] Downloaded doc-comment v0.3.3 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded hashbrown v0.3.1 [INFO] [stderr] Downloaded sha1 v0.6.1 [INFO] [stderr] Downloaded c_linked_list v1.1.1 [INFO] [stderr] Downloaded actix-server-config v0.1.2 [INFO] [stderr] Downloaded match_cfg v0.1.0 [INFO] [stderr] Downloaded assert2 v0.1.2 [INFO] [stderr] Downloaded actix-threadpool v0.1.2 [INFO] [stderr] Downloaded actix-rt v0.2.6 [INFO] [stderr] Downloaded enum-as-inner v0.2.1 [INFO] [stderr] Downloaded tokio-signal v0.2.9 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded trust-dns-proto v0.7.4 [INFO] [stderr] Downloaded brotli-sys v0.3.2 [INFO] [stderr] Downloaded csv v1.3.0 [INFO] [stderr] Downloaded actix-web v1.0.9 [INFO] [stderr] Downloaded aho-corasick v0.7.20 [INFO] [stderr] Downloaded protobuf v2.28.0 [INFO] [stderr] Downloaded hashbrown v0.6.3 [INFO] [stderr] Downloaded prometheus v0.7.0 [INFO] [stderr] Downloaded base64 v0.10.1 [INFO] [stderr] Downloaded awc v0.2.8 [INFO] [stderr] Downloaded trust-dns-resolver v0.11.1 [INFO] [stderr] Downloaded yaml-rust v0.3.5 [INFO] [stderr] Downloaded csv-core v0.1.11 [INFO] [stderr] Downloaded criterion v0.2.11 [INFO] [stderr] Downloaded sysinfo v0.9.6 [INFO] [stderr] Downloaded actix-web-codegen v0.1.3 [INFO] [stderr] Downloaded actix-router v0.1.5 [INFO] [stderr] Downloaded inotify v0.8.3 [INFO] [stderr] Downloaded actix-connect v0.2.5 [INFO] [stderr] Downloaded widestring v0.4.3 [INFO] [stderr] Downloaded ipconfig v0.2.2 [INFO] [stderr] Downloaded sha1_smol v1.0.0 [INFO] [stderr] Downloaded actix-utils v0.4.7 [INFO] [stderr] Downloaded serde_urlencoded v0.6.1 [INFO] [stderr] Downloaded copyless v0.1.5 [INFO] [stderr] Downloaded criterion-plot v0.3.1 [INFO] [stderr] Downloaded actix-testing v0.1.0 [INFO] [stderr] Downloaded brotli2 v0.3.2 [INFO] [stderr] Downloaded ahash v0.2.19 [INFO] [stderr] Downloaded hostname v0.3.1 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded resolv-conf v0.6.3 [INFO] [stderr] Downloaded get_if_addrs v0.5.3 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded derive_more v0.15.0 [INFO] [stderr] Downloaded btoi v0.4.3 [INFO] [stderr] Downloaded actix-server v0.6.1 [INFO] [stderr] Downloaded rand_xoshiro v0.1.0 [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.1 [INFO] [stderr] Downloaded actix-codec v0.1.2 [INFO] [stderr] Downloaded assert2-macros v0.1.0 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded const-random v0.1.17 [INFO] [stderr] Downloaded md5 v0.6.1 [INFO] [stderr] Downloaded linked-hash-map v0.5.6 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded env_logger v0.6.2 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded actix-service v0.4.2 [INFO] [stderr] Downloaded actix-http v0.2.11 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] ac0920e49568736e0e58e79cce58917e581535352e7c5af267228d849b47a669 [INFO] running `Command { std: "docker" "start" "-a" "ac0920e49568736e0e58e79cce58917e581535352e7c5af267228d849b47a669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0920e49568736e0e58e79cce58917e581535352e7c5af267228d849b47a669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0920e49568736e0e58e79cce58917e581535352e7c5af267228d849b47a669", kill_on_drop: false }` [INFO] [stdout] ac0920e49568736e0e58e79cce58917e581535352e7c5af267228d849b47a669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 56f5e0cfc7d38cb4e0c652adfb38f29dba430c90317b40b0041142b357a8864c [INFO] running `Command { std: "docker" "start" "-a" "56f5e0cfc7d38cb4e0c652adfb38f29dba430c90317b40b0041142b357a8864c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling assert2-macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking inotify v0.8.3 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking backtrace v0.3.69 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking assert2 v0.1.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking libaster v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/protocol/redis/resp.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 509 - static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] 509 + static ref FINDER: AhoCorasick = AhoCorasick::new(PATTERNS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/protocol/redis/resp.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 509 - static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] 509 + static ref FINDER: AhoCorasick = AhoCorasick::new(PATTERNS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let watch_file = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/proxy/cluster/init.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | std::mem::drop(sender); // must drop when the while state is done; [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut futures::unsync::mpsc::Sender` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let watch_file = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/proxy/cluster/init.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | std::mem::drop(sender); // must drop when the while state is done; [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut futures::unsync::mpsc::Sender` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.53s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [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" "56f5e0cfc7d38cb4e0c652adfb38f29dba430c90317b40b0041142b357a8864c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56f5e0cfc7d38cb4e0c652adfb38f29dba430c90317b40b0041142b357a8864c", kill_on_drop: false }` [INFO] [stdout] 56f5e0cfc7d38cb4e0c652adfb38f29dba430c90317b40b0041142b357a8864c [INFO] checking libaster-1.2.1 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1 [INFO] extracting crate libaster 1.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate libaster 1.2.1 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 crates.io crate libaster 1.2.1 [INFO] finished tweaking crates.io crate libaster 1.2.1 [INFO] tweaked toml for crates.io crate libaster 1.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "generate-lockfile" "--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] 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] [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 418b8b6c850a699e93cac39d24e013061d5ef621e180ef17bb9ab1d19e5da86e [INFO] running `Command { std: "docker" "start" "-a" "418b8b6c850a699e93cac39d24e013061d5ef621e180ef17bb9ab1d19e5da86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "418b8b6c850a699e93cac39d24e013061d5ef621e180ef17bb9ab1d19e5da86e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "418b8b6c850a699e93cac39d24e013061d5ef621e180ef17bb9ab1d19e5da86e", kill_on_drop: false }` [INFO] [stdout] 418b8b6c850a699e93cac39d24e013061d5ef621e180ef17bb9ab1d19e5da86e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] fec023e245dbbb905cac7dbd7ea163386fc318d1b8ef06a19d2fba277f0f65ab [INFO] running `Command { std: "docker" "start" "-a" "fec023e245dbbb905cac7dbd7ea163386fc318d1b8ef06a19d2fba277f0f65ab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling assert2-macros v0.1.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking c_linked_list v1.1.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking get_if_addrs v0.5.3 [INFO] [stderr] Checking btoi v0.4.3 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking inotify v0.8.3 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking md5 v0.6.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking hashbrown v0.3.1 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking backtrace v0.3.69 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking assert2 v0.1.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking libaster v1.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/protocol/redis/resp.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 509 - static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] 509 + static ref FINDER: AhoCorasick = AhoCorasick::new(PATTERNS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let watch_file = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/com.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_AsError` [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 `Fail` (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/com.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_AsError` [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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/proxy/cluster/init.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | std::mem::drop(sender); // must drop when the while state is done; [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut futures::unsync::mpsc::Sender` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libaster` (lib) due to 3 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> src/protocol/redis/resp.rs:509:38 [INFO] [stdout] | [INFO] [stdout] 509 | static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 509 - static ref FINDER: AhoCorasick = { AhoCorasick::new(PATTERNS) }; [INFO] [stdout] 509 + static ref FINDER: AhoCorasick = AhoCorasick::new(PATTERNS); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | let watch_file = config.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` 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/com.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_AsError` [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 `Fail` (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/com.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Fail)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_AsError` [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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/proxy/cluster/init.rs:99:21 [INFO] [stdout] | [INFO] [stdout] 99 | std::mem::drop(sender); // must drop when the while state is done; [INFO] [stdout] | ^^^^^^^^^^^^^^^------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut futures::unsync::mpsc::Sender` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `libaster` (lib test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fec023e245dbbb905cac7dbd7ea163386fc318d1b8ef06a19d2fba277f0f65ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec023e245dbbb905cac7dbd7ea163386fc318d1b8ef06a19d2fba277f0f65ab", kill_on_drop: false }` [INFO] [stdout] fec023e245dbbb905cac7dbd7ea163386fc318d1b8ef06a19d2fba277f0f65ab