[INFO] cloning repository https://github.com/shiwenlong12/signal-imple [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiwenlong12/signal-imple" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Fsignal-imple", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Fsignal-imple'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d421d33f32405884f4f25448f4f722cdfbc897a6 [INFO] checking shiwenlong12/signal-imple against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiwenlong12%2Fsignal-imple" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shiwenlong12/signal-imple [INFO] finished tweaking git repo https://github.com/shiwenlong12/signal-imple [INFO] tweaked toml for git repo https://github.com/shiwenlong12/signal-imple written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shiwenlong12/signal-imple on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shiwenlong12/signal-imple 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bb6cb8d5217f55a4997f410e92d1f3c8d4375da16a5638024c917033d0f109c [INFO] running `Command { std: "docker" "start" "-a" "6bb6cb8d5217f55a4997f410e92d1f3c8d4375da16a5638024c917033d0f109c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bb6cb8d5217f55a4997f410e92d1f3c8d4375da16a5638024c917033d0f109c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bb6cb8d5217f55a4997f410e92d1f3c8d4375da16a5638024c917033d0f109c", kill_on_drop: false }` [INFO] [stdout] 6bb6cb8d5217f55a4997f410e92d1f3c8d4375da16a5638024c917033d0f109c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56a51d5a929edb23c15edce26b17115e1ec04ec11f0246c016ee3643a9888169 [INFO] running `Command { std: "docker" "start" "-a" "56a51d5a929edb23c15edce26b17115e1ec04ec11f0246c016ee3643a9888169", kill_on_drop: false }` [INFO] [stderr] Checking numeric-enum-macro v0.2.0 [INFO] [stderr] Checking signal-defs v0.1.0 (https://github.com/shiwenlong12/signal-defs#c2b3e1f9) [INFO] [stderr] Checking signal v0.1.0 (https://github.com/shiwenlong12/signal#03680086) [INFO] [stderr] Checking signal-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::LocalContext` [INFO] [stdout] --> src/lib.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use crate::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `LocalContext` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct instead [INFO] [stdout] | [INFO] [stdout] 195 - use crate::LocalContext; [INFO] [stdout] 195 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalContext` in this scope [INFO] [stdout] --> src/lib.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | UserSignal(LocalContext), // 是用户信号,需要保存之前的用户栈 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalContext` in this scope [INFO] [stdout] --> src/lib.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn handle_signals(&mut self, current_context: &mut LocalContext) -> SignalResult { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalContext` in this scope [INFO] [stdout] --> src/lib.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | fn sig_return(&mut self, current_context: &mut LocalContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalContext` in this scope [INFO] [stdout] --> src/lib.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | UserSignal(LocalContext), // 是用户信号,需要保存之前的用户栈 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalContext` in this scope [INFO] [stdout] --> src/lib.rs:126:56 [INFO] [stdout] | [INFO] [stdout] 126 | fn handle_signals(&mut self, current_context: &mut LocalContext) -> SignalResult { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LocalContext` in this scope [INFO] [stdout] --> src/lib.rs:172:52 [INFO] [stdout] | [INFO] [stdout] 172 | fn sig_return(&mut self, current_context: &mut LocalContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(feature = "user")] [INFO] [stdout] | ---------------- the item is gated behind the `user` feature [INFO] [stdout] 8 | use signal::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "kernel")] [INFO] [stdout] | ------------------ the item is gated behind the `kernel` feature [INFO] [stdout] 10 | use kernel_context::LocalContext; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use signal::LocalContext; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `signal-impl` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `signal-impl` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "56a51d5a929edb23c15edce26b17115e1ec04ec11f0246c016ee3643a9888169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56a51d5a929edb23c15edce26b17115e1ec04ec11f0246c016ee3643a9888169", kill_on_drop: false }` [INFO] [stdout] 56a51d5a929edb23c15edce26b17115e1ec04ec11f0246c016ee3643a9888169