[INFO] fetching crate cool_asserts 2.0.3... [INFO] checking cool_asserts-2.0.3 against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] extracting crate cool_asserts 2.0.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cool_asserts 2.0.3 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 cool_asserts 2.0.3 [INFO] finished tweaking crates.io crate cool_asserts 2.0.3 [INFO] tweaked toml for crates.io crate cool_asserts 2.0.3 written to /workspace/builds/worker-3-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] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 777a2200ed4cde8798a992bf9855194037b2079281f54137d3f2db0d92a130ef [INFO] running `Command { std: "docker" "start" "-a" "777a2200ed4cde8798a992bf9855194037b2079281f54137d3f2db0d92a130ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "777a2200ed4cde8798a992bf9855194037b2079281f54137d3f2db0d92a130ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777a2200ed4cde8798a992bf9855194037b2079281f54137d3f2db0d92a130ef", kill_on_drop: false }` [INFO] [stdout] 777a2200ed4cde8798a992bf9855194037b2079281f54137d3f2db0d92a130ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b93b0a2a65c09d67c570d204b8bba067160da8e09436650d2b4de3fca7711fb5 [INFO] running `Command { std: "docker" "start" "-a" "b93b0a2a65c09d67c570d204b8bba067160da8e09436650d2b4de3fca7711fb5", kill_on_drop: false }` [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking cool_asserts v2.0.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.28s [INFO] running `Command { std: "docker" "inspect" "b93b0a2a65c09d67c570d204b8bba067160da8e09436650d2b4de3fca7711fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93b0a2a65c09d67c570d204b8bba067160da8e09436650d2b4de3fca7711fb5", kill_on_drop: false }` [INFO] [stdout] b93b0a2a65c09d67c570d204b8bba067160da8e09436650d2b4de3fca7711fb5 [INFO] checking cool_asserts-2.0.3 against try#3a4bc97f6385a3aa300a4fd689b44350e54fd676 for no-never-type-fallback [INFO] extracting crate cool_asserts 2.0.3 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cool_asserts 2.0.3 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 cool_asserts 2.0.3 [INFO] finished tweaking crates.io crate cool_asserts 2.0.3 [INFO] tweaked toml for crates.io crate cool_asserts 2.0.3 written to /workspace/builds/worker-3-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] [stderr] Updating crates.io index [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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 31f27ec1d4663c44e9859de71d878c26b282ff263286cb77695b0eb860ed8982 [INFO] running `Command { std: "docker" "start" "-a" "31f27ec1d4663c44e9859de71d878c26b282ff263286cb77695b0eb860ed8982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31f27ec1d4663c44e9859de71d878c26b282ff263286cb77695b0eb860ed8982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31f27ec1d4663c44e9859de71d878c26b282ff263286cb77695b0eb860ed8982", kill_on_drop: false }` [INFO] [stdout] 31f27ec1d4663c44e9859de71d878c26b282ff263286cb77695b0eb860ed8982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 660b6a2377f80dc631808702ca93f343a8237112d0552deb6fc15a585c30b9b9 [INFO] running `Command { std: "docker" "start" "-a" "660b6a2377f80dc631808702ca93f343a8237112d0552deb6fc15a585c30b9b9", kill_on_drop: false }` [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking cool_asserts v2.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/assert_matches.rs:324:9 [INFO] [stdout] | [INFO] [stdout] 324 | / assert_panics!( [INFO] [stdout] 325 | | assert_matches!(TEST_VALUE, None => panic!("Custom Panic")), [INFO] [stdout] 326 | | includes("assertion failed"), [INFO] [stdout] 327 | | includes("value does not match pattern"), [INFO] [stdout] ... | [INFO] [stdout] 330 | | excludes("Custom Panic"), [INFO] [stdout] 331 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/assert_matches.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | / assert_panics!( [INFO] [stdout] 337 | | assert_matches!(TEST_VALUE, Some(TestStruct{..}) => panic!("Custom Panic")), [INFO] [stdout] 338 | | includes("Custom Panic"), [INFO] [stdout] 339 | | excludes("assertion failed"), [INFO] [stdout] 340 | | excludes("value does not match pattern"), [INFO] [stdout] 341 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 225 | assert_panics!(panic!()); [INFO] [stdout] | ------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 237 | assert_panics!(panic!("{} {}", "This", "Message"), includes("That Message")) [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 243 | assert_panics!(panic!("{} {}", "This", "Message"), excludes("Message")) [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 261 | assert_panics!(panic!("{} {}", "This", "Message"), includes("That Message")), [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 274 | assert_panics!(panic!("{} {}", "This", "Message"), excludes("Message")), [INFO] [stdout] | ----------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 286 | / assert_panics!(panic!("{}, {}!", "Hello", "World"), |msg| { [INFO] [stdout] 287 | | assert_eq!(msg, "Hello, World!"); [INFO] [stdout] 288 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 293 | / assert_panics!(panic!("Hello, World!"), |msg| { [INFO] [stdout] 294 | | assert_eq!(msg, "Hello, World!"); [INFO] [stdout] 295 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 301 | / assert_panics!(panic_any(32), |_msg| { [INFO] [stdout] 302 | | panic!("CUSTOM PANIC"); [INFO] [stdout] 303 | | }), [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 313 | / assert_panics!(panic!("Hello, World!"), |_msg| { [INFO] [stdout] 314 | | panic!("NOPE"); [INFO] [stdout] 315 | | }), [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 323 | / assert_panics!(panic_any(244i32), |value: &i32| { [INFO] [stdout] 324 | | assert_eq!(value, &244); [INFO] [stdout] 325 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 331 | assert_panics!(panic_any(244i32), |_value: &i64| { panic!("CUSTOM PANIC") }), [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:372:13 [INFO] [stdout] | [INFO] [stdout] 372 | catch_unwind(|| panic!("Hello, World!")).expect_err("Function didn't panic????"); [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type of the type parameter `R` declared on the function `catch_unwind` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 372 | catch_unwind::<_, R>(|| panic!("Hello, World!")).expect_err("Function didn't panic????"); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:378:35 [INFO] [stdout] | [INFO] [stdout] 378 | let result = catch_unwind(|| panic_any("Hello, World!".to_owned())) [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 378 | let result = catch_unwind(|| -> /* Type */ { panic_any("Hello, World!".to_owned()) }) [INFO] [stdout] | +++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:386:22 [INFO] [stdout] | [INFO] [stdout] 386 | let result = catch_unwind(|| panic!("{}, {}!", "Hello", "World")) [INFO] [stdout] | ^^^^^^^^^^^^ cannot infer type of the type parameter `R` declared on the function `catch_unwind` [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic arguments [INFO] [stdout] | [INFO] [stdout] 386 | let result = catch_unwind::<_, R>(|| panic!("{}, {}!", "Hello", "World")) [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 393 | let result = catch_unwind(|| panic_any(25)).expect_err("Function didn't panic????"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: try giving this closure an explicit return type [INFO] [stdout] | [INFO] [stdout] 393 | let result = catch_unwind(|| -> /* Type */ { panic_any(25) }).expect_err("Function didn't panic????"); [INFO] [stdout] | +++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/assertion_failure.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | / assert_panics!( [INFO] [stdout] 153 | | assertion_failure!("Failure Message"), [INFO] [stdout] 154 | | includes("assertion failed at"), [INFO] [stdout] 155 | | includes("Failure Message"), [INFO] [stdout] 156 | | excludes("\n"), [INFO] [stdout] 157 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/assertion_failure.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | / assert_panics!( [INFO] [stdout] 163 | | assertion_failure!( [INFO] [stdout] 164 | | "Failure Message", [INFO] [stdout] 165 | | key: 10, [INFO] [stdout] ... | [INFO] [stdout] 171 | | includes("long_key: 20"), [INFO] [stdout] 172 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/assertion_failure.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / assert_panics!( [INFO] [stdout] 178 | | assertion_failure!( [INFO] [stdout] 179 | | "Failure Message", [INFO] [stdout] 180 | | key: 10, [INFO] [stdout] ... | [INFO] [stdout] 188 | | includes("\n Hello, World!") [INFO] [stdout] 189 | | ); [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/assert_panics.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | match ::std::panic::catch_unwind(|| {$expression}) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] ::: src/assertion_failure.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | / assert_panics!( [INFO] [stdout] 195 | | assertion_failure!( [INFO] [stdout] 196 | | "Failure Message"; [INFO] [stdout] 197 | | "{}\n\n{}", "Hello", "World" [INFO] [stdout] ... | [INFO] [stdout] 201 | | includes("\n Hello\n\n World") [INFO] [stdout] 202 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::assert_panics` which comes from the expansion of the macro `assert_panics` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cool_asserts` (lib test) due to 22 previous errors [INFO] running `Command { std: "docker" "inspect" "660b6a2377f80dc631808702ca93f343a8237112d0552deb6fc15a585c30b9b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "660b6a2377f80dc631808702ca93f343a8237112d0552deb6fc15a585c30b9b9", kill_on_drop: false }` [INFO] [stdout] 660b6a2377f80dc631808702ca93f343a8237112d0552deb6fc15a585c30b9b9