[INFO] cloning repository https://github.com/ahihi8z8z/cbindgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahihi8z8z/cbindgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahihi8z8z%2Fcbindgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahihi8z8z%2Fcbindgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6c115701166a1af64277b361a36cecfe28138753 [INFO] checking ahihi8z8z/cbindgen against master#e43d139a82620a268d3828a73e12a8679339e8f8 for pr-143545 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahihi8z8z%2Fcbindgen" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ahihi8z8z/cbindgen [INFO] finished tweaking git repo https://github.com/ahihi8z8z/cbindgen [INFO] tweaked toml for git repo https://github.com/ahihi8z8z/cbindgen written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ahihi8z8z/cbindgen on toolchain e43d139a82620a268d3828a73e12a8679339e8f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ahihi8z8z/cbindgen 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" "+e43d139a82620a268d3828a73e12a8679339e8f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serial_test v0.5.1 [INFO] [stderr] Downloaded serial_test_derive v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb875241a9628445c553c24fbbae96f97c90210970abc7429ec02bda84914db [INFO] running `Command { std: "docker" "start" "-a" "0cb875241a9628445c553c24fbbae96f97c90210970abc7429ec02bda84914db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb875241a9628445c553c24fbbae96f97c90210970abc7429ec02bda84914db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb875241a9628445c553c24fbbae96f97c90210970abc7429ec02bda84914db", kill_on_drop: false }` [INFO] [stdout] 0cb875241a9628445c553c24fbbae96f97c90210970abc7429ec02bda84914db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+e43d139a82620a268d3828a73e12a8679339e8f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 527aabc73bbb46b5976793d57dedc2786dabe094f79a3227cd7f3ff48ca966c2 [INFO] running `Command { std: "docker" "start" "-a" "527aabc73bbb46b5976793d57dedc2786dabe094f79a3227cd7f3ff48ca966c2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.89 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Compiling cbindgen v0.24.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking heck v0.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking quote v1.0.17 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v3.1.6 [INFO] [stderr] Compiling serial_test_derive v0.5.1 [INFO] [stderr] Checking serial_test v0.5.1 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | Io(io::Error), [INFO] [stdout] | -- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 - Io(io::Error), [INFO] [stdout] 14 + Io(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bindgen/cargo/cargo_lock.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | Toml(toml::de::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 - Toml(toml::de::Error), [INFO] [stdout] 16 + Toml(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documentation` is never read [INFO] [stdout] --> src/bindgen/ir/global.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Static { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | pub documentation: Documentation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Static` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bindgen/ir/cfg.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 19 | fn load(key: &str) -> DefineKey<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.65s [INFO] running `Command { std: "docker" "inspect" "527aabc73bbb46b5976793d57dedc2786dabe094f79a3227cd7f3ff48ca966c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "527aabc73bbb46b5976793d57dedc2786dabe094f79a3227cd7f3ff48ca966c2", kill_on_drop: false }` [INFO] [stdout] 527aabc73bbb46b5976793d57dedc2786dabe094f79a3227cd7f3ff48ca966c2