[INFO] cloning repository https://github.com/Fi3/unpanic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Fi3/unpanic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Funpanic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Funpanic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 34c3abfbd3d349395c88351725ff27e315e55775 [INFO] checking Fi3/unpanic/34c3abfbd3d349395c88351725ff27e315e55775 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFi3%2Funpanic" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Fi3/unpanic on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Fi3/unpanic [INFO] finished tweaking git repo https://github.com/Fi3/unpanic [INFO] tweaked toml for git repo https://github.com/Fi3/unpanic written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Fi3/unpanic already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/Cargo.toml: unused manifest key: edition [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/Cargo.toml: unused manifest key: name [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/Cargo.toml: unused manifest key: version [INFO] [stderr] warning: /workspace/builds/worker-5-tc1/source/Cargo.toml: unused manifest key: workspace.workspace [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded project-root v0.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed95b798f7f043e5be45157336c3f132f8a4a050093369184d3af3cc4ce38215 [INFO] running `Command { std: "docker" "start" "-a" "ed95b798f7f043e5be45157336c3f132f8a4a050093369184d3af3cc4ce38215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed95b798f7f043e5be45157336c3f132f8a4a050093369184d3af3cc4ce38215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed95b798f7f043e5be45157336c3f132f8a4a050093369184d3af3cc4ce38215", kill_on_drop: false }` [INFO] [stdout] ed95b798f7f043e5be45157336c3f132f8a4a050093369184d3af3cc4ce38215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 90284bea6094abedd2acd0abd6af12afa0b477dcfc5a212ff9c8e959df68ca59 [INFO] running `Command { std: "docker" "start" "-a" "90284bea6094abedd2acd0abd6af12afa0b477dcfc5a212ff9c8e959df68ca59", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: edition [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: name [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: version [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.workspace [INFO] [stderr] Checking optional1-lib v0.1.0 (/opt/rustwide/workdir/tests/nested-with-macro/optional1/optional1-lib) [INFO] [stderr] Checking nested-nested-lib v0.1.0 (/opt/rustwide/workdir/tests/nested-libs/nested-nested-lib) [INFO] [stderr] Checking nested-nested-lib-feature v0.1.0 (/opt/rustwide/workdir/tests/nested-libs-feature/nested-nested-lib-feature) [INFO] [stderr] Checking test1_lib v0.1.0 (/opt/rustwide/workdir/tests/test1_lib) [INFO] [stderr] Checking project-root v0.2.2 [INFO] [stderr] Checking unpanic v0.1.0 (/opt/rustwide/workdir/unpanic_) [INFO] [stderr] Checking optional2-lib v0.1.0 (/opt/rustwide/workdir/tests/nested-with-macro/optional2-lib) [INFO] [stderr] Checking atty v0.2.14 [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> unpanic_/src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> unpanic_/src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking interface-nested-lib-feature v0.1.0 (/opt/rustwide/workdir/tests/nested-libs-feature/interface-nested-lib-feature) [INFO] [stdout] error[E0463]: can't find crate for `rustc_error_codes` [INFO] [stdout] --> unpanic_/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_error_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking optional1-macro v0.1.0 (/opt/rustwide/workdir/tests/nested-with-macro/optional1/optional1-macro) [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> unpanic_/src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hash` [INFO] [stdout] --> unpanic_/src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate rustc_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> unpanic_/src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir_analysis` [INFO] [stdout] --> unpanic_/src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rustc_hir_analysis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_data_structures` [INFO] [stdout] --> unpanic_/src/main.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | extern crate rustc_data_structures; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> unpanic_/src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_driver` [INFO] [stdout] --> unpanic_/src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | extern crate rustc_driver; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> unpanic_/src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_error_codes` [INFO] [stdout] --> unpanic_/src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate rustc_error_codes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> unpanic_/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> unpanic_/src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> unpanic_/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_errors` [INFO] [stdout] --> unpanic_/src/main.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate rustc_errors; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hash` [INFO] [stdout] --> unpanic_/src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate rustc_hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_type_ir` [INFO] [stdout] --> unpanic_/src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate rustc_type_ir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir` [INFO] [stdout] --> unpanic_/src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | extern crate rustc_hir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_hir_analysis` [INFO] [stdout] --> unpanic_/src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | extern crate rustc_hir_analysis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking interface-nested-lib v0.1.0 (/opt/rustwide/workdir/tests/nested-libs/interface-nested-lib) [INFO] [stderr] Checking test1_bin v0.1.0 (/opt/rustwide/workdir/tests/test1_bin) [INFO] [stdout] error[E0463]: can't find crate for `rustc_interface` [INFO] [stdout] --> unpanic_/src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate rustc_interface; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_middle` [INFO] [stdout] --> unpanic_/src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate rustc_middle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_session` [INFO] [stdout] --> unpanic_/src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | extern crate rustc_session; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_span` [INFO] [stdout] --> unpanic_/src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate rustc_span; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_target` [INFO] [stdout] --> unpanic_/src/main.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | extern crate rustc_target; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_type_ir` [INFO] [stdout] --> unpanic_/src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate rustc_type_ir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking colored v2.0.0 [INFO] [stdout] warning: unused label [INFO] [stdout] --> tests/test1_bin/src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | 'deny_panic: { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> unpanic_/src/utils.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | opts: Options { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> unpanic_/src/hir_traverser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ForeignCallsToCheck` [INFO] [stdout] --> unpanic_/src/hir_traverser/function_handlers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::ForeignCallsToCheck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::log_panic_in_deny_block` [INFO] [stdout] --> unpanic_/src/hir_traverser/function_handlers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::log_panic_in_deny_block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::log_allow_panic` [INFO] [stdout] --> unpanic_/src/hir_traverser/traversers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::log_allow_panic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ForeignCallsToCheck` [INFO] [stdout] --> unpanic_/src/hir_traverser/traversers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ForeignCallsToCheck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/traversers.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/mod.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | ... /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | ... allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/mod.rs:263:37 [INFO] [stdout] | [INFO] [stdout] 263 | ... /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | ... allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Options` in this scope [INFO] [stdout] --> unpanic_/src/utils.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | opts: Options { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::VecDeque` [INFO] [stdout] --> unpanic_/src/hir_traverser/mod.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::collections::VecDeque; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:368:9 [INFO] [stdout] | [INFO] [stdout] 368 | /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 369 | allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ForeignCallsToCheck` [INFO] [stdout] --> unpanic_/src/hir_traverser/function_handlers.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use super::ForeignCallsToCheck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::log_panic_in_deny_block` [INFO] [stdout] --> unpanic_/src/hir_traverser/function_handlers.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::utils::log_panic_in_deny_block; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::log_allow_panic` [INFO] [stdout] --> unpanic_/src/hir_traverser/traversers.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::log_allow_panic; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ForeignCallsToCheck` [INFO] [stdout] --> unpanic_/src/hir_traverser/traversers.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::ForeignCallsToCheck; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/traversers.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/mod.rs:194:33 [INFO] [stdout] | [INFO] [stdout] 194 | ... /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | ... allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> unpanic_/src/hir_traverser/mod.rs:263:37 [INFO] [stdout] | [INFO] [stdout] 263 | ... /// For each allow_panic that we encounter we save the call_stack [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 264 | ... allow_panics: Vec::new(), [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for expression fields [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> tests/test1_bin/src/main.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | 'deny_panic: { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStruct2` is never constructed [INFO] [stdout] --> tests/test1_bin/src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | struct TestStruct2 {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deny_p` is never used [INFO] [stdout] --> tests/test1_bin/src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl TestStruct2 { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 160 | fn deny_p(&self, th: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> tests/test1_bin/src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> tests/test1_bin/src/main.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | stru2.deny_p(|| {stru.clone();}); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | stru2.deny_p(|| {let _ = stru.clone();}); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'tcx`, which is not constrained by the fn input types [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Vec<( [INFO] [stdout] | ______^ [INFO] [stdout] 64 | | BodyId, [INFO] [stdout] 65 | | (Vec<&'tcx Block<'tcx>>, /* call_stack */ Vec), [INFO] [stdout] 66 | | )> { [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestStruct2` is never constructed [INFO] [stdout] --> tests/test1_bin/src/main.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 158 | struct TestStruct2 {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deny_p` is never used [INFO] [stdout] --> tests/test1_bin/src/main.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 159 | impl TestStruct2 { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 160 | fn deny_p(&self, th: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> tests/test1_bin/src/main.rs:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'tcx`, which is not constrained by the fn input types [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | ) -> Vec<( [INFO] [stdout] | ______^ [INFO] [stdout] 186 | | BodyId, [INFO] [stdout] 187 | | (Vec<&'tcx Block<'tcx>>, /* call_stack */ Vec), [INFO] [stdout] 188 | | )> { [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'tcx`, which is not constrained by the fn input types [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:63:6 [INFO] [stdout] | [INFO] [stdout] 63 | ) -> Vec<( [INFO] [stdout] | ______^ [INFO] [stdout] 64 | | BodyId, [INFO] [stdout] 65 | | (Vec<&'tcx Block<'tcx>>, /* call_stack */ Vec), [INFO] [stdout] 66 | | )> { [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0581]: return type references lifetime `'tcx`, which is not constrained by the fn input types [INFO] [stdout] --> unpanic_/src/hir_traverser/function_collectors.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | ) -> Vec<( [INFO] [stdout] | ______^ [INFO] [stdout] 186 | | BodyId, [INFO] [stdout] 187 | | (Vec<&'tcx Block<'tcx>>, /* call_stack */ Vec), [INFO] [stdout] 188 | | )> { [INFO] [stdout] | |__^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options` [INFO] [stdout] --> unpanic_/src/utils.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | ..Options::default() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Options` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> unpanic_/src/utils.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | input: Input::File(src_path.to_path_buf()), [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CheckCfg` [INFO] [stdout] --> unpanic_/src/utils.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | crate_check_cfg: CheckCfg::default(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CheckCfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0463, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> tests/test1_bin/src/main.rs:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | stru2.deny_p(|| {stru.clone();}); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 170 | stru2.deny_p(|| {let _ = stru.clone();}); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Options` [INFO] [stdout] --> unpanic_/src/utils.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | ..Options::default() [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `Options` [INFO] [stdout] | help: an enum with a similar name exists: `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Input` [INFO] [stdout] --> unpanic_/src/utils.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | input: Input::File(src_path.to_path_buf()), [INFO] [stdout] | ^^^^^ use of undeclared type `Input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CheckCfg` [INFO] [stdout] --> unpanic_/src/utils.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | crate_check_cfg: CheckCfg::default(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `CheckCfg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0433, E0463, E0581. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `unpanic` (bin "unpanic") due to 20 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `unpanic` (bin "unpanic" test) due to 20 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "90284bea6094abedd2acd0abd6af12afa0b477dcfc5a212ff9c8e959df68ca59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90284bea6094abedd2acd0abd6af12afa0b477dcfc5a212ff9c8e959df68ca59", kill_on_drop: false }` [INFO] [stdout] 90284bea6094abedd2acd0abd6af12afa0b477dcfc5a212ff9c8e959df68ca59