[INFO] fetching crate aes_externalobj 0.1.2... [INFO] checking aes_externalobj-0.1.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate aes_externalobj 0.1.2 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate aes_externalobj 0.1.2 [INFO] finished tweaking crates.io crate aes_externalobj 0.1.2 [INFO] tweaked toml for crates.io crate aes_externalobj 0.1.2 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate aes_externalobj 0.1.2 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] crate crates.io crate aes_externalobj 0.1.2 already has a lockfile, it will not be regenerated [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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mschema v0.1.0 [INFO] [stderr] Downloaded aes_types v0.1.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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f2ab599ecdd295e1f9a6187216648b70eb12fef8fd29393141012fdc5669096 [INFO] running `Command { std: "docker" "start" "-a" "3f2ab599ecdd295e1f9a6187216648b70eb12fef8fd29393141012fdc5669096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f2ab599ecdd295e1f9a6187216648b70eb12fef8fd29393141012fdc5669096", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2ab599ecdd295e1f9a6187216648b70eb12fef8fd29393141012fdc5669096", kill_on_drop: false }` [INFO] [stdout] 3f2ab599ecdd295e1f9a6187216648b70eb12fef8fd29393141012fdc5669096 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f51b2017eefcbb6e90c3fd9c9c4a378c02f698b7ea4df2e42e1a824e16d04dd1 [INFO] running `Command { std: "docker" "start" "-a" "f51b2017eefcbb6e90c3fd9c9c4a378c02f698b7ea4df2e42e1a824e16d04dd1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking aes_types v0.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling mschema v0.1.0 [INFO] [stderr] Checking aes_externalobj v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/shared_lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{c_void, CString, c_long}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CString` [INFO] [stdout] --> src/shared_lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ffi::{c_void, CString, c_long}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 73 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:73:26 [INFO] [stdout] | [INFO] [stdout] 73 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 73 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 92 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 92 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | if error == ES_ERR_OK { [INFO] [stdout] | ----- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 145 | if error == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | if error == ES_ERR_OK { [INFO] [stdout] | ----- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 171 | if error == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | if error == ES_ERR_OK { [INFO] [stdout] | ----- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 145 | if error == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | if error == ES_ERR_OK { [INFO] [stdout] | ----- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 171 | if error == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 188 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:188:26 [INFO] [stdout] | [INFO] [stdout] 188 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 188 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 322 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:322:26 [INFO] [stdout] | [INFO] [stdout] 322 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 322 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 348 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:348:26 [INFO] [stdout] | [INFO] [stdout] 348 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 348 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:385:26 [INFO] [stdout] | [INFO] [stdout] 385 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 385 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server_interface.rs:385:26 [INFO] [stdout] | [INFO] [stdout] 385 | if result == ES_ERR_OK { [INFO] [stdout] | ------ ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 385 | if result == ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shared_lib.rs:216:64 [INFO] [stdout] | [INFO] [stdout] 216 | if (server_interface.getClientData)(h_object, &mut ptr) != ES_ERR_OK { [INFO] [stdout] | ---------------------------------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 216 | if (server_interface.getClientData)(h_object, &mut ptr) != ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/shared_lib.rs:216:64 [INFO] [stdout] | [INFO] [stdout] 216 | if (server_interface.getClientData)(h_object, &mut ptr) != ES_ERR_OK { [INFO] [stdout] | ---------------------------------------------------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 216 | if (server_interface.getClientData)(h_object, &mut ptr) != ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | if dump_result != ES_ERR_OK { [INFO] [stdout] | ----------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 27 | if dump_result != ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:27:43 [INFO] [stdout] | [INFO] [stdout] 27 | if dump_result != ES_ERR_OK { [INFO] [stdout] | ----------- ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `i64` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 27 | if dump_result != ES_ERR_OK.into() { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aes_externalobj` (lib test) due to 16 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern "C" fn ESClientInterface(k_reason: SoCClient_e, p_server: *mut SoServerInterface, h_server: SoHServer) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 33 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 33 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern "C" fn ESClientInterface(k_reason: SoCClient_e, p_server: *mut SoServerInterface, h_server: SoHServer) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 33 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 33 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aes_externalobj` (lib) due to 16 previous errors; 1 warning emitted [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern "C" fn ESClientInterface(k_reason: SoCClient_e, p_server: *mut SoServerInterface, h_server: SoHServer) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 40 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 40 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub extern "C" fn SoCClientInitialize(client: SoCClient_f, memory: *mut SoMemoryInterface) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 51 | return ES_ERR_NO_MEMORY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 51 | return ES_ERR_NO_MEMORY.into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub extern "C" fn SoCClientInitialize(client: SoCClient_f, memory: *mut SoMemoryInterface) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 57 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 57 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub extern "C" fn SoCClientTerminate(client: SoCClient_f) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] 62 | println!("SoCClientTerminate"); [INFO] [stdout] 63 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 63 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 9 | pub extern "C" fn ESClientInterface(k_reason: SoCClient_e, p_server: *mut SoServerInterface, h_server: SoHServer) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 40 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 40 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:51:16 [INFO] [stdout] | [INFO] [stdout] 47 | pub extern "C" fn SoCClientInitialize(client: SoCClient_f, memory: *mut SoMemoryInterface) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 51 | return ES_ERR_NO_MEMORY; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 51 | return ES_ERR_NO_MEMORY.into(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub extern "C" fn SoCClientInitialize(client: SoCClient_f, memory: *mut SoMemoryInterface) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] ... [INFO] [stdout] 57 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 57 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub extern "C" fn SoCClientTerminate(client: SoCClient_f) -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] 62 | println!("SoCClientTerminate"); [INFO] [stdout] 63 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 63 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern "C" fn SoCClientTerminateAll() -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] 68 | println!("SoCClientTerminateAll"); [INFO] [stdout] 69 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 69 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/so_cclient_impl.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub extern "C" fn SoCClientTerminateAll() -> ESerror_t { [INFO] [stdout] | --------- expected `i64` because of return type [INFO] [stdout] 68 | println!("SoCClientTerminateAll"); [INFO] [stdout] 69 | ES_ERR_OK [INFO] [stdout] | ^^^^^^^^^ expected `i64`, found `i32` [INFO] [stdout] | [INFO] [stdout] help: you can convert an `i32` to an `i64` [INFO] [stdout] | [INFO] [stdout] 69 | ES_ERR_OK.into() [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f51b2017eefcbb6e90c3fd9c9c4a378c02f698b7ea4df2e42e1a824e16d04dd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f51b2017eefcbb6e90c3fd9c9c4a378c02f698b7ea4df2e42e1a824e16d04dd1", kill_on_drop: false }` [INFO] [stdout] f51b2017eefcbb6e90c3fd9c9c4a378c02f698b7ea4df2e42e1a824e16d04dd1