[INFO] cloning repository https://github.com/shibedrill/webcam-toggle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shibedrill/webcam-toggle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshibedrill%2Fwebcam-toggle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshibedrill%2Fwebcam-toggle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 876b60d0cde286226039f28b413b7d4bca7914ca [INFO] checking shibedrill/webcam-toggle against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshibedrill%2Fwebcam-toggle" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shibedrill/webcam-toggle on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/shibedrill/webcam-toggle [INFO] finished tweaking git repo https://github.com/shibedrill/webcam-toggle [INFO] tweaked toml for git repo https://github.com/shibedrill/webcam-toggle written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/shibedrill/webcam-toggle 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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded embed-resource v2.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 684c3dcc31ee7a7f83460045e0414b8089f2ee0575fde6613b7a8c337137b9fe [INFO] running `Command { std: "docker" "start" "-a" "684c3dcc31ee7a7f83460045e0414b8089f2ee0575fde6613b7a8c337137b9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "684c3dcc31ee7a7f83460045e0414b8089f2ee0575fde6613b7a8c337137b9fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "684c3dcc31ee7a7f83460045e0414b8089f2ee0575fde6613b7a8c337137b9fe", kill_on_drop: false }` [INFO] [stdout] 684c3dcc31ee7a7f83460045e0414b8089f2ee0575fde6613b7a8c337137b9fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bac4974a2d1ea82a2d53ea81c4c464cc325ee039107d6c239f4289883b716d7 [INFO] running `Command { std: "docker" "start" "-a" "3bac4974a2d1ea82a2d53ea81c4c464cc325ee039107d6c239f4289883b716d7", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling semver v1.0.21 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling winnow v0.6.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling indexmap v2.2.3 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.22.6 [INFO] [stderr] Compiling toml v0.8.10 [INFO] [stderr] Compiling embed-resource v2.4.1 [INFO] [stderr] Compiling webcam-toggle v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: environment variable `DEVPATH` not defined at compile time [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let device_instance_path = env!("DEVPATH"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DEVPATH")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::cfg::DN_STARTED, um::cfgmgr32::*}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::cfg::DN_STARTED, um::cfgmgr32::*}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Locate_DevNodeW` in this scope [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | CM_Locate_DevNodeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_DevNode_Status` in this scope [INFO] [stdout] --> src/main.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { CM_Get_DevNode_Status(&mut dev_status, &mut problem_num, dev_node_handle, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Enable_DevNode` in this scope [INFO] [stdout] --> src/main.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { CM_Enable_DevNode(dev_node_handle, 0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Disable_DevNode` in this scope [INFO] [stdout] --> src/main.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { CM_Disable_DevNode(dev_node_handle, 0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_DevNode_Status` in this scope [INFO] [stdout] --> src/main.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { CM_Get_DevNode_Status(&mut dev_status, &mut problem_num, dev_node_handle, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webcam-toggle` (bin "webcam-toggle") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: environment variable `DEVPATH` not defined at compile time [INFO] [stdout] --> src/main.rs:9:32 [INFO] [stdout] | [INFO] [stdout] 9 | let device_instance_path = env!("DEVPATH"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("DEVPATH")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::cfg::DN_STARTED, um::cfgmgr32::*}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::{shared::cfg::DN_STARTED, um::cfgmgr32::*}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Locate_DevNodeW` in this scope [INFO] [stdout] --> src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | CM_Locate_DevNodeW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_DevNode_Status` in this scope [INFO] [stdout] --> src/main.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | unsafe { CM_Get_DevNode_Status(&mut dev_status, &mut problem_num, dev_node_handle, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Enable_DevNode` in this scope [INFO] [stdout] --> src/main.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | unsafe { CM_Enable_DevNode(dev_node_handle, 0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Disable_DevNode` in this scope [INFO] [stdout] --> src/main.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | unsafe { CM_Disable_DevNode(dev_node_handle, 0) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CM_Get_DevNode_Status` in this scope [INFO] [stdout] --> src/main.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { CM_Get_DevNode_Status(&mut dev_status, &mut problem_num, dev_node_handle, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `webcam-toggle` (bin "webcam-toggle" test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "3bac4974a2d1ea82a2d53ea81c4c464cc325ee039107d6c239f4289883b716d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bac4974a2d1ea82a2d53ea81c4c464cc325ee039107d6c239f4289883b716d7", kill_on_drop: false }` [INFO] [stdout] 3bac4974a2d1ea82a2d53ea81c4c464cc325ee039107d6c239f4289883b716d7