[INFO] fetching crate panda-re-sys 0.8.0... [INFO] testing panda-re-sys-0.8.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate panda-re-sys 0.8.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate panda-re-sys 0.8.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5a912f6771e871861af8016da2e66af3be0bf2ec0e9b7d768332bc2d0ff42db [INFO] running `Command { std: "docker" "start" "-a" "e5a912f6771e871861af8016da2e66af3be0bf2ec0e9b7d768332bc2d0ff42db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5a912f6771e871861af8016da2e66af3be0bf2ec0e9b7d768332bc2d0ff42db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a912f6771e871861af8016da2e66af3be0bf2ec0e9b7d768332bc2d0ff42db", kill_on_drop: false }` [INFO] [stdout] e5a912f6771e871861af8016da2e66af3be0bf2ec0e9b7d768332bc2d0ff42db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bb71cdf64efac5b27d8ab517cce1d1805affbc1b5d454bcfa5582216e3a7e92 [INFO] running `Command { std: "docker" "start" "-a" "0bb71cdf64efac5b27d8ab517cce1d1805affbc1b5d454bcfa5582216e3a7e92", 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] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `panda-re-sys` (build script) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "0bb71cdf64efac5b27d8ab517cce1d1805affbc1b5d454bcfa5582216e3a7e92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bb71cdf64efac5b27d8ab517cce1d1805affbc1b5d454bcfa5582216e3a7e92", kill_on_drop: false }` [INFO] [stdout] 0bb71cdf64efac5b27d8ab517cce1d1805affbc1b5d454bcfa5582216e3a7e92