[INFO] fetching crate mosquitto-client 0.1.5... [INFO] checking mosquitto-client-0.1.5 against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] extracting crate mosquitto-client 0.1.5 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate mosquitto-client 0.1.5 on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mosquitto-client 0.1.5 [INFO] finished tweaking crates.io crate mosquitto-client 0.1.5 [INFO] tweaked toml for crates.io crate mosquitto-client 0.1.5 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3172a773f7564886887c3120d4a606c0dbef790c18db1d8318343fd2ee8e9abe [INFO] running `Command { std: "docker" "start" "-a" "3172a773f7564886887c3120d4a606c0dbef790c18db1d8318343fd2ee8e9abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3172a773f7564886887c3120d4a606c0dbef790c18db1d8318343fd2ee8e9abe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3172a773f7564886887c3120d4a606c0dbef790c18db1d8318343fd2ee8e9abe", kill_on_drop: false }` [INFO] [stdout] 3172a773f7564886887c3120d4a606c0dbef790c18db1d8318343fd2ee8e9abe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 80852fc7e0d5c4c31ae1e8e90e2fc48be381d2faf430bad254f80166c20f28a2 [INFO] running `Command { std: "docker" "start" "-a" "80852fc7e0d5c4c31ae1e8e90e2fc48be381d2faf430bad254f80166c20f28a2", kill_on_drop: false }` [INFO] [stderr] Checking mosquitto-client v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub type PwCallback = extern fn (buf: *mut c_char, size: c_int, rwflag: c_int, userdata: *mut Data)->c_int; [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / extern { [INFO] [stdout] 62 | | pub fn mosquitto_lib_version(major: *mut c_int, minor: *mut c_int, revision: *mut c_int) -> c_int; [INFO] [stdout] 63 | | pub fn mosquitto_lib_init() -> c_int; [INFO] [stdout] 64 | | pub fn mosquitto_lib_cleanup() -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 125 | | psk: *const c_char, identity: *const c_char, ciphers: *const c_char) -> c_int; [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | callback: extern fn(*const Mosq, *mut Data, *const Message) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | callback: extern fn(*const Mosq, *mut Data, c_int, *const c_char) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / extern { [INFO] [stdout] 196 | | fn malloc(size: usize) -> *mut u8; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | / extern fn mosq_password_callback(buf: *mut c_char, _size: c_int, _rwflag: c_int, _userdata: *mut Data)->c_int { [INFO] [stdout] 621 | | unsafe { [INFO] [stdout] 622 | | ptr::copy(PASSWORD_PTR, buf, PASSWORD_SIZE+1); [INFO] [stdout] 623 | | PASSWORD_SIZE as c_int [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:660:34 [INFO] [stdout] | [INFO] [stdout] 660 | message_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,MosqMessage) + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:661:34 [INFO] [stdout] | [INFO] [stdout] 661 | connect_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:662:34 [INFO] [stdout] | [INFO] [stdout] 662 | publish_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:663:36 [INFO] [stdout] | [INFO] [stdout] 663 | subscribe_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:664:38 [INFO] [stdout] | [INFO] [stdout] 664 | unsubscribe_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:665:37 [INFO] [stdout] | [INFO] [stdout] 665 | disconnect_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:666:30 [INFO] [stdout] | [INFO] [stdout] 666 | log_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,u32,&str) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:782:1 [INFO] [stdout] | [INFO] [stdout] 782 | / extern fn mosq_connect_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 783 | | if data.is_null() { return; } [INFO] [stdout] 784 | | let this = callback_ref!(data,T); [INFO] [stdout] 785 | | if let Some(ref callback) = this.connect_callback { [INFO] [stdout] 786 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 787 | | } [INFO] [stdout] 788 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:790:1 [INFO] [stdout] | [INFO] [stdout] 790 | / extern fn mosq_publish_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 791 | | if data.is_null() { return; } [INFO] [stdout] 792 | | let this = callback_ref!(data,T); [INFO] [stdout] 793 | | if let Some(ref callback) = this.publish_callback { [INFO] [stdout] 794 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 795 | | } [INFO] [stdout] 796 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:798:1 [INFO] [stdout] | [INFO] [stdout] 798 | / extern fn mosq_message_callback(_: *const Mosq, data: *mut Data, message: *const Message) { [INFO] [stdout] 799 | | if data.is_null() { return; } [INFO] [stdout] 800 | | let this = callback_ref!(data,T); [INFO] [stdout] 801 | | //println!("msg {:?}", unsafe {&*message}); [INFO] [stdout] ... | [INFO] [stdout] 804 | | } [INFO] [stdout] 805 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:807:1 [INFO] [stdout] | [INFO] [stdout] 807 | / extern fn mosq_subscribe_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 808 | | if data.is_null() { return; } [INFO] [stdout] 809 | | let this = callback_ref!(data,T); [INFO] [stdout] 810 | | if let Some(ref callback) = this.subscribe_callback { [INFO] [stdout] 811 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 812 | | } [INFO] [stdout] 813 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:815:1 [INFO] [stdout] | [INFO] [stdout] 815 | / extern fn mosq_unsubscribe_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 816 | | if data.is_null() { return; } [INFO] [stdout] 817 | | let this = callback_ref!(data,T); [INFO] [stdout] 818 | | if let Some(ref callback) = this.unsubscribe_callback { [INFO] [stdout] 819 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 820 | | } [INFO] [stdout] 821 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:823:1 [INFO] [stdout] | [INFO] [stdout] 823 | / extern fn mosq_disconnect_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 824 | | if data.is_null() { return; } [INFO] [stdout] 825 | | let this = callback_ref!(data,T); [INFO] [stdout] 826 | | if let Some(ref callback) = this.disconnect_callback { [INFO] [stdout] 827 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 828 | | } [INFO] [stdout] 829 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:831:1 [INFO] [stdout] | [INFO] [stdout] 831 | / extern fn mosq_log_callback(_: *const Mosq, data: *mut Data, level: c_int, text: *const c_char) { [INFO] [stdout] 832 | | if data.is_null() { return; } [INFO] [stdout] 833 | | let this = callback_ref!(data,T); [INFO] [stdout] 834 | | let text = unsafe { CStr::from_ptr(text).to_str().expect("log text was not UTF-8") }; [INFO] [stdout] ... | [INFO] [stdout] 837 | | } [INFO] [stdout] 838 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 121 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | static INSTANCES: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | pub type PwCallback = extern fn (buf: *mut c_char, size: c_int, rwflag: c_int, userdata: *mut Data)->c_int; [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | / extern { [INFO] [stdout] 62 | | pub fn mosquitto_lib_version(major: *mut c_int, minor: *mut c_int, revision: *mut c_int) -> c_int; [INFO] [stdout] 63 | | pub fn mosquitto_lib_init() -> c_int; [INFO] [stdout] 64 | | pub fn mosquitto_lib_cleanup() -> c_int; [INFO] [stdout] ... | [INFO] [stdout] 125 | | psk: *const c_char, identity: *const c_char, ciphers: *const c_char) -> c_int; [INFO] [stdout] 126 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | callback: extern fn(*const Mosq, *mut Data, *const Message) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 92 | callback: extern fn(*const Mosq, *mut Data, c_int) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys.rs:96:19 [INFO] [stdout] | [INFO] [stdout] 96 | callback: extern fn(*const Mosq, *mut Data, c_int, *const c_char) [INFO] [stdout] | ^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:195:1 [INFO] [stdout] | [INFO] [stdout] 195 | / extern { [INFO] [stdout] 196 | | fn malloc(size: usize) -> *mut u8; [INFO] [stdout] 197 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 620 | / extern fn mosq_password_callback(buf: *mut c_char, _size: c_int, _rwflag: c_int, _userdata: *mut Data)->c_int { [INFO] [stdout] 621 | | unsafe { [INFO] [stdout] 622 | | ptr::copy(PASSWORD_PTR, buf, PASSWORD_SIZE+1); [INFO] [stdout] 623 | | PASSWORD_SIZE as c_int [INFO] [stdout] 624 | | } [INFO] [stdout] 625 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:660:34 [INFO] [stdout] | [INFO] [stdout] 660 | message_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,MosqMessage) + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:661:34 [INFO] [stdout] | [INFO] [stdout] 661 | connect_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:662:34 [INFO] [stdout] | [INFO] [stdout] 662 | publish_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:663:36 [INFO] [stdout] | [INFO] [stdout] 663 | subscribe_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:664:38 [INFO] [stdout] | [INFO] [stdout] 664 | unsubscribe_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:665:37 [INFO] [stdout] | [INFO] [stdout] 665 | disconnect_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,i32) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:666:30 [INFO] [stdout] | [INFO] [stdout] 666 | log_callback: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut T,u32,&str) + 'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:782:1 [INFO] [stdout] | [INFO] [stdout] 782 | / extern fn mosq_connect_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 783 | | if data.is_null() { return; } [INFO] [stdout] 784 | | let this = callback_ref!(data,T); [INFO] [stdout] 785 | | if let Some(ref callback) = this.connect_callback { [INFO] [stdout] 786 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 787 | | } [INFO] [stdout] 788 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:790:1 [INFO] [stdout] | [INFO] [stdout] 790 | / extern fn mosq_publish_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 791 | | if data.is_null() { return; } [INFO] [stdout] 792 | | let this = callback_ref!(data,T); [INFO] [stdout] 793 | | if let Some(ref callback) = this.publish_callback { [INFO] [stdout] 794 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 795 | | } [INFO] [stdout] 796 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:798:1 [INFO] [stdout] | [INFO] [stdout] 798 | / extern fn mosq_message_callback(_: *const Mosq, data: *mut Data, message: *const Message) { [INFO] [stdout] 799 | | if data.is_null() { return; } [INFO] [stdout] 800 | | let this = callback_ref!(data,T); [INFO] [stdout] 801 | | //println!("msg {:?}", unsafe {&*message}); [INFO] [stdout] ... | [INFO] [stdout] 804 | | } [INFO] [stdout] 805 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:807:1 [INFO] [stdout] | [INFO] [stdout] 807 | / extern fn mosq_subscribe_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 808 | | if data.is_null() { return; } [INFO] [stdout] 809 | | let this = callback_ref!(data,T); [INFO] [stdout] 810 | | if let Some(ref callback) = this.subscribe_callback { [INFO] [stdout] 811 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 812 | | } [INFO] [stdout] 813 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:815:1 [INFO] [stdout] | [INFO] [stdout] 815 | / extern fn mosq_unsubscribe_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 816 | | if data.is_null() { return; } [INFO] [stdout] 817 | | let this = callback_ref!(data,T); [INFO] [stdout] 818 | | if let Some(ref callback) = this.unsubscribe_callback { [INFO] [stdout] 819 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 820 | | } [INFO] [stdout] 821 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:823:1 [INFO] [stdout] | [INFO] [stdout] 823 | / extern fn mosq_disconnect_callback(_: *const Mosq, data: *mut Data, rc: c_int) { [INFO] [stdout] 824 | | if data.is_null() { return; } [INFO] [stdout] 825 | | let this = callback_ref!(data,T); [INFO] [stdout] 826 | | if let Some(ref callback) = this.disconnect_callback { [INFO] [stdout] 827 | | callback(&mut this.data, rc as i32); [INFO] [stdout] 828 | | } [INFO] [stdout] 829 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:831:1 [INFO] [stdout] | [INFO] [stdout] 831 | / extern fn mosq_log_callback(_: *const Mosq, data: *mut Data, level: c_int, text: *const c_char) { [INFO] [stdout] 832 | | if data.is_null() { return; } [INFO] [stdout] 833 | | let this = callback_ref!(data,T); [INFO] [stdout] 834 | | let text = unsafe { CStr::from_ptr(text).to_str().expect("log text was not UTF-8") }; [INFO] [stdout] ... | [INFO] [stdout] 837 | | } [INFO] [stdout] 838 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:121:48 [INFO] [stdout] | [INFO] [stdout] 121 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/lib.rs:123:33 [INFO] [stdout] | [INFO] [stdout] 123 | static INSTANCES: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mosquitto-client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 18 previous errors; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "80852fc7e0d5c4c31ae1e8e90e2fc48be381d2faf430bad254f80166c20f28a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80852fc7e0d5c4c31ae1e8e90e2fc48be381d2faf430bad254f80166c20f28a2", kill_on_drop: false }` [INFO] [stdout] 80852fc7e0d5c4c31ae1e8e90e2fc48be381d2faf430bad254f80166c20f28a2