[INFO] fetching crate bindgen_cuda 0.1.5... [INFO] checking bindgen_cuda-0.1.5 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate bindgen_cuda 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate bindgen_cuda 0.1.5 [INFO] finished tweaking crates.io crate bindgen_cuda 0.1.5 [INFO] tweaked toml for crates.io crate bindgen_cuda 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate bindgen_cuda 0.1.5 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 10 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] af1abe533ef6cf2420ed5bc7134aacb4306050ad32aadd430f93ceb3fad3e20a [INFO] running `Command { std: "docker" "start" "-a" "af1abe533ef6cf2420ed5bc7134aacb4306050ad32aadd430f93ceb3fad3e20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "af1abe533ef6cf2420ed5bc7134aacb4306050ad32aadd430f93ceb3fad3e20a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af1abe533ef6cf2420ed5bc7134aacb4306050ad32aadd430f93ceb3fad3e20a", kill_on_drop: false }` [INFO] [stdout] af1abe533ef6cf2420ed5bc7134aacb4306050ad32aadd430f93ceb3fad3e20a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a209714ba6bdf3593dd14baccfee41bbb4bfa738bd493cb64461c9bb17b9ac6f [INFO] running `Command { std: "docker" "start" "-a" "a209714ba6bdf3593dd14baccfee41bbb4bfa738bd493cb64461c9bb17b9ac6f", kill_on_drop: false }` [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking bindgen_cuda v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `ci-check` [INFO] [stdout] --> src/lib.rs:465:11 [INFO] [stdout] | [INFO] [stdout] 465 | #[cfg(feature = "ci-check")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ci-check` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ci-check` [INFO] [stdout] --> src/lib.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg(not(feature = "ci-check"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ci-check` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ci-check` [INFO] [stdout] --> src/lib.rs:465:11 [INFO] [stdout] | [INFO] [stdout] 465 | #[cfg(feature = "ci-check")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ci-check` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `ci-check` [INFO] [stdout] --> src/lib.rs:468:15 [INFO] [stdout] | [INFO] [stdout] 468 | #[cfg(not(feature = "ci-check"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `ci-check` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let compute_cap = compute_cap().ok(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:305:55 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn build_ptx(self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 306 | | let cuda_root = self.cuda_root.expect("Could not find CUDA in standard locations, set it manually using Builder().set_cuda_root(.... [INFO] [stdout] 307 | | let compute_cap = self.compute_cap.expect("Could not find compute_cap"); [INFO] [stdout] 308 | | let cuda_include_dir = cuda_root.join("include"); [INFO] [stdout] ... | [INFO] [stdout] 401 | | }) [INFO] [stdout] 402 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | / Ok(Bindings { [INFO] [stdout] 399 | | write, [INFO] [stdout] 400 | | paths: self.kernel_paths, [INFO] [stdout] 401 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:474:42 [INFO] [stdout] | [INFO] [stdout] 474 | fn compute_cap() -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 475 | | println!("cargo:rerun-if-env-changed=CUDA_COMPUTE_CAP"); [INFO] [stdout] ... | [INFO] [stdout] 537 | | Ok(compute_cap) [INFO] [stdout] 538 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | Ok(compute_cap) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen_cuda` (lib) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:48:27 [INFO] [stdout] | [INFO] [stdout] 48 | let compute_cap = compute_cap().ok(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:305:55 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn build_ptx(self) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 306 | | let cuda_root = self.cuda_root.expect("Could not find CUDA in standard locations, set it manually using Builder().set_cuda_root(.... [INFO] [stdout] 307 | | let compute_cap = self.compute_cap.expect("Could not find compute_cap"); [INFO] [stdout] 308 | | let cuda_include_dir = cuda_root.join("include"); [INFO] [stdout] ... | [INFO] [stdout] 401 | | }) [INFO] [stdout] 402 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | / Ok(Bindings { [INFO] [stdout] 399 | | write, [INFO] [stdout] 400 | | paths: self.kernel_paths, [INFO] [stdout] 401 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:474:42 [INFO] [stdout] | [INFO] [stdout] 474 | fn compute_cap() -> Result { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 475 | | println!("cargo:rerun-if-env-changed=CUDA_COMPUTE_CAP"); [INFO] [stdout] ... | [INFO] [stdout] 537 | | Ok(compute_cap) [INFO] [stdout] 538 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:537:5 [INFO] [stdout] | [INFO] [stdout] 537 | Ok(compute_cap) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bindgen_cuda` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a209714ba6bdf3593dd14baccfee41bbb4bfa738bd493cb64461c9bb17b9ac6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a209714ba6bdf3593dd14baccfee41bbb4bfa738bd493cb64461c9bb17b9ac6f", kill_on_drop: false }` [INFO] [stdout] a209714ba6bdf3593dd14baccfee41bbb4bfa738bd493cb64461c9bb17b9ac6f