[INFO] cloning repository https://github.com/rohankumardubey/rust-bindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rohankumardubey/rust-bindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stderr] warning: refname 'HEAD' is ambiguous. [INFO] [stdout] bcbd72d7f89a1fdfae59fad8db47ca4892d9c940 [INFO] checking rohankumardubey/rust-bindgen against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/rust-bindgen on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] finished tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] tweaked toml for git repo https://github.com/rohankumardubey/rust-bindgen written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/rust-bindgen 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "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 shlex v1.0.0 [INFO] [stderr] Downloaded which v4.2.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea143923dd50b2fffce912aa61917921854172f256448d155b6eca8cfcf28d81 [INFO] running `Command { std: "docker" "start" "-a" "ea143923dd50b2fffce912aa61917921854172f256448d155b6eca8cfcf28d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea143923dd50b2fffce912aa61917921854172f256448d155b6eca8cfcf28d81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea143923dd50b2fffce912aa61917921854172f256448d155b6eca8cfcf28d81", kill_on_drop: false }` [INFO] [stdout] ea143923dd50b2fffce912aa61917921854172f256448d155b6eca8cfcf28d81 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 207b1df3164cad574d50e20a8f09c3f9b3464b721821a59b14e5a4aeb14dc6c5 [INFO] running `Command { std: "docker" "start" "-a" "207b1df3164cad574d50e20a8f09c3f9b3464b721821a59b14e5a4aeb14dc6c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking which v4.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4310:9 [INFO] [stdout] | [INFO] [stdout] 4310 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4310:9 [INFO] [stdout] | [INFO] [stdout] 4310 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/ir/analysis/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 214 | use crate::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_float` is never used [INFO] [stdout] --> src/ir/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 93 | /// Returns `true` if the thing has float, and `false` otherwise. [INFO] [stdout] 94 | fn has_float(&self, ctx: &BindgenContext) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_float` is never used [INFO] [stdout] --> src/ir/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 93 | /// Returns `true` if the thing has float, and `false` otherwise. [INFO] [stdout] 94 | fn has_float(&self, ctx: &BindgenContext) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.38s [INFO] running `Command { std: "docker" "inspect" "207b1df3164cad574d50e20a8f09c3f9b3464b721821a59b14e5a4aeb14dc6c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "207b1df3164cad574d50e20a8f09c3f9b3464b721821a59b14e5a4aeb14dc6c5", kill_on_drop: false }` [INFO] [stdout] 207b1df3164cad574d50e20a8f09c3f9b3464b721821a59b14e5a4aeb14dc6c5 [INFO] checking rohankumardubey/rust-bindgen against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frohankumardubey%2Frust-bindgen" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rohankumardubey/rust-bindgen on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] finished tweaking git repo https://github.com/rohankumardubey/rust-bindgen [INFO] tweaked toml for git repo https://github.com/rohankumardubey/rust-bindgen written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rohankumardubey/rust-bindgen 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d661e89a5fd61e837be7f1f3c6a6e3c28832b6f0e4883c2945026a4c35728ba8 [INFO] running `Command { std: "docker" "start" "-a" "d661e89a5fd61e837be7f1f3c6a6e3c28832b6f0e4883c2945026a4c35728ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d661e89a5fd61e837be7f1f3c6a6e3c28832b6f0e4883c2945026a4c35728ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d661e89a5fd61e837be7f1f3c6a6e3c28832b6f0e4883c2945026a4c35728ba8", kill_on_drop: false }` [INFO] [stdout] d661e89a5fd61e837be7f1f3c6a6e3c28832b6f0e4883c2945026a4c35728ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9bfd2aec0f817bff84a524fbcbcb093e693060a1c4e8d5bdc9199f8219869a56 [INFO] running `Command { std: "docker" "start" "-a" "9bfd2aec0f817bff84a524fbcbcb093e693060a1c4e8d5bdc9199f8219869a56", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling bindgen v0.59.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking peeking_take_while v0.1.2 [INFO] [stderr] Checking shlex v1.0.0 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking diff v0.1.12 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling clang-sys v1.2.0 [INFO] [stderr] Checking quote v1.0.9 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking which v4.2.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4310:9 [INFO] [stdout] | [INFO] [stdout] 4310 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/helpers.rs:136:23 [INFO] [stdout] | [INFO] [stdout] 136 | use proc_macro2::{self, TokenStream}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/struct_layout.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | use proc_macro2::{self, Ident, Span}; [INFO] [stdout] | ^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/codegen/mod.rs:4310:9 [INFO] [stdout] | [INFO] [stdout] 4310 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/ir/analysis/mod.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 213 | use super::*; [INFO] [stdout] | -------- the item `HashMap` is already imported here [INFO] [stdout] 214 | use crate::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/ir/context.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use std::iter::IntoIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use clang_sys::{self, CXCallingConv}; [INFO] [stdout] | ^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `proc_macro2` is imported redundantly [INFO] [stdout] --> src/ir/function.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use proc_macro2; [INFO] [stdout] | ^^^^^^^^^^^ the item `proc_macro2` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `clang_sys` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use clang_sys; [INFO] [stdout] | ^^^^^^^^^ the item `clang_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `regex` is imported redundantly [INFO] [stdout] --> src/ir/item.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use regex; [INFO] [stdout] | ^^^^^ the item `regex` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `cexpr` is imported redundantly [INFO] [stdout] --> src/ir/var.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use cexpr; [INFO] [stdout] | ^^^^^ the item `cexpr` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_float` is never used [INFO] [stdout] --> src/ir/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 93 | /// Returns `true` if the thing has float, and `false` otherwise. [INFO] [stdout] 94 | fn has_float(&self, ctx: &BindgenContext) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_float` is never used [INFO] [stdout] --> src/ir/item.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait HasFloat { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 93 | /// Returns `true` if the thing has float, and `false` otherwise. [INFO] [stdout] 94 | fn has_float(&self, ctx: &BindgenContext) -> bool; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.64s [INFO] running `Command { std: "docker" "inspect" "9bfd2aec0f817bff84a524fbcbcb093e693060a1c4e8d5bdc9199f8219869a56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfd2aec0f817bff84a524fbcbcb093e693060a1c4e8d5bdc9199f8219869a56", kill_on_drop: false }` [INFO] [stdout] 9bfd2aec0f817bff84a524fbcbcb093e693060a1c4e8d5bdc9199f8219869a56