[INFO] fetching crate async-weighted-semaphore 0.2.1... [INFO] testing async-weighted-semaphore-0.2.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate async-weighted-semaphore 0.2.1 into /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-weighted-semaphore 0.2.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 159 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.9.2) [INFO] [stderr] Adding rand_xorshift v0.2.0 (available: v0.4.0) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [INFO] [stderr] Adding tokio-test v0.2.1 (available: v0.4.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c33beff7a8313064bff39a3cd48532bdf7bb3b9a664a4c15e2c983ea2fc85d3 [INFO] running `Command { std: "docker" "start" "-a" "8c33beff7a8313064bff39a3cd48532bdf7bb3b9a664a4c15e2c983ea2fc85d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c33beff7a8313064bff39a3cd48532bdf7bb3b9a664a4c15e2c983ea2fc85d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c33beff7a8313064bff39a3cd48532bdf7bb3b9a664a4c15e2c983ea2fc85d3", kill_on_drop: false }` [INFO] [stdout] 8c33beff7a8313064bff39a3cd48532bdf7bb3b9a664a4c15e2c983ea2fc85d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa11e4a6dab7ec477187852d0e3e4166b305a2593dc02339c6f569625af12594 [INFO] running `Command { std: "docker" "start" "-a" "aa11e4a6dab7ec477187852d0e3e4166b305a2593dc02339c6f569625af12594", kill_on_drop: false }` [INFO] [stderr] Compiling async-weighted-semaphore v0.2.1 (/opt/rustwide/workdir) [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 { [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, TryAcquireError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "aa11e4a6dab7ec477187852d0e3e4166b305a2593dc02339c6f569625af12594", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa11e4a6dab7ec477187852d0e3e4166b305a2593dc02339c6f569625af12594", kill_on_drop: false }` [INFO] [stdout] aa11e4a6dab7ec477187852d0e3e4166b305a2593dc02339c6f569625af12594 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e3ea9d7c37a12345a839e8b3cbcd5d0a3099895d97c27f51cd87deebebaad2b [INFO] running `Command { std: "docker" "start" "-a" "0e3ea9d7c37a12345a839e8b3cbcd5d0a3099895d97c27f51cd87deebebaad2b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xorshift v0.2.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.1 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling rand v0.7.3 [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 { [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, TryAcquireError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling polling v3.10.0 [INFO] [stderr] Compiling async-io v2.5.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling async-std v1.13.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling futures-test v0.3.31 [INFO] [stderr] Compiling futures-locks v0.6.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml v0.7.8 [INFO] [stderr] Compiling version-sync v0.9.5 [INFO] [stderr] Compiling async-weighted-semaphore v0.2.1 (/opt/rustwide/workdir) [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 { [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, TryAcquireError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 40.84s [INFO] running `Command { std: "docker" "inspect" "0e3ea9d7c37a12345a839e8b3cbcd5d0a3099895d97c27f51cd87deebebaad2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e3ea9d7c37a12345a839e8b3cbcd5d0a3099895d97c27f51cd87deebebaad2b", kill_on_drop: false }` [INFO] [stdout] 0e3ea9d7c37a12345a839e8b3cbcd5d0a3099895d97c27f51cd87deebebaad2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fd4234c13907a3e3a1974ee58fbd517faebed89b0156f20a9fce4dcf2ffc0ce9 [INFO] running `Command { std: "docker" "start" "-a" "fd4234c13907a3e3a1974ee58fbd517faebed89b0156f20a9fce4dcf2ffc0ce9", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/guard.rs:109:42 [INFO] [stderr] | [INFO] [stderr] 109 | semaphore: self.semaphore.clone(), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = 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] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 109 - semaphore: self.semaphore.clone(), [INFO] [stderr] 109 + semaphore: self.semaphore, [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `Semaphore`, implement `Clone` for it [INFO] [stderr] --> src/semaphore.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 + #[derive(Clone)] [INFO] [stderr] 27 | pub struct Semaphore { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semaphore.rs:116:20 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn acquire(&self, amount: usize) -> AcquireFuture { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 116 | pub fn acquire(&self, amount: usize) -> AcquireFuture<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/semaphore.rs:144:24 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn try_acquire(&self, amount: usize) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 144 | pub fn try_acquire(&self, amount: usize) -> Result, TryAcquireError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `async-weighted-semaphore` (lib) generated 3 warnings (run `cargo fix --lib -p async-weighted-semaphore` to apply 3 suggestions) [INFO] [stderr] warning: `async-weighted-semaphore` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/async_weighted_semaphore-dc42b2d40ec6e2f7) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test tests::unit::test_cancel ... ok [INFO] [stdout] test test_readme_deps ... ok [INFO] [stdout] test tests::unit::test_extend_arc_overflow ... ok [INFO] [stdout] test tests::unit::test_extend ... ok [INFO] [stdout] test tests::unit::test_poison_new ... ok [INFO] [stdout] test tests::unit::test_extend_overflow ... ok [INFO] [stdout] test tests::unit::test_poison_release_add ... ok [INFO] [stdout] test tests::unit::test_simple ... ok [INFO] [stdout] test tests::unit::test_leak ... ok [INFO] [stdout] test tests::unit::test_poison_release_immediate ... ok [INFO] [stdout] test tests::unit::test_extend_arc ... ok [INFO] [stdout] test tests::unit::test_split ... ok [INFO] [stdout] test tests::unit::test_split_arc ... ok [INFO] [stdout] test tests::unit::test_zero_now ... ok [INFO] [stdout] test test_html_root_url ... ok [INFO] [stdout] test tests::unit::test_poison_release_concurrent ... ok [INFO] [stdout] test tests::unit::test_zero_pending ... ok [INFO] [stdout] test waker::test::test_cancel_finish ... ok [INFO] [stdout] test tests::unit::test_split_arc_underflow ... ok [INFO] [stdout] test tests::unit::test_split_underflow ... ok [INFO] [stdout] test waker::test::test_finish ... ok [INFO] [stdout] test waker::test::test_finish_cancel ... ok [INFO] [stdout] test waker::test::test_cancel ... ok [INFO] [stdout] test tests::unit::test_extend_arc_wrong_sems - should panic ... ok [INFO] [stdout] test tests::unit::test_extend_wrong_sems - should panic ... ok [INFO] [stdout] test tests::unit::test_poison_panic ... ok [INFO] [stdout] test waker::test::test_cancel_race ... ok [INFO] [stdout] test tests::unit::test_sequential ... ok [INFO] [stdout] test waker::test::test_poll_race ... ok [INFO] [stdout] test tests::lock::test ... ok [INFO] [stdout] test tests::pipe::test_pipe ... ok [INFO] [stdout] test tests::unit::test_parallel has been running for over 60 seconds [INFO] [stdout] test tests::unit::test_parallel ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 132.76s [INFO] [stdout] [INFO] [stderr] Doc-tests async_weighted_semaphore [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuardArc::forget (line 147) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::new (line 88) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::acquire_arc (line 164) ... ok [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuard (line 10) ... ok [INFO] [stdout] test src/lib.rs - (line 103) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::acquire (line 107) ... ok [INFO] [stdout] test src/lib.rs - (line 28) ... ok [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuard<'a>::forget (line 65) ... ok [INFO] [stdout] test src/lib.rs - (line 10) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::release (line 227) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::poison (line 248) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::try_acquire_arc (line 194) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::try_acquire (line 134) ... ok [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuardArc::split (line 181) ... ok [INFO] [stdout] test src/semaphore.rs - semaphore::Semaphore::MAX_AVAILABLE (line 66) ... ok [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuardArc::extend (line 127) ... ok [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuard<'a>::split (line 97) ... ok [INFO] [stdout] test src/lib.rs - (line 65) ... ok [INFO] [stdout] test src/guard.rs - guard::SemaphoreGuard<'a>::extend (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.25s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd4234c13907a3e3a1974ee58fbd517faebed89b0156f20a9fce4dcf2ffc0ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd4234c13907a3e3a1974ee58fbd517faebed89b0156f20a9fce4dcf2ffc0ce9", kill_on_drop: false }` [INFO] [stdout] fd4234c13907a3e3a1974ee58fbd517faebed89b0156f20a9fce4dcf2ffc0ce9