[INFO] fetching crate init_guard 1.3.0... [INFO] testing init_guard-1.3.0 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate init_guard 1.3.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate init_guard 1.3.0 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate init_guard 1.3.0 [INFO] finished tweaking crates.io crate init_guard 1.3.0 [INFO] tweaked toml for crates.io crate init_guard 1.3.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0986ac886d1905fe2bb4230bc5b5a087fe618fc03fb45cd652011e26dbb429b2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0986ac886d1905fe2bb4230bc5b5a087fe618fc03fb45cd652011e26dbb429b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0986ac886d1905fe2bb4230bc5b5a087fe618fc03fb45cd652011e26dbb429b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0986ac886d1905fe2bb4230bc5b5a087fe618fc03fb45cd652011e26dbb429b2", kill_on_drop: false }` [INFO] [stdout] 0986ac886d1905fe2bb4230bc5b5a087fe618fc03fb45cd652011e26dbb429b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 175b8cbbaca6dbb256a11b9446b6147b1b7dce945c706674eb8beaa030e3ea03 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "175b8cbbaca6dbb256a11b9446b6147b1b7dce945c706674eb8beaa030e3ea03", kill_on_drop: false }` [INFO] [stderr] Compiling init_guard v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "175b8cbbaca6dbb256a11b9446b6147b1b7dce945c706674eb8beaa030e3ea03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "175b8cbbaca6dbb256a11b9446b6147b1b7dce945c706674eb8beaa030e3ea03", kill_on_drop: false }` [INFO] [stdout] 175b8cbbaca6dbb256a11b9446b6147b1b7dce945c706674eb8beaa030e3ea03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d1005dee198209679acf489d3ec61aa37a2c21a3e726fc3aca694c2d25f5d8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0d1005dee198209679acf489d3ec61aa37a2c21a3e726fc3aca694c2d25f5d8c", kill_on_drop: false }` [INFO] [stderr] Compiling init_guard v1.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/lib.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "0d1005dee198209679acf489d3ec61aa37a2c21a3e726fc3aca694c2d25f5d8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d1005dee198209679acf489d3ec61aa37a2c21a3e726fc3aca694c2d25f5d8c", kill_on_drop: false }` [INFO] [stdout] 0d1005dee198209679acf489d3ec61aa37a2c21a3e726fc3aca694c2d25f5d8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 59ee5412768fd2e66801bcc0130714529aea42ab43a005779053b885ffd18aea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "59ee5412768fd2e66801bcc0130714529aea42ab43a005779053b885ffd18aea", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `lazy_static::lazy_static` [INFO] [stderr] --> src/lib.rs:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | use lazy_static::lazy_static; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `init_guard` (lib) generated 1 warning [INFO] [stderr] warning: `init_guard` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/init_guard-7edd7d46fb01dd2a) [INFO] [stdout] [INFO] [stderr] Doc-tests init_guard [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 3 tests [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - (line 24) ... FAILED [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] [stdout] test src/lib.rs - (line 14) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error: cannot find macro `init_guard` in this scope [INFO] [stdout] --> src/lib.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 4 | init_guard!(HAS_LOGGER_INIT); // Create the init_guard [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] init_guard::init_guard [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HAS_LOGGER_INIT` [INFO] [stdout] --> src/lib.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 7 | match HAS_LOGGER_INIT::init() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `HAS_LOGGER_INIT` [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 8 | Ok(_) => {}, [INFO] [stdout] | ^^ expected enum `Result`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(), String>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 24) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn init() -> Result<(),()> [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | } _doctest_main_src_lib_rs_24_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] thread 'rustc' panicked at 'internal error: entered unreachable code', compiler/rustc_parse/src/parser/item.rs:1723:17 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f843890a090 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x7f843890a090 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f843890a090 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x7f843890a090 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x7f8438977cfc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x7f84388fb975 - std::io::Write::write_fmt::h6aced00850e8186f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x7f843890ddab - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x7f843890ddab - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x7f843890ddab - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x7f843890d881 - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x7f84390eb901 - rustc_driver::DEFAULT_HOOK::{{closure}}::{{closure}}::h98690b446fb8b04c [INFO] [stdout] 11: 0x7f843890e5d9 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:626:17 [INFO] [stdout] 12: 0x7f843890e067 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:517:13 [INFO] [stdout] 13: 0x7f843890a56c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 14: 0x7f843890dff9 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 15: 0x7f84388d90c1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:92:14 [INFO] [stdout] 16: 0x7f84388d900d - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:50:5 [INFO] [stdout] 17: 0x7f843a9840d1 - rustc_parse::parser::item::::parse_fn::hefcf90127cbcbd75 [INFO] [stdout] 18: 0x7f843a974b1c - rustc_parse::parser::item::::parse_item_kind::ha97c5573f937a5d0 [INFO] [stdout] 19: 0x7f843a971f98 - rustc_parse::parser::item::::parse_item_common::h2f3e3697063cf620 [INFO] [stdout] 20: 0x7f843a9a67e0 - rustc_parse::parser::stmt::::parse_stmt_without_recovery::h14c4f593b7a57327 [INFO] [stdout] 21: 0x7f843a9aeb8e - rustc_parse::parser::stmt::::parse_full_stmt::h0b49491ffd3edaa5 [INFO] [stdout] 22: 0x7f843a9ae5c8 - rustc_parse::parser::stmt::::parse_block_tail::h192ed4a24e9d7054 [INFO] [stdout] 23: 0x7f843a9ad7ef - rustc_parse::parser::stmt::::parse_block_common::hc8b59a82269c91e7 [INFO] [stdout] 24: 0x7f843a983995 - rustc_parse::parser::item::::parse_fn::hefcf90127cbcbd75 [INFO] [stdout] 25: 0x7f843a974b1c - rustc_parse::parser::item::::parse_item_kind::ha97c5573f937a5d0 [INFO] [stdout] 26: 0x7f843a971f98 - rustc_parse::parser::item::::parse_item_common::h2f3e3697063cf620 [INFO] [stdout] 27: 0x7f843a9a67e0 - rustc_parse::parser::stmt::::parse_stmt_without_recovery::h14c4f593b7a57327 [INFO] [stdout] 28: 0x7f843a9aeb8e - rustc_parse::parser::stmt::::parse_full_stmt::h0b49491ffd3edaa5 [INFO] [stdout] 29: 0x7f843a9ae5c8 - rustc_parse::parser::stmt::::parse_block_tail::h192ed4a24e9d7054 [INFO] [stdout] 30: 0x7f843a9ad7ef - rustc_parse::parser::stmt::::parse_block_common::hc8b59a82269c91e7 [INFO] [stdout] 31: 0x7f843a983995 - rustc_parse::parser::item::::parse_fn::hefcf90127cbcbd75 [INFO] [stdout] 32: 0x7f843a974b1c - rustc_parse::parser::item::::parse_item_kind::ha97c5573f937a5d0 [INFO] [stdout] 33: 0x7f843a971f98 - rustc_parse::parser::item::::parse_item_common::h2f3e3697063cf620 [INFO] [stdout] 34: 0x7f843b33cfe4 - rustc_parse::parser::item::::parse_mod::hdc8bf2d1492ce3bf [INFO] [stdout] 35: 0x7f843b35a3ae - rustc_parse::parse_crate_from_source_str::h2acfc2f7b1bad7c4 [INFO] [stdout] 36: 0x7f843ac195b8 - rustc_session::utils::::time::hc34c5bc1452f37ce [INFO] [stdout] 37: 0x7f843ac00c7d - rustc_interface::passes::parse::h8410539c11fa4a2c [INFO] [stdout] 38: 0x7f843abfad87 - rustc_interface::queries::Queries::parse::h07375bcbce94d932 [INFO] [stdout] 39: 0x7f843abda478 - rustc_interface::queries::::enter::h9ff1bb326f6cbdde [INFO] [stdout] 40: 0x7f843abc9aec - rustc_span::with_source_map::h35aa4a6792e2f0de [INFO] [stdout] 41: 0x7f843abdb39a - rustc_interface::interface::create_compiler_and_run::h600b31664ea7498c [INFO] [stdout] 42: 0x7f843abcdc79 - scoped_tls::ScopedKey::set::h95fded8ea1ce829a [INFO] [stdout] 43: 0x7f843abca0ba - std::sys_common::backtrace::__rust_begin_short_backtrace::hcb9f52ef891273be [INFO] [stdout] 44: 0x7f843abc93a5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7d639d5804de8241 [INFO] [stdout] 45: 0x7f843891ab67 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 46: 0x7f843891ab67 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 47: 0x7f843891ab67 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 48: 0x7f8438836609 - start_thread [INFO] [stdout] 49: 0x7f843874a293 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected panic [INFO] [stdout] [INFO] [stdout] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stdout] [INFO] [stdout] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stdout] [INFO] [stdout] note: rustc 1.56.0-nightly (d2e9fff28 2021-07-28) running on x86_64-unknown-linux-gnu [INFO] [stdout] [INFO] [stdout] note: compiler flags: -C codegen-units=1 -C embed-bitcode=no --crate-type bin [INFO] [stdout] [INFO] [stdout] query stack during panic: [INFO] [stdout] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 14) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/lib.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 3 | fn has_init() -> bool [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | } _doctest_main_src_lib_rs_14_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] thread 'rustc' panicked at 'internal error: entered unreachable code', compiler/rustc_parse/src/parser/item.rs:1723:17 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x7f774e6c5090 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x7f774e6c5090 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x7f774e6c5090 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x7f774e6c5090 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x7f774e732cfc - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x7f774e6b6975 - std::io::Write::write_fmt::h6aced00850e8186f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x7f774e6c8dab - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x7f774e6c8dab - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x7f774e6c8dab - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x7f774e6c8881 - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x7f774eea6901 - rustc_driver::DEFAULT_HOOK::{{closure}}::{{closure}}::h98690b446fb8b04c [INFO] [stdout] 11: 0x7f774e6c95d9 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:626:17 [INFO] [stdout] 12: 0x7f774e6c9067 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:517:13 [INFO] [stdout] 13: 0x7f774e6c556c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 14: 0x7f774e6c8ff9 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 15: 0x7f774e6940c1 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:92:14 [INFO] [stdout] 16: 0x7f774e69400d - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:50:5 [INFO] [stdout] 17: 0x7f775073f0d1 - rustc_parse::parser::item::::parse_fn::hefcf90127cbcbd75 [INFO] [stdout] 18: 0x7f775072fb1c - rustc_parse::parser::item::::parse_item_kind::ha97c5573f937a5d0 [INFO] [stdout] 19: 0x7f775072cf98 - rustc_parse::parser::item::::parse_item_common::h2f3e3697063cf620 [INFO] [stdout] 20: 0x7f77507617e0 - rustc_parse::parser::stmt::::parse_stmt_without_recovery::h14c4f593b7a57327 [INFO] [stdout] 21: 0x7f7750769b8e - rustc_parse::parser::stmt::::parse_full_stmt::h0b49491ffd3edaa5 [INFO] [stdout] 22: 0x7f77507695c8 - rustc_parse::parser::stmt::::parse_block_tail::h192ed4a24e9d7054 [INFO] [stdout] 23: 0x7f77507687ef - rustc_parse::parser::stmt::::parse_block_common::hc8b59a82269c91e7 [INFO] [stdout] 24: 0x7f775073e995 - rustc_parse::parser::item::::parse_fn::hefcf90127cbcbd75 [INFO] [stdout] 25: 0x7f775072fb1c - rustc_parse::parser::item::::parse_item_kind::ha97c5573f937a5d0 [INFO] [stdout] 26: 0x7f775072cf98 - rustc_parse::parser::item::::parse_item_common::h2f3e3697063cf620 [INFO] [stdout] 27: 0x7f77507617e0 - rustc_parse::parser::stmt::::parse_stmt_without_recovery::h14c4f593b7a57327 [INFO] [stdout] 28: 0x7f7750769b8e - rustc_parse::parser::stmt::::parse_full_stmt::h0b49491ffd3edaa5 [INFO] [stdout] 29: 0x7f77507695c8 - rustc_parse::parser::stmt::::parse_block_tail::h192ed4a24e9d7054 [INFO] [stdout] 30: 0x7f77507687ef - rustc_parse::parser::stmt::::parse_block_common::hc8b59a82269c91e7 [INFO] [stdout] 31: 0x7f775073e995 - rustc_parse::parser::item::::parse_fn::hefcf90127cbcbd75 [INFO] [stdout] 32: 0x7f775072fb1c - rustc_parse::parser::item::::parse_item_kind::ha97c5573f937a5d0 [INFO] [stdout] 33: 0x7f775072cf98 - rustc_parse::parser::item::::parse_item_common::h2f3e3697063cf620 [INFO] [stdout] 34: 0x7f77510f7fe4 - rustc_parse::parser::item::::parse_mod::hdc8bf2d1492ce3bf [INFO] [stdout] 35: 0x7f77511153ae - rustc_parse::parse_crate_from_source_str::h2acfc2f7b1bad7c4 [INFO] [stdout] 36: 0x7f77509d45b8 - rustc_session::utils::::time::hc34c5bc1452f37ce [INFO] [stdout] 37: 0x7f77509bbc7d - rustc_interface::passes::parse::h8410539c11fa4a2c [INFO] [stdout] 38: 0x7f77509b5d87 - rustc_interface::queries::Queries::parse::h07375bcbce94d932 [INFO] [stdout] 39: 0x7f7750995478 - rustc_interface::queries::::enter::h9ff1bb326f6cbdde [INFO] [stdout] 40: 0x7f7750984aec - rustc_span::with_source_map::h35aa4a6792e2f0de [INFO] [stdout] 41: 0x7f775099639a - rustc_interface::interface::create_compiler_and_run::h600b31664ea7498c [INFO] [stdout] 42: 0x7f7750988c79 - scoped_tls::ScopedKey::set::h95fded8ea1ce829a [INFO] [stdout] 43: 0x7f77509850ba - std::sys_common::backtrace::__rust_begin_short_backtrace::hcb9f52ef891273be [INFO] [stdout] 44: 0x7f77509843a5 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h7d639d5804de8241 [INFO] [stdout] 45: 0x7f774e6d5b67 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 46: 0x7f774e6d5b67 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 47: 0x7f774e6d5b67 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 48: 0x7f774e5f1609 - start_thread [INFO] [stdout] 49: 0x7f774e505293 - clone [INFO] [stdout] 50: 0x0 - [INFO] [stdout] [INFO] [stdout] error: internal compiler error: unexpected panic [INFO] [stdout] [INFO] [stdout] note: the compiler unexpectedly panicked. this is a bug. [INFO] [stdout] [INFO] [stdout] note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md [INFO] [stdout] [INFO] [stdout] note: rustc 1.56.0-nightly (d2e9fff28 2021-07-28) running on x86_64-unknown-linux-gnu [INFO] [stdout] [INFO] [stdout] note: compiler flags: -C codegen-units=1 -C embed-bitcode=no --crate-type bin [INFO] [stdout] [INFO] [stdout] query stack during panic: [INFO] [stdout] end of query stack [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 14) [INFO] [stdout] src/lib.rs - (line 24) [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "59ee5412768fd2e66801bcc0130714529aea42ab43a005779053b885ffd18aea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59ee5412768fd2e66801bcc0130714529aea42ab43a005779053b885ffd18aea", kill_on_drop: false }` [INFO] [stdout] 59ee5412768fd2e66801bcc0130714529aea42ab43a005779053b885ffd18aea