[INFO] fetching crate async-weighted-semaphore 0.2.1...
[INFO] checking async-weighted-semaphore-0.2.1 against 1.95.0 for pr-155915
[INFO] extracting crate async-weighted-semaphore 0.2.1 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate async-weighted-semaphore 0.2.1
[INFO] finished tweaking crates.io crate async-weighted-semaphore 0.2.1
[INFO] tweaked toml for crates.io crate async-weighted-semaphore 0.2.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate async-weighted-semaphore 0.2.1 on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 150 packages to latest compatible versions
[INFO] [stderr]       Adding async-channel v1.9.0 (available: v2.5.0)
[INFO] [stderr]       Adding futures-locks v0.6.0 (available: v0.7.1)
[INFO] [stderr]       Adding rand v0.7.3 (available: v0.10.1)
[INFO] [stderr]       Adding rand_xorshift v0.2.0 (available: v0.5.0)
[INFO] [stderr]       Adding tokio v0.2.25 (available: v1.52.3)
[INFO] [stderr]       Adding tokio-test v0.2.1 (available: v0.4.5)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded futures-locks v0.6.0
[INFO] [stderr]   Downloaded futures-test v0.3.32
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dfda0a2689312dc6b45e6396f8e8f5b0b02d1964daf6aa4b8fe71aa6aeac164e
[INFO] running `Command { std: "docker" "start" "-a" "dfda0a2689312dc6b45e6396f8e8f5b0b02d1964daf6aa4b8fe71aa6aeac164e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dfda0a2689312dc6b45e6396f8e8f5b0b02d1964daf6aa4b8fe71aa6aeac164e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dfda0a2689312dc6b45e6396f8e8f5b0b02d1964daf6aa4b8fe71aa6aeac164e", kill_on_drop: false }`
[INFO] [stdout] dfda0a2689312dc6b45e6396f8e8f5b0b02d1964daf6aa4b8fe71aa6aeac164e
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df18032917d99311c1d9b9fc6b75aaf5281aaea079990ccf88fa5ec061430df8
[INFO] running `Command { std: "docker" "start" "-a" "df18032917d99311c1d9b9fc6b75aaf5281aaea079990ccf88fa5ec061430df8", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking value-bag v1.12.0
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]     Checking net2 v0.2.39
[INFO] [stderr]     Checking futures-lite v2.6.1
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking piper v0.2.5
[INFO] [stderr]     Checking pin-project-lite v0.1.12
[INFO] [stderr]     Checking event-listener v2.5.3
[INFO] [stderr]     Checking pulldown-cmark v0.9.6
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking async-weighted-semaphore v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking async-channel v1.9.0
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/guard.rs:109:42
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 semaphore: self.semaphore.clone(),
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Semaphore` does not implement `Clone`, so calling `clone` on `&Semaphore` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 109 -                 semaphore: self.semaphore.clone(),
[INFO] [stdout] 109 +                 semaphore: self.semaphore,
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Semaphore`, implement `Clone` for it
[INFO] [stdout]    --> src/semaphore.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 + #[derive(Clone)]
[INFO] [stdout]  27 | pub struct Semaphore {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/semaphore.rs:116:20
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn acquire(&self, amount: usize) -> AcquireFuture {
[INFO] [stdout]     |                    ^^^^^                    ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn acquire(&self, amount: usize) -> AcquireFuture<'_> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/semaphore.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn try_acquire(&self, amount: usize) -> Result<SemaphoreGuard, TryAcquireError> {
[INFO] [stdout]     |                        ^^^^^                           ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn try_acquire(&self, amount: usize) -> Result<SemaphoreGuard<'_>, TryAcquireError> {
[INFO] [stdout]     |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking log v0.4.29
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking async-executor v1.14.0
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]     Checking tokio v0.2.25
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking async-io v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling pin-project-internal v1.1.12
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking async-global-executor v2.4.1
[INFO] [stderr]     Checking async-std v1.13.2
[INFO] [stderr]     Checking zerofrom v0.1.7
[INFO] [stderr]     Checking pin-project v1.1.12
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking tokio-test v0.2.1
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking futures-test v0.3.32
[INFO] [stderr]     Checking futures-locks v0.6.0
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking version-sync v0.9.5
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> benches/ring.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(test)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel
[INFO] [stdout]  --> benches/mutex.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(test)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `async_std::task::spawn`
[INFO] [stdout]   --> benches/mutex.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use async_std::task::spawn;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-weighted-semaphore` (bench "ring") due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0554`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `async-weighted-semaphore` (bench "mutex") due to 1 previous error; 1 warning emitted
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/guard.rs:109:42
[INFO] [stdout]     |
[INFO] [stdout] 109 |                 semaphore: self.semaphore.clone(),
[INFO] [stdout]     |                                          ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `Semaphore` does not implement `Clone`, so calling `clone` on `&Semaphore` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout] 109 -                 semaphore: self.semaphore.clone(),
[INFO] [stdout] 109 +                 semaphore: self.semaphore,
[INFO] [stdout]     |
[INFO] [stdout] help: if you meant to clone `Semaphore`, implement `Clone` for it
[INFO] [stdout]    --> src/semaphore.rs:26:1
[INFO] [stdout]     |
[INFO] [stdout]  26 + #[derive(Clone)]
[INFO] [stdout]  27 | pub struct Semaphore {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/semaphore.rs:116:20
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn acquire(&self, amount: usize) -> AcquireFuture {
[INFO] [stdout]     |                    ^^^^^                    ^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 116 |     pub fn acquire(&self, amount: usize) -> AcquireFuture<'_> {
[INFO] [stdout]     |                                                          ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/semaphore.rs:144:24
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn try_acquire(&self, amount: usize) -> Result<SemaphoreGuard, TryAcquireError> {
[INFO] [stdout]     |                        ^^^^^                           ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 144 |     pub fn try_acquire(&self, amount: usize) -> Result<SemaphoreGuard<'_>, TryAcquireError> {
[INFO] [stdout]     |                                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "df18032917d99311c1d9b9fc6b75aaf5281aaea079990ccf88fa5ec061430df8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df18032917d99311c1d9b9fc6b75aaf5281aaea079990ccf88fa5ec061430df8", kill_on_drop: false }`
[INFO] [stdout] df18032917d99311c1d9b9fc6b75aaf5281aaea079990ccf88fa5ec061430df8
