[INFO] cloning repository https://github.com/ogxd/ffidji [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ogxd/ffidji" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogxd%2Fffidji", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogxd%2Fffidji'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc32964bf4bbdd7197714671b0cb343bbce9616c [INFO] checking ogxd/ffidji against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogxd%2Fffidji" "/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/ogxd/ffidji [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/ogxd/ffidji [INFO] tweaked toml for git repo https://github.com/ogxd/ffidji written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ogxd/ffidji on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.5.0 (available: v0.9.0) [INFO] [stderr] Adding rstest v0.12.0 (available: v0.26.1) [INFO] [stderr] Adding serde-xml-rs v0.5.1 (available: v0.8.1) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-xml-rs v0.5.1 [INFO] [stderr] Downloaded strip_bom v1.0.0 [INFO] [stderr] Downloaded structopt v0.2.18 [INFO] [stderr] Downloaded structopt-derive v0.2.18 [INFO] [stderr] Downloaded rstest v0.12.0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7dfbc7d8e22e239583a3fb833da004c67eee9fba84765e6c7abd62018f0cbcf0 [INFO] running `Command { std: "docker" "start" "-a" "7dfbc7d8e22e239583a3fb833da004c67eee9fba84765e6c7abd62018f0cbcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7dfbc7d8e22e239583a3fb833da004c67eee9fba84765e6c7abd62018f0cbcf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dfbc7d8e22e239583a3fb833da004c67eee9fba84765e6c7abd62018f0cbcf0", kill_on_drop: false }` [INFO] [stdout] 7dfbc7d8e22e239583a3fb833da004c67eee9fba84765e6c7abd62018f0cbcf0 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 608f373b47529308036f20ab2a9b18d63a0c505cdbe8554ceaa448143c96c33b [INFO] running `Command { std: "docker" "start" "-a" "608f373b47529308036f20ab2a9b18d63a0c505cdbe8554ceaa448143c96c33b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking xml-rs v0.8.28 [INFO] [stderr] Checking strip_bom v1.0.0 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rstest v0.12.0 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking structopt v0.2.18 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde-xml-rs v0.5.1 [INFO] [stderr] Checking ffidji v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/output.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i8 as int8` [INFO] [stdout] --> src/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use i8 as int8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u8 as uint8` [INFO] [stdout] --> src/output.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use u8 as uint8; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i16 as int16` [INFO] [stdout] --> src/output.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use i16 as int16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u16 as uint16` [INFO] [stdout] --> src/output.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use u16 as uint16; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u32 as uint32` [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use u32 as uint32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i64 as int64` [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use i64 as int64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u64 as uint64` [INFO] [stdout] --> src/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use u64 as uint64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32 as float32` [INFO] [stdout] --> src/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use f32 as float32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f64 as float64` [INFO] [stdout] --> src/output.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use f64 as float64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `string` should have an upper camel case name [INFO] [stdout] --> src/output.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct string [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/interface/type.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/interface/method.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Method { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` 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: struct `PairToSum` is never constructed [INFO] [stdout] --> src/output.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct PairToSum [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayToSum` is never constructed [INFO] [stdout] --> src/output.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct ArrayToSum [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `string` is never constructed [INFO] [stdout] --> src/output.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct string [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `intsToSum_ptr` should have a snake case name [INFO] [stdout] --> src/output.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | intsToSum_ptr: *const int32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ints_to_sum_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `intsToSum_len` should have a snake case name [INFO] [stdout] --> src/output.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | intsToSum_len: int32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ints_to_sum_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/output.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn Sum(A: int32, B: int32) -> int32 [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/output.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn Sum(A: int32, B: int32) -> int32 [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ffi::CStr` [INFO] [stdout] --> src/output.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ffi::CStr; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i8 as int8` [INFO] [stdout] --> src/output.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use i8 as int8; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u8 as uint8` [INFO] [stdout] --> src/output.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use u8 as uint8; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i16 as int16` [INFO] [stdout] --> src/output.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use i16 as int16; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u16 as uint16` [INFO] [stdout] --> src/output.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use u16 as uint16; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u32 as uint32` [INFO] [stdout] --> src/output.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use u32 as uint32; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `i64 as int64` [INFO] [stdout] --> src/output.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use i64 as int64; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `u64 as uint64` [INFO] [stdout] --> src/output.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use u64 as uint64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f32 as float32` [INFO] [stdout] --> src/output.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use f32 as float32; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f64 as float64` [INFO] [stdout] --> src/output.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use f64 as float64; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `string` should have an upper camel case name [INFO] [stdout] --> src/output.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct string [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `String` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/interface/type.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Type { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Type` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/interface/method.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Method { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub description: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Method` 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: struct `PairToSum` is never constructed [INFO] [stdout] --> src/output.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | struct PairToSum [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArrayToSum` is never constructed [INFO] [stdout] --> src/output.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct ArrayToSum [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `string` is never constructed [INFO] [stdout] --> src/output.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct string [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `intsToSum_ptr` should have a snake case name [INFO] [stdout] --> src/output.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | intsToSum_ptr: *const int32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ints_to_sum_ptr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `intsToSum_len` should have a snake case name [INFO] [stdout] --> src/output.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | intsToSum_len: int32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ints_to_sum_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/output.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn Sum(A: int32, B: int32) -> int32 [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `B` should have a snake case name [INFO] [stdout] --> src/output.rs:62:33 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn Sum(A: int32, B: int32) -> int32 [INFO] [stdout] | ^ help: convert the identifier to snake case: `b` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.49s [INFO] running `Command { std: "docker" "inspect" "608f373b47529308036f20ab2a9b18d63a0c505cdbe8554ceaa448143c96c33b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "608f373b47529308036f20ab2a9b18d63a0c505cdbe8554ceaa448143c96c33b", kill_on_drop: false }` [INFO] [stdout] 608f373b47529308036f20ab2a9b18d63a0c505cdbe8554ceaa448143c96c33b