[INFO] crate threads_pool 0.2.1 is already in cache [INFO] extracting crate threads_pool 0.2.1 into work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/threads_pool/0.2.1 [INFO] extracting crate threads_pool 0.2.1 into work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/threads_pool/0.2.1 [INFO] validating manifest of threads_pool-0.2.1 on toolchain master#435236b8877cdb98c82eaebfb7887782277265c5 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of threads_pool-0.2.1 on toolchain try#b5c7f157c20453dde8d47371abe73b32351b4e7f [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing threads_pool-0.2.1 [INFO] finished frobbing threads_pool-0.2.1 [INFO] frobbed toml for threads_pool-0.2.1 written to work/ex/pr-62849/sources/master#435236b8877cdb98c82eaebfb7887782277265c5/reg/threads_pool/0.2.1/Cargo.toml [INFO] started frobbing threads_pool-0.2.1 [INFO] finished frobbing threads_pool-0.2.1 [INFO] frobbed toml for threads_pool-0.2.1 written to work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/threads_pool/0.2.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+435236b8877cdb98c82eaebfb7887782277265c5-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking threads_pool-0.2.1 against try#b5c7f157c20453dde8d47371abe73b32351b4e7f for pr-62849 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-62849/worker-2/try#b5c7f157c20453dde8d47371abe73b32351b4e7f:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-62849/sources/try#b5c7f157c20453dde8d47371abe73b32351b4e7f/reg/threads_pool/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+b5c7f157c20453dde8d47371abe73b32351b4e7f-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 3425a7ef23c071a9b93606f723536d2eb2bac8df3a8d0fa4b770c0d9200eab33 [INFO] running `"docker" "start" "-a" "3425a7ef23c071a9b93606f723536d2eb2bac8df3a8d0fa4b770c0d9200eab33"` [INFO] [stderr] Checking threads_pool v0.2.1 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/model.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) type Job = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/debug.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/debug.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | static ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/model.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) type Job = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/debug.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use std::sync::{Once, ONCE_INIT}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/debug.rs:4:21 [INFO] [stderr] | [INFO] [stderr] 4 | static ONCE: Once = ONCE_INIT; [INFO] [stderr] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stderr] [INFO] [stderr] error[E0373]: closure may outlive the current function, but it borrows `bound`, which is owned by the current function [INFO] [stderr] --> benches/thread_pool_bench.rs:31:54 [INFO] [stderr] | [INFO] [stderr] 31 | c.bench_function("base single mode measurement", |b| { [INFO] [stderr] | ^^^ may outlive borrowed value `bound` [INFO] [stderr] 32 | b.iter(|| { [INFO] [stderr] 33 | for num in 1..bound { [INFO] [stderr] | ----- `bound` is borrowed here [INFO] [stderr] | [INFO] [stderr] note: function requires argument type to outlive `'static` [INFO] [stderr] --> benches/thread_pool_bench.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | / c.bench_function("base single mode measurement", |b| { [INFO] [stderr] 32 | | b.iter(|| { [INFO] [stderr] 33 | | for num in 1..bound { [INFO] [stderr] 34 | | shared_mode::run(move || for _ in 1..num%16 { atomic::spin_loop_hint(); }); [INFO] [stderr] 35 | | } [INFO] [stderr] 36 | | }) [INFO] [stderr] 37 | | }); [INFO] [stderr] | |______^ [INFO] [stderr] help: to force the closure to take ownership of `bound` (and any other referenced variables), use the `move` keyword [INFO] [stderr] | [INFO] [stderr] 31 | c.bench_function("base single mode measurement", move |b| { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0373`. [INFO] [stderr] error: Could not compile `threads_pool`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3425a7ef23c071a9b93606f723536d2eb2bac8df3a8d0fa4b770c0d9200eab33"` [INFO] running `"docker" "rm" "-f" "3425a7ef23c071a9b93606f723536d2eb2bac8df3a8d0fa4b770c0d9200eab33"` [INFO] [stdout] 3425a7ef23c071a9b93606f723536d2eb2bac8df3a8d0fa4b770c0d9200eab33