[INFO] fetching crate dsc 0.1.3... [INFO] testing dsc-0.1.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dsc 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate dsc 0.1.3 [INFO] finished tweaking crates.io crate dsc 0.1.3 [INFO] tweaked toml for crates.io crate dsc 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dsc 0.1.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dsc 0.1.3 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded throttle v0.1.0 [INFO] [stderr] Downloaded format_num v0.1.0 [INFO] [stderr] Downloaded syn v1.0.56 [INFO] [stderr] Downloaded csv v1.1.5 [INFO] [stderr] Downloaded xxhash-rust v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f92694e804d6eb19f5a75fa1c7eda9b2dd971c1c662733aed2ce8bfa7cf88ce7 [INFO] running `Command { std: "docker" "start" "-a" "f92694e804d6eb19f5a75fa1c7eda9b2dd971c1c662733aed2ce8bfa7cf88ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f92694e804d6eb19f5a75fa1c7eda9b2dd971c1c662733aed2ce8bfa7cf88ce7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f92694e804d6eb19f5a75fa1c7eda9b2dd971c1c662733aed2ce8bfa7cf88ce7", kill_on_drop: false }` [INFO] [stdout] f92694e804d6eb19f5a75fa1c7eda9b2dd971c1c662733aed2ce8bfa7cf88ce7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ff84c53c0d5fa096749d132cf1a6b61a3b615be11b5853ac7b2832c50bc2c438 [INFO] running `Command { std: "docker" "start" "-a" "ff84c53c0d5fa096749d132cf1a6b61a3b615be11b5853ac7b2832c50bc2c438", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling walkdir v2.3.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling xxhash-rust v0.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling throttle v0.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling console v0.14.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling format_num v0.1.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling dsc v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `OngoingDuplicate` is never constructed [INFO] [stdout] --> src/duplicate_detection/messages.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct OngoingDuplicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OngoingDuplicate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_duplicates_found` is never read [INFO] [stdout] --> src/duplicate_detection/messages.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct AnalysisStatistics { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 41 | pub total_completed_investigations: u64, [INFO] [stdout] 42 | pub total_duplicates_found: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_block_size` is never read [INFO] [stdout] --> src/options.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub initial_block_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/concurrency/select.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn select(&mut self) -> (T, SelectedOperation) { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn select(&mut self) -> (T, SelectedOperation<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/concurrency/semaphore.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn access(&self, lease_count: usize) -> SemaphoreGuard { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn access(&self, lease_count: usize) -> SemaphoreGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.49s [INFO] running `Command { std: "docker" "inspect" "ff84c53c0d5fa096749d132cf1a6b61a3b615be11b5853ac7b2832c50bc2c438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff84c53c0d5fa096749d132cf1a6b61a3b615be11b5853ac7b2832c50bc2c438", kill_on_drop: false }` [INFO] [stdout] ff84c53c0d5fa096749d132cf1a6b61a3b615be11b5853ac7b2832c50bc2c438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 760b84f31a466e19590c3e61659f103c5e7e875085329a50f35fad572afa02af [INFO] running `Command { std: "docker" "start" "-a" "760b84f31a466e19590c3e61659f103c5e7e875085329a50f35fad572afa02af", kill_on_drop: false }` [INFO] [stderr] Compiling dsc v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `OngoingDuplicate` is never constructed [INFO] [stdout] --> src/duplicate_detection/messages.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct OngoingDuplicate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OngoingDuplicate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `total_duplicates_found` is never read [INFO] [stdout] --> src/duplicate_detection/messages.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct AnalysisStatistics { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 41 | pub total_completed_investigations: u64, [INFO] [stdout] 42 | pub total_duplicates_found: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AnalysisStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial_block_size` is never read [INFO] [stdout] --> src/options.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Options { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub initial_block_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/concurrency/select.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn select(&mut self) -> (T, SelectedOperation) { [INFO] [stdout] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 45 | pub fn select(&mut self) -> (T, SelectedOperation<'_>) { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/concurrency/semaphore.rs:99:19 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn access(&self, lease_count: usize) -> SemaphoreGuard { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn access(&self, lease_count: usize) -> SemaphoreGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.81s [INFO] running `Command { std: "docker" "inspect" "760b84f31a466e19590c3e61659f103c5e7e875085329a50f35fad572afa02af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "760b84f31a466e19590c3e61659f103c5e7e875085329a50f35fad572afa02af", kill_on_drop: false }` [INFO] [stdout] 760b84f31a466e19590c3e61659f103c5e7e875085329a50f35fad572afa02af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f3425fa86011d32d9b2d3ea6cf8c2bcb497ffa9522a3074fe9f5c756d09f2570 [INFO] running `Command { std: "docker" "start" "-a" "f3425fa86011d32d9b2d3ea6cf8c2bcb497ffa9522a3074fe9f5c756d09f2570", kill_on_drop: false }` [INFO] [stderr] warning: struct `OngoingDuplicate` is never constructed [INFO] [stderr] --> src/duplicate_detection/messages.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct OngoingDuplicate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `OngoingDuplicate` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `total_duplicates_found` is never read [INFO] [stderr] --> src/duplicate_detection/messages.rs:42:9 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct AnalysisStatistics { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] 41 | pub total_completed_investigations: u64, [INFO] [stderr] 42 | pub total_duplicates_found: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AnalysisStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `initial_block_size` is never read [INFO] [stderr] --> src/options.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Options { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 33 | pub initial_block_size: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Options` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/concurrency/select.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn select(&mut self) -> (T, SelectedOperation) { [INFO] [stderr] | ^^^^^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 45 | pub fn select(&mut self) -> (T, SelectedOperation<'_>) { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/concurrency/semaphore.rs:99:19 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn access(&self, lease_count: usize) -> SemaphoreGuard { [INFO] [stderr] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 99 | pub fn access(&self, lease_count: usize) -> SemaphoreGuard<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `dsc` (bin "dsc" test) generated 5 warnings (run `cargo fix --bin "dsc" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/dsc-fa3d2e3c121309b1) [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test candidate_selection::hashing::hash_instructions::tests::correctly_calculates_block_limited_work_size ... ok [INFO] [stdout] test candidate_selection::hashing::hash_instructions::tests::correctly_calculates_limited_work_size ... ok [INFO] [stdout] test candidate_selection::hashing::hashing_strategy::tests::complete_strategy ... ok [INFO] [stdout] test candidate_selection::hashing::hashing_strategy::tests::sampling_strategy_reach_until_end ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_as_cvar ... ok [INFO] [stdout] test concurrency::select::tests::select_recv ... ok [INFO] [stdout] test concurrency::select::tests::select_send ... ok [INFO] [stdout] test candidate_selection::hashing::hashing_strategy::tests::sampling_strategy_seek_back_to_end ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_multi_acquire_release ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_as_mutex ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_basic ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_multi_resource ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_acquire_release ... ok [INFO] [stdout] test concurrency::semaphore::tests::test_sem_runtime_friendly_blocking ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f3425fa86011d32d9b2d3ea6cf8c2bcb497ffa9522a3074fe9f5c756d09f2570", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3425fa86011d32d9b2d3ea6cf8c2bcb497ffa9522a3074fe9f5c756d09f2570", kill_on_drop: false }` [INFO] [stdout] f3425fa86011d32d9b2d3ea6cf8c2bcb497ffa9522a3074fe9f5c756d09f2570