[INFO] fetching crate rbot-messages 0.1.1... [INFO] testing rbot-messages-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate rbot-messages 0.1.1 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate rbot-messages 0.1.1 [INFO] finished tweaking crates.io crate rbot-messages 0.1.1 [INFO] tweaked toml for crates.io crate rbot-messages 0.1.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rbot-messages 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 23 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e94871160fd32124f6fd0b64ce7b8976e4c915a6bc70d35d08e57e7050442a3c [INFO] running `Command { std: "docker" "start" "-a" "e94871160fd32124f6fd0b64ce7b8976e4c915a6bc70d35d08e57e7050442a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e94871160fd32124f6fd0b64ce7b8976e4c915a6bc70d35d08e57e7050442a3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94871160fd32124f6fd0b64ce7b8976e4c915a6bc70d35d08e57e7050442a3c", kill_on_drop: false }` [INFO] [stdout] e94871160fd32124f6fd0b64ce7b8976e4c915a6bc70d35d08e57e7050442a3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c3ff6391fcafeb0377ec05e9408fce23ff69d38c9996ae60828ea6682b30cb80 [INFO] running `Command { std: "docker" "start" "-a" "c3ff6391fcafeb0377ec05e9408fce23ff69d38c9996ae60828ea6682b30cb80", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rbot-messages v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn decode_RMsgState(bytes_ptr: *const u8, len: u32) -> msg::RMsgState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:115:71 [INFO] [stdout] | [INFO] [stdout] 115 | pub extern "C" fn decode_RMsgLaser(bytes_ptr: *const u8, len: u32) -> msg::RMsgLaser { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 169 | pub extern "C" fn decode_RMsgScanObject(bytes_ptr: *const u8, len: u32) -> msg::RMsgScanObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:175:70 [INFO] [stdout] | [INFO] [stdout] 175 | pub extern "C" fn decode_RMsgScan(bytes_ptr: *const u8, len: u32) -> msg::RMsgScan { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | pub extern "C" fn encode_RMsgState(message: msg::RMsgState) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | pub extern "C" fn encode_RMsgLaser(message: msg::RMsgLaser) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | pub extern "C" fn encode_RMsgScanObject(message: msg::RMsgScanObject) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | pub extern "C" fn encode_RMsgScan(message: msg::RMsgScan) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.61s [INFO] running `Command { std: "docker" "inspect" "c3ff6391fcafeb0377ec05e9408fce23ff69d38c9996ae60828ea6682b30cb80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3ff6391fcafeb0377ec05e9408fce23ff69d38c9996ae60828ea6682b30cb80", kill_on_drop: false }` [INFO] [stdout] c3ff6391fcafeb0377ec05e9408fce23ff69d38c9996ae60828ea6682b30cb80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a474a50c6d9dc692aec11e9e0971456e391e7138e3adfab589750878bed3e14c [INFO] running `Command { std: "docker" "start" "-a" "a474a50c6d9dc692aec11e9e0971456e391e7138e3adfab589750878bed3e14c", kill_on_drop: false }` [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn decode_RMsgState(bytes_ptr: *const u8, len: u32) -> msg::RMsgState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:115:71 [INFO] [stdout] | [INFO] [stdout] 115 | pub extern "C" fn decode_RMsgLaser(bytes_ptr: *const u8, len: u32) -> msg::RMsgLaser { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 169 | pub extern "C" fn decode_RMsgScanObject(bytes_ptr: *const u8, len: u32) -> msg::RMsgScanObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:175:70 [INFO] [stdout] | [INFO] [stdout] 175 | pub extern "C" fn decode_RMsgScan(bytes_ptr: *const u8, len: u32) -> msg::RMsgScan { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rbot-messages v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | pub extern "C" fn encode_RMsgState(message: msg::RMsgState) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | pub extern "C" fn encode_RMsgLaser(message: msg::RMsgLaser) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | pub extern "C" fn encode_RMsgScanObject(message: msg::RMsgScanObject) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | pub extern "C" fn encode_RMsgScan(message: msg::RMsgScan) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:70:71 [INFO] [stdout] | [INFO] [stdout] 70 | pub extern "C" fn decode_RMsgState(bytes_ptr: *const u8, len: u32) -> msg::RMsgState { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:115:71 [INFO] [stdout] | [INFO] [stdout] 115 | pub extern "C" fn decode_RMsgLaser(bytes_ptr: *const u8, len: u32) -> msg::RMsgLaser { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:169:76 [INFO] [stdout] | [INFO] [stdout] 169 | pub extern "C" fn decode_RMsgScanObject(bytes_ptr: *const u8, len: u32) -> msg::RMsgScanObject { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/decode_bindings.rs:175:70 [INFO] [stdout] | [INFO] [stdout] 175 | pub extern "C" fn decode_RMsgScan(bytes_ptr: *const u8, len: u32) -> msg::RMsgScan { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:68:45 [INFO] [stdout] | [INFO] [stdout] 68 | pub extern "C" fn encode_RMsgState(message: msg::RMsgState) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:117:45 [INFO] [stdout] | [INFO] [stdout] 117 | pub extern "C" fn encode_RMsgLaser(message: msg::RMsgLaser) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:180:50 [INFO] [stdout] | [INFO] [stdout] 180 | pub extern "C" fn encode_RMsgScanObject(message: msg::RMsgScanObject) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/encode_bindings.rs:187:44 [INFO] [stdout] | [INFO] [stdout] 187 | pub extern "C" fn encode_RMsgScan(message: msg::RMsgScan) -> *mut c_char { [INFO] [stdout] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "a474a50c6d9dc692aec11e9e0971456e391e7138e3adfab589750878bed3e14c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a474a50c6d9dc692aec11e9e0971456e391e7138e3adfab589750878bed3e14c", kill_on_drop: false }` [INFO] [stdout] a474a50c6d9dc692aec11e9e0971456e391e7138e3adfab589750878bed3e14c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 01a1baf428389ab19c8bad4e14bef210b999edf61a9a40218a1d95b45f337b62 [INFO] running `Command { std: "docker" "start" "-a" "01a1baf428389ab19c8bad4e14bef210b999edf61a9a40218a1d95b45f337b62", kill_on_drop: false }` [INFO] [stderr] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stderr] --> src/decode_bindings.rs:70:71 [INFO] [stderr] | [INFO] [stderr] 70 | pub extern "C" fn decode_RMsgState(bytes_ptr: *const u8, len: u32) -> msg::RMsgState { [INFO] [stderr] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/decode_bindings.rs:115:71 [INFO] [stderr] | [INFO] [stderr] 115 | pub extern "C" fn decode_RMsgLaser(bytes_ptr: *const u8, len: u32) -> msg::RMsgLaser { [INFO] [stderr] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/decode_bindings.rs:169:76 [INFO] [stderr] | [INFO] [stderr] 169 | pub extern "C" fn decode_RMsgScanObject(bytes_ptr: *const u8, len: u32) -> msg::RMsgScanObject { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stderr] --> src/decode_bindings.rs:175:70 [INFO] [stderr] | [INFO] [stderr] 175 | pub extern "C" fn decode_RMsgScan(bytes_ptr: *const u8, len: u32) -> msg::RMsgScan { [INFO] [stderr] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stderr] --> src/encode_bindings.rs:68:45 [INFO] [stderr] | [INFO] [stderr] 68 | pub extern "C" fn encode_RMsgState(message: msg::RMsgState) -> *mut c_char { [INFO] [stderr] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/encode_bindings.rs:117:45 [INFO] [stderr] | [INFO] [stderr] 117 | pub extern "C" fn encode_RMsgLaser(message: msg::RMsgLaser) -> *mut c_char { [INFO] [stderr] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `std::string::String`, which is not FFI-safe [INFO] [stderr] --> src/encode_bindings.rs:180:50 [INFO] [stderr] | [INFO] [stderr] 180 | pub extern "C" fn encode_RMsgScanObject(message: msg::RMsgScanObject) -> *mut c_char { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Vec`, which is not FFI-safe [INFO] [stderr] --> src/encode_bindings.rs:187:44 [INFO] [stderr] | [INFO] [stderr] 187 | pub extern "C" fn encode_RMsgScan(message: msg::RMsgScan) -> *mut c_char { [INFO] [stderr] | ^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `rbot-messages` (lib) generated 8 warnings [INFO] [stderr] warning: `rbot-messages` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rbot_messages-26d403e3956b9d74) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rbot_messages [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "01a1baf428389ab19c8bad4e14bef210b999edf61a9a40218a1d95b45f337b62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01a1baf428389ab19c8bad4e14bef210b999edf61a9a40218a1d95b45f337b62", kill_on_drop: false }` [INFO] [stdout] 01a1baf428389ab19c8bad4e14bef210b999edf61a9a40218a1d95b45f337b62