[INFO] fetching crate threads_pool 0.2.6...
[INFO] testing threads_pool-0.2.6 against 1.46.0 for beta-1.47-1
[INFO] extracting crate threads_pool 0.2.6 into /workspace/builds/worker-2/source
[INFO] validating manifest of crates.io crate threads_pool 0.2.6 on toolchain 1.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate threads_pool 0.2.6
[INFO] finished tweaking crates.io crate threads_pool 0.2.6
[INFO] tweaked toml for crates.io crate threads_pool 0.2.6 written to /workspace/builds/worker-2/source/Cargo.toml
[INFO] crate crates.io crate threads_pool 0.2.6 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30596fc597e31ee03c34a56f37d0bd3f3dc74e30663c4c5c03a811a1630e7827
[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" "30596fc597e31ee03c34a56f37d0bd3f3dc74e30663c4c5c03a811a1630e7827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30596fc597e31ee03c34a56f37d0bd3f3dc74e30663c4c5c03a811a1630e7827", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30596fc597e31ee03c34a56f37d0bd3f3dc74e30663c4c5c03a811a1630e7827", kill_on_drop: false }`
[INFO] [stdout] 30596fc597e31ee03c34a56f37d0bd3f3dc74e30663c4c5c03a811a1630e7827
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fa833004d8f7a839f82d7319c46329cbf689eab2607303d59d5e0163194bed67
[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" "fa833004d8f7a839f82d7319c46329cbf689eab2607303d59d5e0163194bed67", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling async-task v3.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling hashbrown v0.1.8
[INFO] [stderr]    Compiling owning_ref v0.4.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling crossbeam-channel v0.3.9
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling crossbeam-deque v0.7.3
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling threads_pool v0.2.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 18.70s
[INFO] running `Command { std: "docker" "inspect" "fa833004d8f7a839f82d7319c46329cbf689eab2607303d59d5e0163194bed67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa833004d8f7a839f82d7319c46329cbf689eab2607303d59d5e0163194bed67", kill_on_drop: false }`
[INFO] [stdout] fa833004d8f7a839f82d7319c46329cbf689eab2607303d59d5e0163194bed67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2335eb0d1d52d05ea2b61d4130d2422060781a641abb59f0d368c6a8843f515e
[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" "2335eb0d1d52d05ea2b61d4130d2422060781a641abb59f0d368c6a8843f515e", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling itoa v0.4.5
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling cast v0.2.3
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling rand_xoshiro v0.1.0
[INFO] [stderr]    Compiling crossbeam-queue v0.2.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling itertools v0.8.2
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling rayon v1.3.0
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling criterion-plot v0.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling serde_json v1.0.51
[INFO] [stderr]    Compiling bstr v0.2.12
[INFO] [stderr]    Compiling csv v1.1.3
[INFO] [stderr]    Compiling tinytemplate v1.0.3
[INFO] [stderr]    Compiling criterion v0.2.11
[INFO] [stderr]    Compiling threads_pool v0.2.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1m 16s
[INFO] running `Command { std: "docker" "inspect" "2335eb0d1d52d05ea2b61d4130d2422060781a641abb59f0d368c6a8843f515e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2335eb0d1d52d05ea2b61d4130d2422060781a641abb59f0d368c6a8843f515e", kill_on_drop: false }`
[INFO] [stdout] 2335eb0d1d52d05ea2b61d4130d2422060781a641abb59f0d368c6a8843f515e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f5dd8798ed03f8a29b8c43e51ff85980193de10bccefe28739e649d41c79c9af
[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" "f5dd8798ed03f8a29b8c43e51ff85980193de10bccefe28739e649d41c79c9af", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running /opt/rustwide/target/debug/deps/threads_pool-6c5744d1f9ea528d
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests threads_pool
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/pool.rs - pool::ThreadPool::activate (line 157) ... FAILED
[INFO] [stdout] test src/pool.rs - pool::ThreadPool::exec (line 262) ... FAILED
[INFO] [stdout] test src/pool.rs - pool::ThreadPool (line 44) ... FAILED
[INFO] [stdout] test src/pool.rs - pool::ThreadPool::execute (line 331) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/pool.rs - pool::ThreadPool::activate (line 157) stdout ----
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `id`, which is owned by the current function
[INFO] [stdout]   --> src/pool.rs:180:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pool.exec(|| {
[INFO] [stdout]    |               ^^ may outlive borrowed value `id`
[INFO] [stdout] 26 |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 27 |         println!("thread {} has been waken after 1 seconds ... ", id);
[INFO] [stdout]    |                                                                   -- `id` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/pool.rs:180:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     pool.exec(|| {
[INFO] [stdout] 26 | |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 27 | |         println!("thread {} has been waken after 1 seconds ... ", id);
[INFO] [stdout] 28 | |     }, true);
[INFO] [stdout]    | |____________^
[INFO] [stdout] help: to force the closure to take ownership of `id` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pool.exec(move || {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pool.rs - pool::ThreadPool::exec (line 262) stdout ----
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `id`, which is owned by the current function
[INFO] [stdout]   --> src/pool.rs:271:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pool.exec(|| {
[INFO] [stdout]    |               ^^ may outlive borrowed value `id`
[INFO] [stdout] 12 |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 13 |         println!("thread {} has been waken after 1 seconds ... ", id);
[INFO] [stdout]    |                                                                   -- `id` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/pool.rs:271:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     pool.exec(|| {
[INFO] [stdout] 12 | |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 13 | |         println!("thread {} has been waken after 1 seconds ... ", id);
[INFO] [stdout] 14 | |     }, true);
[INFO] [stdout]    | |____________^
[INFO] [stdout] help: to force the closure to take ownership of `id` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pool.exec(move || {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pool.rs - pool::ThreadPool (line 44) stdout ----
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `id`, which is owned by the current function
[INFO] [stdout]   --> src/pool.rs:67:15
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pool.exec(|| {
[INFO] [stdout]    |               ^^ may outlive borrowed value `id`
[INFO] [stdout] 26 |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 27 |         println!("thread {} has slept for around 1 second ... ", id);
[INFO] [stdout]    |                                                                  -- `id` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/pool.rs:67:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | /     pool.exec(|| {
[INFO] [stdout] 26 | |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 27 | |         println!("thread {} has slept for around 1 second ... ", id);
[INFO] [stdout] 28 | |     }, priority);
[INFO] [stdout]    | |________________^
[INFO] [stdout] help: to force the closure to take ownership of `id` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pool.exec(move || {
[INFO] [stdout]    |               ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/pool.rs - pool::ThreadPool::execute (line 331) stdout ----
[INFO] [stdout] error[E0373]: closure may outlive the current function, but it borrows `id`, which is owned by the current function
[INFO] [stdout]   --> src/pool.rs:340:18
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pool.execute(|| {
[INFO] [stdout]    |                  ^^ may outlive borrowed value `id`
[INFO] [stdout] 12 |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 13 |         println!("thread {} has been waken after 1 seconds ... ", id);
[INFO] [stdout]    |                                                                   -- `id` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout] note: function requires argument type to outlive `'static`
[INFO] [stdout]   --> src/pool.rs:340:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | /     pool.execute(|| {
[INFO] [stdout] 12 | |         thread::sleep(Duration::from_secs(1));
[INFO] [stdout] 13 | |         println!("thread {} has been waken after 1 seconds ... ", id);
[INFO] [stdout] 14 | |     });
[INFO] [stdout]    | |______^
[INFO] [stdout] help: to force the closure to take ownership of `id` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pool.execute(move || {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0373`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/pool.rs - pool::ThreadPool (line 44)
[INFO] [stdout]     src/pool.rs - pool::ThreadPool::activate (line 157)
[INFO] [stdout]     src/pool.rs - pool::ThreadPool::exec (line 262)
[INFO] [stdout]     src/pool.rs - pool::ThreadPool::execute (line 331)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass '--doc'
[INFO] running `Command { std: "docker" "inspect" "f5dd8798ed03f8a29b8c43e51ff85980193de10bccefe28739e649d41c79c9af", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5dd8798ed03f8a29b8c43e51ff85980193de10bccefe28739e649d41c79c9af", kill_on_drop: false }`
[INFO] [stdout] f5dd8798ed03f8a29b8c43e51ff85980193de10bccefe28739e649d41c79c9af
