[INFO] fetching crate futures-rate 0.1.5... [INFO] checking futures-rate-0.1.5 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate futures-rate 0.1.5 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate futures-rate 0.1.5 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate futures-rate 0.1.5 [INFO] finished tweaking crates.io crate futures-rate 0.1.5 [INFO] tweaked toml for crates.io crate futures-rate 0.1.5 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate crates.io crate futures-rate 0.1.5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ed0fda0b0e1be6346fa3333ab8aa4075b828de34f149c6b0fa50da2a6b8d28c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4ed0fda0b0e1be6346fa3333ab8aa4075b828de34f149c6b0fa50da2a6b8d28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ed0fda0b0e1be6346fa3333ab8aa4075b828de34f149c6b0fa50da2a6b8d28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed0fda0b0e1be6346fa3333ab8aa4075b828de34f149c6b0fa50da2a6b8d28c", kill_on_drop: false }` [INFO] [stdout] 4ed0fda0b0e1be6346fa3333ab8aa4075b828de34f149c6b0fa50da2a6b8d28c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 394089278eedc7f65cb9e49aa2615e42ef504202e664177bb149760f6eaa5bed [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "394089278eedc7f65cb9e49aa2615e42ef504202e664177bb149760f6eaa5bed", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Checking futures-sink v0.3.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking memchr v2.2.1 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking futures-rate v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/gatekeeper.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | / ( [INFO] [stdout] 105 | | async move { [INFO] [stdout] 106 | | ticket.await?; [INFO] [stdout] 107 | | Ok(fut.await) [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | // Token {}, [INFO] [stdout] 110 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 | async move { [INFO] [stdout] 105 | ticket.await?; [INFO] [stdout] 106 | Ok(fut.await) [INFO] [stdout] 107 | } [INFO] [stdout] 108 | // Token {},, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `policy` [INFO] [stdout] --> src/gatekeeper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | policy: TokenPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/gatekeeper.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | / ( [INFO] [stdout] 105 | | async move { [INFO] [stdout] 106 | | ticket.await?; [INFO] [stdout] 107 | | Ok(fut.await) [INFO] [stdout] 108 | | } [INFO] [stdout] 109 | | // Token {}, [INFO] [stdout] 110 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 104 | async move { [INFO] [stdout] 105 | ticket.await?; [INFO] [stdout] 106 | Ok(fut.await) [INFO] [stdout] 107 | } [INFO] [stdout] 108 | // Token {},, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GateKeeperConfig`, `TokenPolicy` [INFO] [stdout] --> examples/cooperative_mode.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | use futures_rate::{GateKeeper, GateKeeperConfig, TokenPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/cooperative_mode.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut keeper = GateKeeper::new(1); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> examples/cooperative_mode.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | / format!( [INFO] [stdout] 55 | | "{}'s exclusive access is violated ... which should not happen to this test ...", [INFO] [stdout] 56 | | id [INFO] [stdout] 57 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 54 | [INFO] [stdout] 55 | "{}'s exclusive access is violated ... which should not happen to this test ...", [INFO] [stdout] 56 | id [INFO] [stdout] 57 | [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `policy` [INFO] [stdout] --> src/gatekeeper.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | policy: TokenPolicy, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.57s [INFO] running `Command { std: "docker" "inspect" "394089278eedc7f65cb9e49aa2615e42ef504202e664177bb149760f6eaa5bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "394089278eedc7f65cb9e49aa2615e42ef504202e664177bb149760f6eaa5bed", kill_on_drop: false }` [INFO] [stdout] 394089278eedc7f65cb9e49aa2615e42ef504202e664177bb149760f6eaa5bed