[INFO] cloning repository https://github.com/akainq/aes_externalobj [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akainq/aes_externalobj" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakainq%2Faes_externalobj", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakainq%2Faes_externalobj'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 765d87dabe7ac616db3b93ef900f0463321a645a [INFO] checking akainq/aes_externalobj against master#82310651b93a594a3fd69015e1562186a080d94c for pr-145770 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakainq%2Faes_externalobj" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/akainq/aes_externalobj [INFO] finished tweaking git repo https://github.com/akainq/aes_externalobj [INFO] tweaked toml for git repo https://github.com/akainq/aes_externalobj written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/akainq/aes_externalobj on toolchain 82310651b93a594a3fd69015e1562186a080d94c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/akainq/aes_externalobj 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" "+82310651b93a594a3fd69015e1562186a080d94c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc1/source/mschema/Cargo.toml: library `mschema` should only specify `proc-macro = true` instead of setting `crate-type` [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] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.2.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+82310651b93a594a3fd69015e1562186a080d94c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a920c41bd10e5f91a64141528e933424724e0343a5965b52fc98ae08cd86d521 [INFO] running `Command { std: "docker" "start" "-a" "a920c41bd10e5f91a64141528e933424724e0343a5965b52fc98ae08cd86d521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a920c41bd10e5f91a64141528e933424724e0343a5965b52fc98ae08cd86d521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a920c41bd10e5f91a64141528e933424724e0343a5965b52fc98ae08cd86d521", kill_on_drop: false }` [INFO] [stdout] a920c41bd10e5f91a64141528e933424724e0343a5965b52fc98ae08cd86d521 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+82310651b93a594a3fd69015e1562186a080d94c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d7db478fab06de5f4c555114bef0d64fd206ce521420f612a672acf71f5c582 [INFO] running `Command { std: "docker" "start" "-a" "9d7db478fab06de5f4c555114bef0d64fd206ce521420f612a672acf71f5c582", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/mschema/Cargo.toml: library `mschema` should only specify `proc-macro = true` instead of setting `crate-type` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking quote v1.0.38 [INFO] [stderr] Checking syn v2.0.98 [INFO] [stderr] Compiling aes_types v0.1.0 (/opt/rustwide/workdir/aes_types) [INFO] [stdout] warning: unused import: `c_void` [INFO] [stdout] --> aes_types/src/lib.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{c_char, c_long, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hObject` should have a snake case name [INFO] [stdout] --> aes_types/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub hObject: *mut c_long, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_void` [INFO] [stdout] --> aes_types/src/lib.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{c_char, c_long, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `c_void` [INFO] [stdout] --> aes_types/src/lib.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | use libc::{c_char, c_long, c_void}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hObject` should have a snake case name [INFO] [stdout] --> aes_types/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub hObject: *mut c_long, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hObject` should have a snake case name [INFO] [stdout] --> aes_types/src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub hObject: *mut c_long, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `h_object` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ctor v0.2.9 [INFO] [stderr] Compiling mschema v0.1.0 (/opt/rustwide/workdir/mschema) [INFO] [stdout] warning: unused import: `format_ident` [INFO] [stdout] --> mschema/src/lib.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{quote, format_ident}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> mschema/src/lib.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{ItemFn, Meta, parse::Parse, parse::ParseStream, Token, Lit, Expr, Type, FnArg, PatType, parse_macro_input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ES_ERR_OK`, `Error`, and `TaggedData` [INFO] [stdout] --> mschema/src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use aes_types::{TaggedData, Error, ES_ERR_OK}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> mschema/src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let return_type = if let syn::ReturnType::Type(_, ty) = &input_fn.sig.output { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_ident` [INFO] [stdout] --> mschema/src/lib.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{quote, format_ident}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `format_ident` [INFO] [stdout] --> mschema/src/lib.rs:2:20 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::{quote, format_ident}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> mschema/src/lib.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{ItemFn, Meta, parse::Parse, parse::ParseStream, Token, Lit, Expr, Type, FnArg, PatType, parse_macro_input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ES_ERR_OK`, `Error`, and `TaggedData` [INFO] [stdout] --> mschema/src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use aes_types::{TaggedData, Error, ES_ERR_OK}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> mschema/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SIGNATURES` is never used [INFO] [stdout] --> mschema/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static mut SIGNATURES: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Type` [INFO] [stdout] --> mschema/src/lib.rs:3:77 [INFO] [stdout] | [INFO] [stdout] 3 | use syn::{ItemFn, Meta, parse::Parse, parse::ParseStream, Token, Lit, Expr, Type, FnArg, PatType, parse_macro_input}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ES_ERR_OK`, `Error`, and `TaggedData` [INFO] [stdout] --> mschema/src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use aes_types::{TaggedData, Error, ES_ERR_OK}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> mschema/src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let return_type = if let syn::ReturnType::Type(_, ty) = &input_fn.sig.output { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `return_type` [INFO] [stdout] --> mschema/src/lib.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | let return_type = if let syn::ReturnType::Type(_, ty) = &input_fn.sig.output { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_return_type` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> mschema/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SIGNATURES` is never used [INFO] [stdout] --> mschema/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static mut SIGNATURES: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `INIT` is never used [INFO] [stdout] --> mschema/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | static INIT: Once = Once::new(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SIGNATURES` is never used [INFO] [stdout] --> mschema/src/lib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | static mut SIGNATURES: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [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: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: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: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/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: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] [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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aes_externalobj` (lib) due to 16 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: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: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: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/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: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] [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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aes_externalobj` (lib test) due to 16 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9d7db478fab06de5f4c555114bef0d64fd206ce521420f612a672acf71f5c582", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d7db478fab06de5f4c555114bef0d64fd206ce521420f612a672acf71f5c582", kill_on_drop: false }` [INFO] [stdout] 9d7db478fab06de5f4c555114bef0d64fd206ce521420f612a672acf71f5c582