[INFO] cloning repository https://github.com/scottnm/rust_ffi_demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scottnm/rust_ffi_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottnm%2Frust_ffi_demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottnm%2Frust_ffi_demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4fa9a5428a58bf9fc8b853907c1d158590907c2e [INFO] checking scottnm/rust_ffi_demo against try#89c05fd3cc6404a13e1bd71450c6132a2755fa4b for pr-69741 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscottnm%2Frust_ffi_demo" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/scottnm/rust_ffi_demo on toolchain 89c05fd3cc6404a13e1bd71450c6132a2755fa4b [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/scottnm/rust_ffi_demo [INFO] finished tweaking git repo https://github.com/scottnm/rust_ffi_demo [INFO] tweaked toml for git repo https://github.com/scottnm/rust_ffi_demo written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/scottnm/rust_ffi_demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+89c05fd3cc6404a13e1bd71450c6132a2755fa4b" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 66b75f41a25dc1fb4de2814b512206b7f7ab07436f6b6b8e1daf7fb54c4d55e8 [INFO] running `"docker" "start" "-a" "66b75f41a25dc1fb4de2814b512206b7f7ab07436f6b6b8e1daf7fb54c4d55e8"` [INFO] [stderr] Compiling rust_ffi_demo v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: type `FFI_DL_ChangedEvent` should have an upper camel case name [INFO] [stderr] --> src/main.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct FFI_DL_ChangedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FfiDlChangedEvent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `FFI_DL_EventList` should have an upper camel case name [INFO] [stderr] --> src/main.rs:40:6 [INFO] [stderr] | [INFO] [stderr] 40 | type FFI_DL_EventList = *const *const FFI_DL_Event; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FfiDlEventList` [INFO] [stderr] [INFO] [stderr] warning: type `FFI_DL_ChangedEvent` should have an upper camel case name [INFO] [stderr] --> src/main.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct FFI_DL_ChangedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FfiDlChangedEvent` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `FFI_DL_EventList` should have an upper camel case name [INFO] [stderr] --> src/main.rs:40:6 [INFO] [stderr] | [INFO] [stderr] 40 | type FFI_DL_EventList = *const *const FFI_DL_Event; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FfiDlEventList` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Created` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Created, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Destroyed` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Destroyed, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Changed` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Changed, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FFI_DL_CreatedEvent` [INFO] [stderr] --> src/main.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | struct FFI_DL_CreatedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FFI_DL_DestroyedEvent` [INFO] [stderr] --> src/main.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | struct FFI_DL_DestroyedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | A, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `B` [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | B, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FFI_DL_ChangedEvent` [INFO] [stderr] --> src/main.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct FFI_DL_ChangedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `baseEvent` should have a snake case name [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | baseEvent: FFI_DL_Event, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `creationString` should have a snake case name [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | creationString: *const c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_string` [INFO] [stderr] [INFO] [stderr] warning: structure field `baseEvent` should have a snake case name [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | baseEvent: FFI_DL_Event, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stderr] [INFO] [stderr] warning: structure field `destroyedByte` should have a snake case name [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | destroyedByte: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroyed_byte` [INFO] [stderr] [INFO] [stderr] warning: structure field `baseEvent` should have a snake case name [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | baseEvent: FFI_DL_Event, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stderr] [INFO] [stderr] warning: structure field `changedState` should have a snake case name [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | changedState: FFI_ChangedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `changed_state` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Created` [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Created, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Destroyed` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | Destroyed, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Changed` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | Changed, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FFI_DL_CreatedEvent` [INFO] [stderr] --> src/main.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | struct FFI_DL_CreatedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FFI_DL_DestroyedEvent` [INFO] [stderr] --> src/main.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | struct FFI_DL_DestroyedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `A` [INFO] [stderr] --> src/main.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | A, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `B` [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | B, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `FFI_DL_ChangedEvent` [INFO] [stderr] --> src/main.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | struct FFI_DL_ChangedEvent { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `baseEvent` should have a snake case name [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | baseEvent: FFI_DL_Event, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `creationString` should have a snake case name [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | creationString: *const c_char, [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_string` [INFO] [stderr] [INFO] [stderr] warning: structure field `baseEvent` should have a snake case name [INFO] [stderr] --> src/main.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | baseEvent: FFI_DL_Event, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stderr] [INFO] [stderr] warning: structure field `destroyedByte` should have a snake case name [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | destroyedByte: u8, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `destroyed_byte` [INFO] [stderr] [INFO] [stderr] warning: structure field `baseEvent` should have a snake case name [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | baseEvent: FFI_DL_Event, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `base_event` [INFO] [stderr] [INFO] [stderr] warning: structure field `changedState` should have a snake case name [INFO] [stderr] --> src/main.rs:37:5 [INFO] [stderr] | [INFO] [stderr] 37 | changedState: FFI_ChangedState, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `changed_state` [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `"docker" "inspect" "66b75f41a25dc1fb4de2814b512206b7f7ab07436f6b6b8e1daf7fb54c4d55e8"` [INFO] running `"docker" "rm" "-f" "66b75f41a25dc1fb4de2814b512206b7f7ab07436f6b6b8e1daf7fb54c4d55e8"` [INFO] [stdout] 66b75f41a25dc1fb4de2814b512206b7f7ab07436f6b6b8e1daf7fb54c4d55e8