[INFO] fetching crate threads_pool 0.2.6... [INFO] checking threads_pool-0.2.6 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate threads_pool 0.2.6 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate threads_pool 0.2.6 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4c878d72775edfb7be4813afe1ac6cc4fe10013ce94b5c1b6bb89092a57e5e8 [INFO] running `Command { std: "docker" "start" "-a" "d4c878d72775edfb7be4813afe1ac6cc4fe10013ce94b5c1b6bb89092a57e5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4c878d72775edfb7be4813afe1ac6cc4fe10013ce94b5c1b6bb89092a57e5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4c878d72775edfb7be4813afe1ac6cc4fe10013ce94b5c1b6bb89092a57e5e8", kill_on_drop: false }` [INFO] [stdout] d4c878d72775edfb7be4813afe1ac6cc4fe10013ce94b5c1b6bb89092a57e5e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b2e9589bd6778b651e4298894c82266a41e0558b099079d3f1a3994bd687d0 [INFO] running `Command { std: "docker" "start" "-a" "e3b2e9589bd6778b651e4298894c82266a41e0558b099079d3f1a3994bd687d0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cast v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking hashbrown v0.1.8 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking threads_pool v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/debug.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(val) => (&val == "1"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - Ok(val) => (&val == "1"), [INFO] [stdout] 12 + Ok(val) => &val == "1", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub use crate::index_mode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `close` in the value namespace is first re-exported here [INFO] [stdout] 37 | pub use crate::executor::block_on; [INFO] [stdout] 38 | pub use crate::shared_mode::*; [INFO] [stdout] | --------------------- but the name `close` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub use crate::index_mode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `initialize` in the value namespace is first re-exported here [INFO] [stdout] 37 | pub use crate::executor::block_on; [INFO] [stdout] 38 | pub use crate::shared_mode::*; [INFO] [stdout] | --------------------- but the name `initialize` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/model.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/multi.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | MULTI_POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/multi.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { MULTI_POOL.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/multi.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | / MULTI_POOL.set(PoolStore { [INFO] [stdout] 234 | | store, [INFO] [stdout] 235 | | mutating: AtomicI8::new(0), [INFO] [stdout] 236 | | auto_adjust_period: config.refresh_period(), [INFO] [stdout] 237 | | auto_adjust_handler: None, [INFO] [stdout] 238 | | auto_adjust_register: HashSet::with_capacity(size), [INFO] [stdout] 239 | | }); [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/single.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { POOL.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/single.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { POOL.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/single.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / POOL.set(Pool { [INFO] [stdout] 232 | | store, [INFO] [stdout] 233 | | auto_mode, [INFO] [stdout] 234 | | auto_adjust_handler: handler, [INFO] [stdout] 235 | | }); [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking tinytemplate v1.0.3 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> benches/thread_pool_bench.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> benches/thread_pool_bench.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | atomic::spin_loop_hint(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/debug.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | Ok(val) => (&val == "1"), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 12 - Ok(val) => (&val == "1"), [INFO] [stdout] 12 + Ok(val) => &val == "1", [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub use crate::index_mode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `close` in the value namespace is first re-exported here [INFO] [stdout] 37 | pub use crate::executor::block_on; [INFO] [stdout] 38 | pub use crate::shared_mode::*; [INFO] [stdout] | --------------------- but the name `close` in the value namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | pub use crate::index_mode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ the name `initialize` in the value namespace is first re-exported here [INFO] [stdout] 37 | pub use crate::executor::block_on; [INFO] [stdout] 38 | pub use crate::shared_mode::*; [INFO] [stdout] | --------------------- but the name `initialize` in the value namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead [INFO] [stdout] --> src/model.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | atomic::spin_loop_hint() [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/multi.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | MULTI_POOL.as_mut() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/multi.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { MULTI_POOL.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/multi.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | / MULTI_POOL.set(PoolStore { [INFO] [stdout] 234 | | store, [INFO] [stdout] 235 | | mutating: AtomicI8::new(0), [INFO] [stdout] 236 | | auto_adjust_period: config.refresh_period(), [INFO] [stdout] 237 | | auto_adjust_handler: None, [INFO] [stdout] 238 | | auto_adjust_register: HashSet::with_capacity(size), [INFO] [stdout] 239 | | }); [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/single.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe { POOL.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/single.rs:43:22 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { POOL.as_mut() } [INFO] [stdout] | ^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/single.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / POOL.set(Pool { [INFO] [stdout] 232 | | store, [INFO] [stdout] 233 | | auto_mode, [INFO] [stdout] 234 | | auto_adjust_handler: handler, [INFO] [stdout] 235 | | }); [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.65s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "e3b2e9589bd6778b651e4298894c82266a41e0558b099079d3f1a3994bd687d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b2e9589bd6778b651e4298894c82266a41e0558b099079d3f1a3994bd687d0", kill_on_drop: false }` [INFO] [stdout] e3b2e9589bd6778b651e4298894c82266a41e0558b099079d3f1a3994bd687d0