[INFO] cloning repository https://github.com/AnimatedRNG/skype-vpn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnimatedRNG/skype-vpn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnimatedRNG%2Fskype-vpn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnimatedRNG%2Fskype-vpn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae1979288b3ea993399676bc672c86e25715e0b4 [INFO] checking AnimatedRNG/skype-vpn against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnimatedRNG%2Fskype-vpn" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnimatedRNG/skype-vpn on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnimatedRNG/skype-vpn [INFO] finished tweaking git repo https://github.com/AnimatedRNG/skype-vpn [INFO] tweaked toml for git repo https://github.com/AnimatedRNG/skype-vpn written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/AnimatedRNG/skype-vpn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 634672b92d58cee15b461db478274aff4eb73196385f06be804885f376373dec [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "634672b92d58cee15b461db478274aff4eb73196385f06be804885f376373dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "634672b92d58cee15b461db478274aff4eb73196385f06be804885f376373dec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "634672b92d58cee15b461db478274aff4eb73196385f06be804885f376373dec", kill_on_drop: false }` [INFO] [stdout] 634672b92d58cee15b461db478274aff4eb73196385f06be804885f376373dec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ff36f40c7844a0bfb278cd7021f68db68f4f626b5513ba0b3077279833d1d25 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3ff36f40c7844a0bfb278cd7021f68db68f4f626b5513ba0b3077279833d1d25", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking reed-solomon v0.2.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Checking skype-vpn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `server_tx` [INFO] [stdout] --> src/main.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | let (server_tx, server_rx) = handle_1_1_udp(server_sock, Some(socket_addr)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BitString` [INFO] [stdout] --> src/image_coder.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type BitString = [u8; FRAME_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ImageBuffer` [INFO] [stdout] --> src/image_coder.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_image_buffer` [INFO] [stdout] --> src/image_coder.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_image_buffer(width: u16, height: u16, data: *mut u8) -> *mut ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `release_resources` [INFO] [stdout] --> src/image_coder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn release_resources(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `delete_handle` [INFO] [stdout] --> src/image_coder.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn delete_handle(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/image_coder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn encode(input: *const BitString, write_buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> src/image_coder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decode(output: *mut BitString, read_buffer: *const ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_UDP_PACKET_LEN` [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const MAX_UDP_PACKET_LEN: usize = 576; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | raw_frame_data.extend([0u8; 2].into_iter()); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | raw_frame_data.extend(v.into_iter()); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:10:75 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_image_buffer(width: u16, height: u16, data: *mut u8) -> *mut ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn release_resources(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn delete_handle(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn encode(input: *const BitString, write_buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decode(output: *mut BitString, read_buffer: *const ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `server_tx` [INFO] [stdout] --> src/main.rs:314:10 [INFO] [stdout] | [INFO] [stdout] 314 | let (server_tx, server_rx) = handle_1_1_udp(server_sock, Some(socket_addr)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_server_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `BitString` [INFO] [stdout] --> src/image_coder.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub type BitString = [u8; FRAME_LEN]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `release_resources` [INFO] [stdout] --> src/image_coder.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn release_resources(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> src/image_coder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn encode(input: *const BitString, write_buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `decode` [INFO] [stdout] --> src/image_coder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decode(output: *mut BitString, read_buffer: *const ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_UDP_PACKET_LEN` [INFO] [stdout] --> src/main.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | const MAX_UDP_PACKET_LEN: usize = 576; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:104:40 [INFO] [stdout] | [INFO] [stdout] 104 | raw_frame_data.extend([0u8; 2].into_iter()); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | raw_frame_data.extend(v.into_iter()); [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:10:75 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn create_image_buffer(width: u16, height: u16, data: *mut u8) -> *mut ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn release_resources(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn delete_handle(buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:16:58 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn encode(input: *const BitString, write_buffer: *mut ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `ImageBuffer`, which is not FFI-safe [INFO] [stdout] --> src/image_coder.rs:18:56 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn decode(output: *mut BitString, read_buffer: *const ImageBuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a member to this struct [INFO] [stdout] = note: this struct has no fields [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/image_coder.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct ImageBuffer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 39.83s [INFO] running `Command { std: "docker" "inspect" "3ff36f40c7844a0bfb278cd7021f68db68f4f626b5513ba0b3077279833d1d25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff36f40c7844a0bfb278cd7021f68db68f4f626b5513ba0b3077279833d1d25", kill_on_drop: false }` [INFO] [stdout] 3ff36f40c7844a0bfb278cd7021f68db68f4f626b5513ba0b3077279833d1d25