[INFO] fetching crate panicmsg 1.3.0... [INFO] testing panicmsg-1.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate panicmsg 1.3.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate panicmsg 1.3.0 [INFO] finished tweaking crates.io crate panicmsg 1.3.0 [INFO] tweaked toml for crates.io crate panicmsg 1.3.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate panicmsg 1.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 851d4094577514b924344aeb8cff467dc5516989b79cbd683c630257a67d0817 [INFO] running `Command { std: "docker" "start" "-a" "851d4094577514b924344aeb8cff467dc5516989b79cbd683c630257a67d0817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "851d4094577514b924344aeb8cff467dc5516989b79cbd683c630257a67d0817", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "851d4094577514b924344aeb8cff467dc5516989b79cbd683c630257a67d0817", kill_on_drop: false }` [INFO] [stdout] 851d4094577514b924344aeb8cff467dc5516989b79cbd683c630257a67d0817 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 267c4c8a6ca8660579bacebb7fd6e84f72fdc804040ff77734fe7ee275773d7f [INFO] running `Command { std: "docker" "start" "-a" "267c4c8a6ca8660579bacebb7fd6e84f72fdc804040ff77734fe7ee275773d7f", kill_on_drop: false }` [INFO] [stderr] Compiling panicmsg v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "267c4c8a6ca8660579bacebb7fd6e84f72fdc804040ff77734fe7ee275773d7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "267c4c8a6ca8660579bacebb7fd6e84f72fdc804040ff77734fe7ee275773d7f", kill_on_drop: false }` [INFO] [stdout] 267c4c8a6ca8660579bacebb7fd6e84f72fdc804040ff77734fe7ee275773d7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ddbe516eec3f0d53ffeb4d120fab15d89a433fa266031879cd22cea01e9a48 [INFO] running `Command { std: "docker" "start" "-a" "e1ddbe516eec3f0d53ffeb4d120fab15d89a433fa266031879cd22cea01e9a48", kill_on_drop: false }` [INFO] [stderr] Compiling panicmsg v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s [INFO] running `Command { std: "docker" "inspect" "e1ddbe516eec3f0d53ffeb4d120fab15d89a433fa266031879cd22cea01e9a48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ddbe516eec3f0d53ffeb4d120fab15d89a433fa266031879cd22cea01e9a48", kill_on_drop: false }` [INFO] [stdout] e1ddbe516eec3f0d53ffeb4d120fab15d89a433fa266031879cd22cea01e9a48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0362118cea30ca09a892ba7307db62fd05d67e8ad53565b5dcc7c61deb292bce [INFO] running `Command { std: "docker" "start" "-a" "0362118cea30ca09a892ba7307db62fd05d67e8ad53565b5dcc7c61deb292bce", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/panicmsg-70a7b43191d1dbf4) [INFO] [stderr] Doc-tests panicmsg [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; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 6) - compile ... FAILED [INFO] [stdout] test src/lib.rs - const_panic_msg (line 367) - compile ... FAILED [INFO] [stdout] test src/lib.rs - (line 10) - compile ... FAILED [INFO] [stdout] test src/lib.rs - Assertion (line 392) - compile ... FAILED [INFO] [stdout] test src/lib.rs - PanicMsg (line 66) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PanicMsg` in this scope [INFO] [stdout] --> src/lib.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | const EXAMPLE_PANIC: PanicMsg = PanicMsg::new("This is an example panic message."); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use panicmsg::PanicMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PanicMsg` [INFO] [stdout] --> src/lib.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | const EXAMPLE_PANIC: PanicMsg = PanicMsg::new("This is an example panic message."); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PanicMsg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use panicmsg::PanicMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - const_panic_msg (line 367) stdout ---- [INFO] [stdout] error: cannot find macro `const_panic_msg` in this scope [INFO] [stdout] --> src/lib.rs:369:1 [INFO] [stdout] | [INFO] [stdout] 369 | const_panic_msg!(pub PUBLIC_ERROR = "This is declared with public visiblity."); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 367 + use panicmsg::const_panic_msg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: cannot find macro `const_panic_msg` in this scope [INFO] [stdout] --> src/lib.rs:368:1 [INFO] [stdout] | [INFO] [stdout] 368 | const_panic_msg!(PRIVATE_ERROR = "This is declared with private visibility."); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 367 + use panicmsg::const_panic_msg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PRIVATE_ERROR` in this scope [INFO] [stdout] --> src/lib.rs:371:1 [INFO] [stdout] | [INFO] [stdout] 371 | PRIVATE_ERROR.panic(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PUBLIC_ERROR` in this scope [INFO] [stdout] --> src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | PUBLIC_ERROR.debug_assert(left < right); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:373:27 [INFO] [stdout] | [INFO] [stdout] 373 | PUBLIC_ERROR.debug_assert(left < right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:373:34 [INFO] [stdout] | [INFO] [stdout] 373 | PUBLIC_ERROR.debug_assert(left < right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | EXAMPLE_PANIC.panic(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | EXAMPLE_PANIC.panic_if(left >= right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | EXAMPLE_PANIC.panic_if(left >= right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | EXAMPLE_PANIC.panic_if(left >= right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | EXAMPLE_PANIC.assert(left < right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | EXAMPLE_PANIC.assert(left < right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | EXAMPLE_PANIC.assert(left < right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | EXAMPLE_PANIC.assert_eq(left, right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | EXAMPLE_PANIC.assert_eq(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:17:31 [INFO] [stdout] | [INFO] [stdout] 17 | EXAMPLE_PANIC.assert_eq(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | EXAMPLE_PANIC.assert_ne(left, right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | EXAMPLE_PANIC.assert_ne(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | EXAMPLE_PANIC.assert_ne(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | EXAMPLE_PANIC.expect(option); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `option` in this scope [INFO] [stdout] --> src/lib.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | EXAMPLE_PANIC.expect(option); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | EXAMPLE_PANIC.expect(result); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/lib.rs:23:22 [INFO] [stdout] | [INFO] [stdout] 23 | EXAMPLE_PANIC.expect(result); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | EXAMPLE_PANIC.debug_panic(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | EXAMPLE_PANIC.debug_panic_if(left >= right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | EXAMPLE_PANIC.debug_panic_if(left >= right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | EXAMPLE_PANIC.debug_panic_if(left >= right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | EXAMPLE_PANIC.debug_assert(left < right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | EXAMPLE_PANIC.debug_assert(left < right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | EXAMPLE_PANIC.debug_assert(left < right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | EXAMPLE_PANIC.debug_assert_eq(left, right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | EXAMPLE_PANIC.debug_assert_eq(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 31 | EXAMPLE_PANIC.debug_assert_eq(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `EXAMPLE_PANIC` in this scope [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | EXAMPLE_PANIC.debug_assert_ne(left, right); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | EXAMPLE_PANIC.debug_assert_ne(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:33:37 [INFO] [stdout] | [INFO] [stdout] 33 | EXAMPLE_PANIC.debug_assert_ne(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Assertion (line 392) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Assertion` [INFO] [stdout] --> src/lib.rs:393:16 [INFO] [stdout] | [INFO] [stdout] 393 | let asserter = Assertion::new("lhs is not equal to rhs.", |(lhs, rhs)| lhs == rhs); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Assertion` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 392 + use panicmsg::Assertion; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - PanicMsg (line 66) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `PanicMsg` in this scope [INFO] [stdout] --> src/lib.rs:67:22 [INFO] [stdout] | [INFO] [stdout] 67 | const EXAMPLE_PANIC: PanicMsg = PanicMsg::new("This is an example panic message."); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 66 + use panicmsg::PanicMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PanicMsg` [INFO] [stdout] --> src/lib.rs:67:33 [INFO] [stdout] | [INFO] [stdout] 67 | const EXAMPLE_PANIC: PanicMsg = PanicMsg::new("This is an example panic message."); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `PanicMsg` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 66 + use panicmsg::PanicMsg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:71:24 [INFO] [stdout] | [INFO] [stdout] 71 | EXAMPLE_PANIC.panic_if(left >= right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 71 | EXAMPLE_PANIC.panic_if(left >= right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | EXAMPLE_PANIC.assert(left < right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | EXAMPLE_PANIC.assert(left < right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | EXAMPLE_PANIC.assert_eq(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:75:31 [INFO] [stdout] | [INFO] [stdout] 75 | EXAMPLE_PANIC.assert_eq(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | EXAMPLE_PANIC.assert_ne(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | EXAMPLE_PANIC.assert_ne(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `option` in this scope [INFO] [stdout] --> src/lib.rs:79:22 [INFO] [stdout] | [INFO] [stdout] 79 | EXAMPLE_PANIC.expect(option); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `result` in this scope [INFO] [stdout] --> src/lib.rs:81:22 [INFO] [stdout] | [INFO] [stdout] 81 | EXAMPLE_PANIC.expect(result); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:85:30 [INFO] [stdout] | [INFO] [stdout] 85 | EXAMPLE_PANIC.debug_panic_if(left >= right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | EXAMPLE_PANIC.debug_panic_if(left >= right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | EXAMPLE_PANIC.debug_assert(left < right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | EXAMPLE_PANIC.debug_assert(left < right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | EXAMPLE_PANIC.debug_assert_eq(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:89:37 [INFO] [stdout] | [INFO] [stdout] 89 | EXAMPLE_PANIC.debug_assert_eq(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `left` in this scope [INFO] [stdout] --> src/lib.rs:91:31 [INFO] [stdout] | [INFO] [stdout] 91 | EXAMPLE_PANIC.debug_assert_ne(left, right); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `right` in this scope [INFO] [stdout] --> src/lib.rs:91:37 [INFO] [stdout] | [INFO] [stdout] 91 | EXAMPLE_PANIC.debug_assert_ne(left, right); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/lib.rs - Assertion (line 392) [INFO] [stdout] src/lib.rs - PanicMsg (line 66) [INFO] [stdout] src/lib.rs - const_panic_msg (line 367) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0362118cea30ca09a892ba7307db62fd05d67e8ad53565b5dcc7c61deb292bce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0362118cea30ca09a892ba7307db62fd05d67e8ad53565b5dcc7c61deb292bce", kill_on_drop: false }` [INFO] [stdout] 0362118cea30ca09a892ba7307db62fd05d67e8ad53565b5dcc7c61deb292bce