[INFO] fetching crate panic-control 0.1.4... [INFO] checking panic-control-0.1.4 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate panic-control 0.1.4 into /workspace/builds/worker-7-tc1/source [INFO] validating manifest of crates.io crate panic-control 0.1.4 on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate panic-control 0.1.4 [INFO] finished tweaking crates.io crate panic-control 0.1.4 [INFO] tweaked toml for crates.io crate panic-control 0.1.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e7a12626df7c5278c441d480f24fb1b0a6c2ba67838a63bcc7c1a32919e6ac15 [INFO] running `Command { std: "docker" "start" "-a" "e7a12626df7c5278c441d480f24fb1b0a6c2ba67838a63bcc7c1a32919e6ac15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7a12626df7c5278c441d480f24fb1b0a6c2ba67838a63bcc7c1a32919e6ac15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a12626df7c5278c441d480f24fb1b0a6c2ba67838a63bcc7c1a32919e6ac15", kill_on_drop: false }` [INFO] [stdout] e7a12626df7c5278c441d480f24fb1b0a6c2ba67838a63bcc7c1a32919e6ac15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 299938511e0722f4bad9334949e6f26c1029feeb859af151a60752e3df9b8b4a [INFO] running `Command { std: "docker" "start" "-a" "299938511e0722f4bad9334949e6f26c1029feeb859af151a60752e3df9b8b4a", kill_on_drop: false }` [INFO] [stderr] Checking panic-control v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:753:30 [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &Any) -> Option<&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &dyn Any) -> Option<&str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:530:33 [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:753:30 [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:873:27 [INFO] [stdout] | [INFO] [stdout] 873 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:880:30 [INFO] [stdout] | [INFO] [stdout] 880 | static GUARD: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 880 | static GUARD: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &Any) -> Option<&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &dyn Any) -> Option<&str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:530:33 [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/test_thread_result_ext.rs:80:27 [INFO] [stdout] | [INFO] [stdout] 80 | struct Unexpected(&'static str); [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Unexpected` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 80 | struct Unexpected(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | panic!(TEST_STR); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 28 | panic!("{}", TEST_STR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | panic!(String::from(TEST_STR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 38 | panic!("{}", String::from(TEST_STR)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | panic!(42); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 48 | panic!("{}", 42); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 48 | std::panic::panic_any(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | panic!(TEST_STR); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 84 | panic!("{}", TEST_STR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | panic!(Unexpected("should have panicked above")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Unexpected` [INFO] [stdout] | [INFO] [stdout] 88 | panic!("{:?}", Unexpected("should have panicked above")); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 88 | std::panic::panic_any(Unexpected("should have panicked above")); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:106:24 [INFO] [stdout] | [INFO] [stdout] 106 | panic!(String::from(TEST_STR)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 106 | panic!("{}", String::from(TEST_STR)); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_result_ext.rs:131:24 [INFO] [stdout] | [INFO] [stdout] 131 | panic!(&[0]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `&[i32; 1]` [INFO] [stdout] | [INFO] [stdout] 131 | panic!("{:?}", &[0]); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 131 | std::panic::panic_any(&[0]); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_control.rs:912:20 [INFO] [stdout] | [INFO] [stdout] 912 | panic!(Expected(42)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Expected` [INFO] [stdout] | [INFO] [stdout] 912 | panic!("{:?}", Expected(42)); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 912 | std::panic::panic_any(Expected(42)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_control.rs:924:20 [INFO] [stdout] | [INFO] [stdout] 924 | panic!(42); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 924 | panic!("{}", 42); [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 924 | std::panic::panic_any(42); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_control.rs:985:20 [INFO] [stdout] | [INFO] [stdout] 985 | panic!(Expected(42)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Expected` [INFO] [stdout] | [INFO] [stdout] 985 | panic!("{:?}", Expected(42)); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 985 | std::panic::panic_any(Expected(42)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/panic_control.rs:998:20 [INFO] [stdout] | [INFO] [stdout] 998 | panic!(Expected(42)); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `Expected` [INFO] [stdout] | [INFO] [stdout] 998 | panic!("{:?}", Expected(42)); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 998 | std::panic::panic_any(Expected(42)); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_hook.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | panic!(TEST_STR); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 33 | panic!("{}", TEST_STR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_hook.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | panic!(()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `()` [INFO] [stdout] | [INFO] [stdout] 41 | panic!("{:?}", ()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 41 | std::panic::panic_any(()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_hook.rs:49:16 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(TEST_STR); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 49 | panic!("{}", TEST_STR); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test_thread_hook.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | panic!(()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{:?}" format string to use the `Debug` implementation of `()` [INFO] [stdout] | [INFO] [stdout] 56 | panic!("{:?}", ()); [INFO] [stdout] | +++++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 56 | std::panic::panic_any(()); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "299938511e0722f4bad9334949e6f26c1029feeb859af151a60752e3df9b8b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "299938511e0722f4bad9334949e6f26c1029feeb859af151a60752e3df9b8b4a", kill_on_drop: false }` [INFO] [stdout] 299938511e0722f4bad9334949e6f26c1029feeb859af151a60752e3df9b8b4a [INFO] checking panic-control-0.1.4 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate panic-control 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate panic-control 0.1.4 on toolchain 3a4bc97f6385a3aa300a4fd689b44350e54fd676 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate panic-control 0.1.4 [INFO] finished tweaking crates.io crate panic-control 0.1.4 [INFO] tweaked toml for crates.io crate panic-control 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6008d4dac6abc582e23a39da32a544a473c88743a29e1e0ad6a373d2f5cd9d1b [INFO] running `Command { std: "docker" "start" "-a" "6008d4dac6abc582e23a39da32a544a473c88743a29e1e0ad6a373d2f5cd9d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6008d4dac6abc582e23a39da32a544a473c88743a29e1e0ad6a373d2f5cd9d1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6008d4dac6abc582e23a39da32a544a473c88743a29e1e0ad6a373d2f5cd9d1b", kill_on_drop: false }` [INFO] [stdout] 6008d4dac6abc582e23a39da32a544a473c88743a29e1e0ad6a373d2f5cd9d1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4bc97f6385a3aa300a4fd689b44350e54fd676" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad990006902fac42cf79037d09cba6d480182a03484282a66f98f4398c63f2a9 [INFO] running `Command { std: "docker" "start" "-a" "ad990006902fac42cf79037d09cba6d480182a03484282a66f98f4398c63f2a9", kill_on_drop: false }` [INFO] [stderr] Checking panic-control v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:753:30 [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &Any) -> Option<&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &dyn Any) -> Option<&str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:530:33 [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:123:23 [INFO] [stdout] | [INFO] [stdout] 123 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:753:30 [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 753 | static HOOK_ONCE: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:873:27 [INFO] [stdout] | [INFO] [stdout] 873 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/panic_control.rs:880:30 [INFO] [stdout] | [INFO] [stdout] 880 | static GUARD: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 880 | static GUARD: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:520:29 [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &Any) -> Option<&str> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 520 | fn str_from_any(something: &dyn Any) -> Option<&str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/panic_control.rs:530:33 [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 530 | fn propagate_panic(box_any: Box) -> ! { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `CheckedJoinHandle` [INFO] [stdout] --> src/panic_control.rs:911:13 [INFO] [stdout] | [INFO] [stdout] 911 | let h = ctx.spawn(|| { [INFO] [stdout] | ^ ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `Context::

::spawn` [INFO] [stdout] --> src/panic_control.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn spawn(self, f: F) -> CheckedJoinHandle [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 384 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `Context::

::spawn` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 911 | let h: CheckedJoinHandle = ctx.spawn(|| { [INFO] [stdout] | ++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `CheckedJoinHandle` [INFO] [stdout] --> src/panic_control.rs:923:13 [INFO] [stdout] | [INFO] [stdout] 923 | let h = Context::::new().spawn_quiet(|| { [INFO] [stdout] | ^ ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `Context::

::spawn_quiet` [INFO] [stdout] --> src/panic_control.rs:434:18 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn spawn_quiet(self, f: F) -> CheckedJoinHandle [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 434 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `Context::

::spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 923 | let h: CheckedJoinHandle = Context::::new().spawn_quiet(|| { [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> src/panic_control.rs:987:13 [INFO] [stdout] | [INFO] [stdout] 984 | let h = ctx.spawn(|| { [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] ... [INFO] [stdout] 987 | let h = h.into_thread_join_handle(); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `Context::

::spawn` [INFO] [stdout] --> src/panic_control.rs:384:18 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn spawn(self, f: F) -> CheckedJoinHandle [INFO] [stdout] | ----- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 384 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `Context::

::spawn` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 987 | let h: JoinHandle = h.into_thread_join_handle(); [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> tests/test_thread_result_ext.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let h = spawn_quiet(|| { [INFO] [stdout] | _____________^___- [INFO] [stdout] 28 | | panic!(TEST_STR); [INFO] [stdout] 29 | | }); [INFO] [stdout] | |__________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `panic_control::spawn_quiet` [INFO] [stdout] --> /opt/rustwide/workdir/src/panic_control.rs:859:14 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn spawn_quiet(f: F) -> thread::JoinHandle [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 859 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 27 | let h: JoinHandle = spawn_quiet(|| { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> tests/test_thread_result_ext.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let h = spawn_quiet(|| { [INFO] [stdout] | _____________^___- [INFO] [stdout] 38 | | panic!(String::from(TEST_STR)); [INFO] [stdout] 39 | | }); [INFO] [stdout] | |__________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `panic_control::spawn_quiet` [INFO] [stdout] --> /opt/rustwide/workdir/src/panic_control.rs:859:14 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn spawn_quiet(f: F) -> thread::JoinHandle [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 859 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 37 | let h: JoinHandle = spawn_quiet(|| { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> tests/test_thread_result_ext.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | let h = spawn_quiet(|| { [INFO] [stdout] | _____________^___- [INFO] [stdout] 48 | | panic!(42); [INFO] [stdout] 49 | | }); [INFO] [stdout] | |__________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `panic_control::spawn_quiet` [INFO] [stdout] --> /opt/rustwide/workdir/src/panic_control.rs:859:14 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn spawn_quiet(f: F) -> thread::JoinHandle [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 859 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 47 | let h: JoinHandle = spawn_quiet(|| { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `CheckedJoinHandle` [INFO] [stdout] --> tests/test_thread_result_ext.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let h = Context::::new().spawn_quiet(|| { [INFO] [stdout] | ^ ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `panic_control::Context::

::spawn_quiet` [INFO] [stdout] --> /opt/rustwide/workdir/src/panic_control.rs:434:18 [INFO] [stdout] | [INFO] [stdout] 431 | pub fn spawn_quiet(self, f: F) -> CheckedJoinHandle [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 434 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `Context::

::spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 82 | let h: CheckedJoinHandle = Context::::new().spawn_quiet(|| { [INFO] [stdout] | ++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> tests/test_thread_result_ext.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | let h = spawn_quiet(|| { [INFO] [stdout] | _________________^___- [INFO] [stdout] 106 | | panic!(String::from(TEST_STR)); [INFO] [stdout] 107 | | }); [INFO] [stdout] | |______________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `panic_control::spawn_quiet` [INFO] [stdout] --> /opt/rustwide/workdir/src/panic_control.rs:859:14 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn spawn_quiet(f: F) -> thread::JoinHandle [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 859 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 105 | let h: JoinHandle = spawn_quiet(|| { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle` [INFO] [stdout] --> tests/test_thread_result_ext.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let h = spawn_quiet(|| { [INFO] [stdout] | _________________^___- [INFO] [stdout] 131 | | panic!(&[0]); [INFO] [stdout] 132 | | }); [INFO] [stdout] | |______________- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `panic_control::spawn_quiet` [INFO] [stdout] --> /opt/rustwide/workdir/src/panic_control.rs:859:14 [INFO] [stdout] | [INFO] [stdout] 856 | pub fn spawn_quiet(f: F) -> thread::JoinHandle [INFO] [stdout] | ----------- required by a bound in this function [INFO] [stdout] ... [INFO] [stdout] 859 | T: Send + 'static [INFO] [stdout] | ^^^^ required by this bound in `spawn_quiet` [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 130 | let h: JoinHandle = spawn_quiet(|| { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panic-control` (test "test_thread_result_ext") due to 7 previous errors [INFO] [stdout] error: aborting due to 3 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panic-control` (lib test) due to 4 previous errors; 6 warnings emitted [INFO] [stdout] error[E0283]: type annotations needed for `JoinHandle<_>` [INFO] [stdout] --> tests/test_thread_hook.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let h = thread::spawn(|| { [INFO] [stdout] | _________^___- [INFO] [stdout] 33 | | panic!(TEST_STR); [INFO] [stdout] 34 | | }); [INFO] [stdout] | |______- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Send` [INFO] [stdout] note: required by a bound in `spawn` [INFO] [stdout] --> /rustc/3a4bc97f6385a3aa300a4fd689b44350e54fd676/library/std/src/thread/mod.rs:672:1 [INFO] [stdout] help: consider giving `h` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 32 | let h: JoinHandle<_> = thread::spawn(|| { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panic-control` (test "test_thread_hook") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "ad990006902fac42cf79037d09cba6d480182a03484282a66f98f4398c63f2a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad990006902fac42cf79037d09cba6d480182a03484282a66f98f4398c63f2a9", kill_on_drop: false }` [INFO] [stdout] ad990006902fac42cf79037d09cba6d480182a03484282a66f98f4398c63f2a9