[INFO] fetching crate panda-re-sys 0.8.0... [INFO] checking panda-re-sys-0.8.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate panda-re-sys 0.8.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate panda-re-sys 0.8.0 [INFO] finished tweaking crates.io crate panda-re-sys 0.8.0 [INFO] tweaked toml for crates.io crate panda-re-sys 0.8.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate panda-re-sys 0.8.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1a636b48307da154d436d37c6e8a2021d7412e5b60e23981259d0fde91159df7 [INFO] running `Command { std: "docker" "start" "-a" "1a636b48307da154d436d37c6e8a2021d7412e5b60e23981259d0fde91159df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1a636b48307da154d436d37c6e8a2021d7412e5b60e23981259d0fde91159df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a636b48307da154d436d37c6e8a2021d7412e5b60e23981259d0fde91159df7", kill_on_drop: false }` [INFO] [stdout] 1a636b48307da154d436d37c6e8a2021d7412e5b60e23981259d0fde91159df7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c39ad1ddfbedd370f28e75c226af1e97499e8098f87a4002c1d24111a86f84be [INFO] running `Command { std: "docker" "start" "-a" "c39ad1ddfbedd370f28e75c226af1e97499e8098f87a4002c1d24111a86f84be", kill_on_drop: false }` [INFO] [stderr] Compiling panda-re-sys v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `ARCH` in this scope [INFO] [stdout] --> build.rs:79:70 [INFO] [stdout] | [INFO] [stdout] 79 | let dylib_path = get_panda_path().join(format!("{}-softmmu", ARCH)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "x86_64")] [INFO] [stdout] | ------------------ the item is gated behind the `x86_64` feature [INFO] [stdout] 50 | const ARCH: &str = "x86_64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "i386")] [INFO] [stdout] | ---------------- the item is gated behind the `i386` feature [INFO] [stdout] 53 | const ARCH: &str = "i386"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "arm")] [INFO] [stdout] | --------------- the item is gated behind the `arm` feature [INFO] [stdout] 56 | const ARCH: &str = "arm"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "aarch64")] [INFO] [stdout] | ------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 59 | const ARCH: &str = "aarch64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(feature = "ppc")] [INFO] [stdout] | --------------- the item is gated behind the `ppc` feature [INFO] [stdout] 62 | const ARCH: &str = "ppc"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "mips")] [INFO] [stdout] | ---------------- the item is gated behind the `mips` feature [INFO] [stdout] 65 | const ARCH: &str = "mips"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "mipsel")] [INFO] [stdout] | ------------------ the item is gated behind the `mipsel` feature [INFO] [stdout] 68 | const ARCH: &str = "mipsel"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "mips64")] [INFO] [stdout] | ------------------ the item is gated behind the `mips64` feature [INFO] [stdout] 71 | const ARCH: &str = "mips64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(feature = "mips64el")] [INFO] [stdout] | -------------------- the item is gated behind the `mips64el` feature [INFO] [stdout] 74 | const ARCH: &str = "mips64el"; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ARCH` in this scope [INFO] [stdout] --> build.rs:80:57 [INFO] [stdout] | [INFO] [stdout] 80 | println!("cargo:rustc-link-lib=dylib=panda-{}", ARCH); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "x86_64")] [INFO] [stdout] | ------------------ the item is gated behind the `x86_64` feature [INFO] [stdout] 50 | const ARCH: &str = "x86_64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "i386")] [INFO] [stdout] | ---------------- the item is gated behind the `i386` feature [INFO] [stdout] 53 | const ARCH: &str = "i386"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "arm")] [INFO] [stdout] | --------------- the item is gated behind the `arm` feature [INFO] [stdout] 56 | const ARCH: &str = "arm"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "aarch64")] [INFO] [stdout] | ------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 59 | const ARCH: &str = "aarch64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(feature = "ppc")] [INFO] [stdout] | --------------- the item is gated behind the `ppc` feature [INFO] [stdout] 62 | const ARCH: &str = "ppc"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "mips")] [INFO] [stdout] | ---------------- the item is gated behind the `mips` feature [INFO] [stdout] 65 | const ARCH: &str = "mips"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "mipsel")] [INFO] [stdout] | ------------------ the item is gated behind the `mipsel` feature [INFO] [stdout] 68 | const ARCH: &str = "mipsel"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "mips64")] [INFO] [stdout] | ------------------ the item is gated behind the `mips64` feature [INFO] [stdout] 71 | const ARCH: &str = "mips64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(feature = "mips64el")] [INFO] [stdout] | -------------------- the item is gated behind the `mips64el` feature [INFO] [stdout] 74 | const ARCH: &str = "mips64el"; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ARCH` in this scope [INFO] [stdout] --> build.rs:85:55 [INFO] [stdout] | [INFO] [stdout] 85 | dylib_path.join(format!("libpanda-{}.so", ARCH)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "x86_64")] [INFO] [stdout] | ------------------ the item is gated behind the `x86_64` feature [INFO] [stdout] 50 | const ARCH: &str = "x86_64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "i386")] [INFO] [stdout] | ---------------- the item is gated behind the `i386` feature [INFO] [stdout] 53 | const ARCH: &str = "i386"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "arm")] [INFO] [stdout] | --------------- the item is gated behind the `arm` feature [INFO] [stdout] 56 | const ARCH: &str = "arm"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "aarch64")] [INFO] [stdout] | ------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 59 | const ARCH: &str = "aarch64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(feature = "ppc")] [INFO] [stdout] | --------------- the item is gated behind the `ppc` feature [INFO] [stdout] 62 | const ARCH: &str = "ppc"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "mips")] [INFO] [stdout] | ---------------- the item is gated behind the `mips` feature [INFO] [stdout] 65 | const ARCH: &str = "mips"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "mipsel")] [INFO] [stdout] | ------------------ the item is gated behind the `mipsel` feature [INFO] [stdout] 68 | const ARCH: &str = "mipsel"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "mips64")] [INFO] [stdout] | ------------------ the item is gated behind the `mips64` feature [INFO] [stdout] 71 | const ARCH: &str = "mips64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(feature = "mips64el")] [INFO] [stdout] | -------------------- the item is gated behind the `mips64el` feature [INFO] [stdout] 74 | const ARCH: &str = "mips64el"; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ARCH` in this scope [INFO] [stdout] --> build.rs:90:49 [INFO] [stdout] | [INFO] [stdout] 90 | .join(format!("libpanda-{}.so", ARCH)), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 49 | #[cfg(feature = "x86_64")] [INFO] [stdout] | ------------------ the item is gated behind the `x86_64` feature [INFO] [stdout] 50 | const ARCH: &str = "x86_64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:53:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[cfg(feature = "i386")] [INFO] [stdout] | ---------------- the item is gated behind the `i386` feature [INFO] [stdout] 53 | const ARCH: &str = "i386"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[cfg(feature = "arm")] [INFO] [stdout] | --------------- the item is gated behind the `arm` feature [INFO] [stdout] 56 | const ARCH: &str = "arm"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 58 | #[cfg(feature = "aarch64")] [INFO] [stdout] | ------------------- the item is gated behind the `aarch64` feature [INFO] [stdout] 59 | const ARCH: &str = "aarch64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(feature = "ppc")] [INFO] [stdout] | --------------- the item is gated behind the `ppc` feature [INFO] [stdout] 62 | const ARCH: &str = "ppc"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 64 | #[cfg(feature = "mips")] [INFO] [stdout] | ---------------- the item is gated behind the `mips` feature [INFO] [stdout] 65 | const ARCH: &str = "mips"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 67 | #[cfg(feature = "mipsel")] [INFO] [stdout] | ------------------ the item is gated behind the `mipsel` feature [INFO] [stdout] 68 | const ARCH: &str = "mipsel"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(feature = "mips64")] [INFO] [stdout] | ------------------ the item is gated behind the `mips64` feature [INFO] [stdout] 71 | const ARCH: &str = "mips64"; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> build.rs:74:7 [INFO] [stdout] | [INFO] [stdout] 73 | #[cfg(feature = "mips64el")] [INFO] [stdout] | -------------------- the item is gated behind the `mips64el` feature [INFO] [stdout] 74 | const ARCH: &str = "mips64el"; [INFO] [stdout] | ^^^^ [INFO] [stdout] help: consider importing one of these constants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::consts::ARCH; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `panda-re-sys` (build script) due to 4 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c39ad1ddfbedd370f28e75c226af1e97499e8098f87a4002c1d24111a86f84be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39ad1ddfbedd370f28e75c226af1e97499e8098f87a4002c1d24111a86f84be", kill_on_drop: false }` [INFO] [stdout] c39ad1ddfbedd370f28e75c226af1e97499e8098f87a4002c1d24111a86f84be