[INFO] cloning repository https://github.com/ssnover/libmodbus-c2rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssnover/libmodbus-c2rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssnover%2Flibmodbus-c2rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssnover%2Flibmodbus-c2rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6f6de7bbd8252a715c666cf778a80803a7b1051 [INFO] testing ssnover/libmodbus-c2rust against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssnover%2Flibmodbus-c2rust" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ssnover/libmodbus-c2rust on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ssnover/libmodbus-c2rust [INFO] finished tweaking git repo https://github.com/ssnover/libmodbus-c2rust [INFO] tweaked toml for git repo https://github.com/ssnover/libmodbus-c2rust written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/ssnover/libmodbus-c2rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99c0827f2c0dba465faefdfc8057b549065e85d9dc95e130705d17c65756b95b [INFO] running `Command { std: "docker" "start" "-a" "99c0827f2c0dba465faefdfc8057b549065e85d9dc95e130705d17c65756b95b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99c0827f2c0dba465faefdfc8057b549065e85d9dc95e130705d17c65756b95b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c0827f2c0dba465faefdfc8057b549065e85d9dc95e130705d17c65756b95b", kill_on_drop: false }` [INFO] [stdout] 99c0827f2c0dba465faefdfc8057b549065e85d9dc95e130705d17c65756b95b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e45fdead6c72d694b06ef3367b2f803c0c1ad68ebaed2cfdf48391984486dd7 [INFO] running `Command { std: "docker" "start" "-a" "9e45fdead6c72d694b06ef3367b2f803c0c1ad68ebaed2cfdf48391984486dd7", kill_on_drop: false }` [INFO] [stderr] Compiling libmodbus v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c2rust-lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(c_variadic)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c2rust-lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #![feature(extern_types)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/c2rust-lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(label_break_value)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_data.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 4 | / fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) [INFO] [stdout] 5 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________- foreign function [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` 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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_data.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 7 | / fn __assert_fail(__assertion: *const libc::c_char, [INFO] [stdout] 8 | | __file: *const libc::c_char, __line: libc::c_uint, [INFO] [stdout] 9 | | __function: *const libc::c_char) -> !; [INFO] [stdout] | |___________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign static [INFO] [stdout] --> src/modbus_rtu.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 7 | static mut stderr: *mut FILE; [INFO] [stdout] | ----------------------------- foreign static [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 9 | fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 11 | fn printf(_: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | --------------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 13 | / fn select(__nfds: libc::c_int, __readfds: *mut fd_set, [INFO] [stdout] 14 | | __writefds: *mut fd_set, __exceptfds: *mut fd_set, [INFO] [stdout] 15 | | __timeout: *mut timeval) -> libc::c_int; [INFO] [stdout] | |______________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 17 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 19 | fn free(_: *mut libc::c_void); [INFO] [stdout] | ------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 21 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 23 | / fn open(__file: *const libc::c_char, __oflag: libc::c_int, _: ...) [INFO] [stdout] 24 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 26 | / fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) [INFO] [stdout] 27 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 29 | / fn strcpy(_: *mut libc::c_char, _: *const libc::c_char) [INFO] [stdout] 30 | | -> *mut libc::c_char; [INFO] [stdout] | |__________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 32 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | --------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 34 | fn strerror(_: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 36 | fn close(__fd: libc::c_int) -> libc::c_int; [INFO] [stdout] | ------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 38 | / fn read(__fd: libc::c_int, __buf: *mut libc::c_void, __nbytes: size_t) [INFO] [stdout] 39 | | -> ssize_t; [INFO] [stdout] | |________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 41 | / fn write(__fd: libc::c_int, __buf: *const libc::c_void, __n: size_t) [INFO] [stdout] 42 | | -> ssize_t; [INFO] [stdout] | |________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 44 | fn usleep(__useconds: __useconds_t) -> libc::c_int; [INFO] [stdout] | --------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 46 | / fn __assert_fail(__assertion: *const libc::c_char, [INFO] [stdout] 47 | | __file: *const libc::c_char, __line: libc::c_uint, [INFO] [stdout] 48 | | __function: *const libc::c_char) -> !; [INFO] [stdout] | |___________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 50 | fn modbus_free(ctx: *mut modbus_t); [INFO] [stdout] | ----------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 52 | / fn _modbus_receive_msg(ctx: *mut modbus_t, msg: *mut uint8_t, [INFO] [stdout] 53 | | msg_type: msg_type_t) -> libc::c_int; [INFO] [stdout] | |________________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 55 | fn _modbus_init_common(ctx: *mut modbus_t); [INFO] [stdout] | ------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 57 | / fn tcsetattr(__fd: libc::c_int, __optional_actions: libc::c_int, [INFO] [stdout] 58 | | __termios_p: *const termios) -> libc::c_int; [INFO] [stdout] | |_____________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 60 | / fn cfsetospeed(__termios_p: *mut termios, __speed: speed_t) [INFO] [stdout] 61 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 63 | / fn cfsetispeed(__termios_p: *mut termios, __speed: speed_t) [INFO] [stdout] 64 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 66 | fn tcgetattr(__fd: libc::c_int, __termios_p: *mut termios) -> libc::c_int; [INFO] [stdout] | -------------------------------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 68 | / fn tcflush(__fd: libc::c_int, __queue_selector: libc::c_int) [INFO] [stdout] 69 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_rtu.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 71 | / fn ioctl(__fd: libc::c_int, __request: libc::c_ulong, _: ...) [INFO] [stdout] 72 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign static [INFO] [stdout] --> src/modbus_tcp.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 7 | static mut stderr: *mut FILE; [INFO] [stdout] | ----------------------------- foreign static [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 9 | fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 11 | fn printf(_: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | --------------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 13 | fn perror(__s: *const libc::c_char); [INFO] [stdout] | ------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 15 | / fn select(__nfds: libc::c_int, __readfds: *mut fd_set, [INFO] [stdout] 16 | | __writefds: *mut fd_set, __exceptfds: *mut fd_set, [INFO] [stdout] 17 | | __timeout: *mut timeval) -> libc::c_int; [INFO] [stdout] | |______________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 19 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 21 | fn free(_: *mut libc::c_void); [INFO] [stdout] | ------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 23 | / fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) [INFO] [stdout] 24 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 26 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 28 | fn close(__fd: libc::c_int) -> libc::c_int; [INFO] [stdout] | ------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 30 | / fn getsockopt(__fd: libc::c_int, __level: libc::c_int, [INFO] [stdout] 31 | | __optname: libc::c_int, __optval: *mut libc::c_void, [INFO] [stdout] 32 | | __optlen: *mut socklen_t) -> libc::c_int; [INFO] [stdout] | |___________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 34 | / fn socket(__domain: libc::c_int, __type: libc::c_int, [INFO] [stdout] 35 | | __protocol: libc::c_int) -> libc::c_int; [INFO] [stdout] | |______________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 37 | / fn bind(__fd: libc::c_int, __addr: *const sockaddr, __len: socklen_t) [INFO] [stdout] 38 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 40 | / fn connect(__fd: libc::c_int, __addr: *const sockaddr, __len: socklen_t) [INFO] [stdout] 41 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 43 | / fn send(__fd: libc::c_int, __buf: *const libc::c_void, __n: size_t, [INFO] [stdout] 44 | | __flags: libc::c_int) -> ssize_t; [INFO] [stdout] | |_____________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 46 | / fn recv(__fd: libc::c_int, __buf: *mut libc::c_void, __n: size_t, [INFO] [stdout] 47 | | __flags: libc::c_int) -> ssize_t; [INFO] [stdout] | |_____________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 49 | / fn setsockopt(__fd: libc::c_int, __level: libc::c_int, [INFO] [stdout] 50 | | __optname: libc::c_int, __optval: *const libc::c_void, [INFO] [stdout] 51 | | __optlen: socklen_t) -> libc::c_int; [INFO] [stdout] | |______________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 53 | fn listen(__fd: libc::c_int, __n: libc::c_int) -> libc::c_int; [INFO] [stdout] | -------------------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 55 | fn shutdown(__fd: libc::c_int, __how: libc::c_int) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 57 | fn htonl(__hostlong: uint32_t) -> uint32_t; [INFO] [stdout] | ------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 59 | fn htons(__hostshort: uint16_t) -> uint16_t; [INFO] [stdout] | -------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 61 | fn inet_addr(__cp: *const libc::c_char) -> in_addr_t; [INFO] [stdout] | ----------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 63 | fn inet_ntoa(__in: in_addr) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 65 | / fn getaddrinfo(__name: *const libc::c_char, [INFO] [stdout] 66 | | __service: *const libc::c_char, __req: *const addrinfo, [INFO] [stdout] 67 | | __pai: *mut *mut addrinfo) -> libc::c_int; [INFO] [stdout] | |_____________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 69 | fn freeaddrinfo(__ai: *mut addrinfo); [INFO] [stdout] | ------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 71 | fn gai_strerror(__ecode: libc::c_int) -> *const libc::c_char; [INFO] [stdout] | ------------------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 73 | fn modbus_free(ctx: *mut modbus_t); [INFO] [stdout] | ----------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 75 | / fn _modbus_receive_msg(ctx: *mut modbus_t, msg: *mut uint8_t, [INFO] [stdout] 76 | | msg_type: msg_type_t) -> libc::c_int; [INFO] [stdout] | |________________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 78 | / fn strlcpy(dest: *mut libc::c_char, src: *const libc::c_char, [INFO] [stdout] 79 | | dest_size: size_t) -> size_t; [INFO] [stdout] | |____________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus_tcp.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 81 | fn _modbus_init_common(ctx: *mut modbus_t); [INFO] [stdout] | ------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign static [INFO] [stdout] --> src/modbus.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 7 | static mut stderr: *mut FILE; [INFO] [stdout] | ----------------------------- foreign static [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 9 | fn fprintf(_: *mut FILE, _: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | ------------------------------------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 11 | fn printf(_: *const libc::c_char, _: ...) -> libc::c_int; [INFO] [stdout] | --------------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 13 | / fn vfprintf(_: *mut FILE, _: *const libc::c_char, _: ::std::ffi::VaList) [INFO] [stdout] 14 | | -> libc::c_int; [INFO] [stdout] | |____________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 16 | / fn memcpy(_: *mut libc::c_void, _: *const libc::c_void, _: libc::c_ulong) [INFO] [stdout] 17 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 19 | / fn memset(_: *mut libc::c_void, _: libc::c_int, _: libc::c_ulong) [INFO] [stdout] 20 | | -> *mut libc::c_void; [INFO] [stdout] | |__________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 22 | fn strlen(_: *const libc::c_char) -> libc::c_ulong; [INFO] [stdout] | --------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 24 | fn strerror(_: libc::c_int) -> *mut libc::c_char; [INFO] [stdout] | ------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 26 | fn malloc(_: libc::c_ulong) -> *mut libc::c_void; [INFO] [stdout] | ------------------------------------------------- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 28 | fn free(_: *mut libc::c_void); [INFO] [stdout] | ------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 30 | fn __errno_location() -> *mut libc::c_int; [INFO] [stdout] | ------------------------------------------ foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 32 | / fn nanosleep(__requested_time: *const timespec, [INFO] [stdout] 33 | | __remaining: *mut timespec) -> libc::c_int; [INFO] [stdout] | |____________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[no_mangle]` has no effect on a foreign function [INFO] [stdout] --> src/modbus.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | #[no_mangle] [INFO] [stdout] | ^^^^^^^^^^^^ help: remove this attribute [INFO] [stdout] 35 | / fn modbus_set_bits_from_bytes(dest: *mut uint8_t, idx: libc::c_int, [INFO] [stdout] 36 | | nb_bits: libc::c_uint, [INFO] [stdout] 37 | | tab_byte: *const uint8_t); [INFO] [stdout] | |____________________________________________________________- foreign function [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: symbol names in extern blocks are not mangled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 71 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libmodbus` due to 4 previous errors; 71 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e45fdead6c72d694b06ef3367b2f803c0c1ad68ebaed2cfdf48391984486dd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e45fdead6c72d694b06ef3367b2f803c0c1ad68ebaed2cfdf48391984486dd7", kill_on_drop: false }` [INFO] [stdout] 9e45fdead6c72d694b06ef3367b2f803c0c1ad68ebaed2cfdf48391984486dd7