[INFO] fetching crate rbot-messages 0.1.1... [INFO] testing rbot-messages-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate rbot-messages 0.1.1 into /workspace/builds/worker-5-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rbot-messages 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18494a47c1cfbf229eda1e297931cbd807f01b0917da56c7d5fa38495f2788cf [INFO] running `Command { std: "docker" "start" "-a" "18494a47c1cfbf229eda1e297931cbd807f01b0917da56c7d5fa38495f2788cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18494a47c1cfbf229eda1e297931cbd807f01b0917da56c7d5fa38495f2788cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18494a47c1cfbf229eda1e297931cbd807f01b0917da56c7d5fa38495f2788cf", kill_on_drop: false }` [INFO] [stdout] 18494a47c1cfbf229eda1e297931cbd807f01b0917da56c7d5fa38495f2788cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29aabb2c322a7543d8a55f91cb87dfb564df90f635f6a9b6cbefd2b601bf3208 [INFO] running `Command { std: "docker" "start" "-a" "29aabb2c322a7543d8a55f91cb87dfb564df90f635f6a9b6cbefd2b601bf3208", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_json v1.0.145 [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 8.70s [INFO] running `Command { std: "docker" "inspect" "29aabb2c322a7543d8a55f91cb87dfb564df90f635f6a9b6cbefd2b601bf3208", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29aabb2c322a7543d8a55f91cb87dfb564df90f635f6a9b6cbefd2b601bf3208", kill_on_drop: false }` [INFO] [stdout] 29aabb2c322a7543d8a55f91cb87dfb564df90f635f6a9b6cbefd2b601bf3208 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac6d9d2d2f975782214bb3a778ea6b3d88837e384c8d3363a10ca1442b6f2c09 [INFO] running `Command { std: "docker" "start" "-a" "ac6d9d2d2f975782214bb3a778ea6b3d88837e384c8d3363a10ca1442b6f2c09", kill_on_drop: false }` [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] [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 1.47s [INFO] running `Command { std: "docker" "inspect" "ac6d9d2d2f975782214bb3a778ea6b3d88837e384c8d3363a10ca1442b6f2c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6d9d2d2f975782214bb3a778ea6b3d88837e384c8d3363a10ca1442b6f2c09", kill_on_drop: false }` [INFO] [stdout] ac6d9d2d2f975782214bb3a778ea6b3d88837e384c8d3363a10ca1442b6f2c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bb65ee0e787785850356c9dfdc6563b24ef41c82e517a79492b10b78085f31fb [INFO] running `Command { std: "docker" "start" "-a" "bb65ee0e787785850356c9dfdc6563b24ef41c82e517a79492b10b78085f31fb", 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.06s [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" "bb65ee0e787785850356c9dfdc6563b24ef41c82e517a79492b10b78085f31fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb65ee0e787785850356c9dfdc6563b24ef41c82e517a79492b10b78085f31fb", kill_on_drop: false }` [INFO] [stdout] bb65ee0e787785850356c9dfdc6563b24ef41c82e517a79492b10b78085f31fb