[INFO] cloning repository https://github.com/imoken1122/asi-camera-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imoken1122/asi-camera-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Fasi-camera-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Fasi-camera-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 36d78045b28b0d3073af721d676c1679d8dfd40b [INFO] checking imoken1122/asi-camera-rs against try#dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e for pr-153721 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Fasi-camera-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/imoken1122/asi-camera-rs [INFO] finished tweaking git repo https://github.com/imoken1122/asi-camera-rs [INFO] tweaked toml for git repo https://github.com/imoken1122/asi-camera-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/imoken1122/asi-camera-rs on toolchain dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/imoken1122/asi-camera-rs 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" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750 [INFO] running `Command { std: "docker" "start" "94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750" "/opt/rustwide/cargo-home/bin/cargo" "+dcc22e5232dd0dbe95a4b3ab84c8d24a0880771e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling prettyplease v0.2.13 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling bindgen v0.66.1 [INFO] [stderr] Compiling rustix v0.38.11 [INFO] [stderr] Checking flate2 v1.0.27 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling syn v2.0.30 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling bitflags v2.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking smallvec v1.11.0 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking chrono v0.4.28 [INFO] [stderr] Checking regex-automata v0.3.8 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.7.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Compiling asi-camera-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if cfg!(target_os = "macos") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "macos"` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(misleading_cfg_in_build_script)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | if cfg!(target_os = "linux") && cfg!(target_arch = "x86_64") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:16:37 [INFO] [stdout] | [INFO] [stdout] 16 | if cfg!(target_os = "linux") && cfg!(target_arch = "x86_64") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default() == "x86_64"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | if cfg!(target_os = "linux") && cfg!(target_arch = "x86") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | if cfg!(target_os = "linux") && cfg!(target_arch = "x86") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default() == "x86"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | if cfg!(target_os = "linux") && cfg!(target_arch = "arm") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | if cfg!(target_os = "linux") && cfg!(target_arch = "arm") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default() == "arm"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | if cfg!(target_os = "linux") && cfg!(target_arch = "aarch64") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "linux"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | if cfg!(target_os = "linux") && cfg!(target_arch = "aarch64") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_ARCH").unwrap_or_default() == "aarch64"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: target-based cfg should be avoided in build scripts [INFO] [stdout] --> build.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | if cfg!(target_os = "windows") { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use cargo environment variables if possible: `std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default() == "windows"` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `asi-camera-rs` (build script) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750", kill_on_drop: false }` [INFO] [stdout] 94b3e0383633ce61201f71135d4e150c08d23e1bba1c0a8a089275b638e48750