[INFO] fetching crate sioctl 0.0.2... [INFO] checking sioctl-0.0.2 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate sioctl 0.0.2 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate sioctl 0.0.2 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sioctl 0.0.2 [INFO] finished tweaking crates.io crate sioctl 0.0.2 [INFO] tweaked toml for crates.io crate sioctl 0.0.2 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate sioctl 0.0.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sndio-sys v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1584ab2cc0d795085e05842ecaa9480dbcc15b702dfd7d397ff7ba21586731df [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1584ab2cc0d795085e05842ecaa9480dbcc15b702dfd7d397ff7ba21586731df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1584ab2cc0d795085e05842ecaa9480dbcc15b702dfd7d397ff7ba21586731df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1584ab2cc0d795085e05842ecaa9480dbcc15b702dfd7d397ff7ba21586731df", kill_on_drop: false }` [INFO] [stdout] 1584ab2cc0d795085e05842ecaa9480dbcc15b702dfd7d397ff7ba21586731df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4667d4c08537ab29f75365b727c4d5c34c8032d932d7eeebbd0fc5fbc97cb64 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e4667d4c08537ab29f75365b727c4d5c34c8032d932d7eeebbd0fc5fbc97cb64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.53.2 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling clang-sys v0.29.3 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling sndio-sys v0.0.1 [INFO] [stderr] Checking sioctl v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `sioctl_hdl` in this scope [INFO] [stdout] --> src/lib.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | struct Handle(*mut sioctl_hdl); [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `sio_hdl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:39126 [INFO] [stdout] | [INFO] [stdout] 3 | ... derive ( Debug , Copy , Clone ) ] pub struct sio_hdl { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ... [INFO] [stdout] | ------------------ similarly named struct `sio_hdl` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sioctl_hdl` in this scope [INFO] [stdout] --> src/lib.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | fn as_ptr(&self) -> *mut sioctl_hdl { [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `sio_hdl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:39126 [INFO] [stdout] | [INFO] [stdout] 3 | ... derive ( Debug , Copy , Clone ) ] pub struct sio_hdl { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ... [INFO] [stdout] | ------------------ similarly named struct `sio_hdl` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_close` in this scope [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | sioctl_close(self.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `sio_close` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:49036 [INFO] [stdout] | [INFO] [stdout] 3 | ...dl ; } extern "C" { pub fn sio_close ( arg1 : * mut sio_hdl ) ; } extern "C" { pub fn sio_setpar ( arg1 : * mut sio_hdl , arg2 : * mut... [INFO] [stdout] | ------------------------------------------- similarly named function `sio_close` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_open` in this scope [INFO] [stdout] --> src/lib.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let handle = unsafe { sioctl_open(SIO_DEVANY.as_ptr() as *const _, SIOCTL_READ, 0) }; [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `sio_open` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:48860 [INFO] [stdout] | [INFO] [stdout] 3 | ... { pub fn sio_open ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_uint , arg3 : :: std :: os :: raw :: c_int ) -> * mut sio_hdl ; } ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_open` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIOCTL_READ` in this scope [INFO] [stdout] --> src/lib.rs:117:76 [INFO] [stdout] | [INFO] [stdout] 117 | let handle = unsafe { sioctl_open(SIO_DEVANY.as_ptr() as *const _, SIOCTL_READ, 0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_ondesc` in this scope [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | sioctl_ondesc(handle.as_ptr(), Some(ondesc), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_onval` in this scope [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | sioctl_onval(handle.as_ptr(), Some(onval), ptr); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `sio_onvol` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50710 [INFO] [stdout] | [INFO] [stdout] 3 | ... { pub fn sio_onvol ( arg1 : * mut sio_hdl , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : :: std :: os :: raw :: c_uint ) > , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } ... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_onvol` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_nfds` in this scope [INFO] [stdout] --> src/lib.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | let nfds = sioctl_nfds(handle.as_ptr()) as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `sio_nfds` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50133 [INFO] [stdout] | [INFO] [stdout] 3 | ...C" { pub fn sio_nfds ( arg1 : * mut sio_hdl ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sio_pollfd ( arg1 : * mut sio_hd... [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `sio_nfds` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_pollfd` in this scope [INFO] [stdout] --> src/lib.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | let mut nfds = sioctl_pollfd(handle.as_ptr(), pollfds.as_mut_ptr(), POLLIN as i32) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `sio_pollfd` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50223 [INFO] [stdout] | [INFO] [stdout] 3 | ... { pub fn sio_pollfd ( arg1 : * mut sio_hdl , arg2 : * mut pollfd , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_pollfd` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_revents` in this scope [INFO] [stdout] --> src/lib.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | let revents = sioctl_revents(handle.as_ptr(), pollfds.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `sio_revents` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50375 [INFO] [stdout] | [INFO] [stdout] 3 | ...extern "C" { pub fn sio_revents ( arg1 : * mut sio_hdl , arg2 : * mut pollfd ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn... [INFO] [stdout] | --------------------------------------------------------------------------------------------------- similarly named function `sio_revents` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sioctl_desc` in this scope [INFO] [stdout] --> src/lib.rs:327:51 [INFO] [stdout] | [INFO] [stdout] 327 | extern "C" fn ondesc(ptr: *mut c_void, desc: *mut sioctl_desc, value: c_int) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:296:46 [INFO] [stdout] | [INFO] [stdout] 296 | while poll(pollfds.as_mut_ptr(), nfds as u32, -1) < 0 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `(nfds as u32).into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sioctl_hdl` in this scope [INFO] [stdout] --> src/lib.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | struct Handle(*mut sioctl_hdl); [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `sio_hdl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:39126 [INFO] [stdout] | [INFO] [stdout] 3 | ... derive ( Debug , Copy , Clone ) ] pub struct sio_hdl { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ... [INFO] [stdout] | ------------------ similarly named struct `sio_hdl` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sioctl_hdl` in this scope [INFO] [stdout] --> src/lib.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | fn as_ptr(&self) -> *mut sioctl_hdl { [INFO] [stdout] | ^^^^^^^^^^ help: a struct with a similar name exists: `sio_hdl` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:39126 [INFO] [stdout] | [INFO] [stdout] 3 | ... derive ( Debug , Copy , Clone ) ] pub struct sio_hdl { _unused : [ u8 ; 0 ] , } # [ repr ( C ) ] # [ derive ( Debug , Copy , Clone ) ... [INFO] [stdout] | ------------------ similarly named struct `sio_hdl` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_close` in this scope [INFO] [stdout] --> src/lib.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | sioctl_close(self.0); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `sio_close` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:49036 [INFO] [stdout] | [INFO] [stdout] 3 | ...dl ; } extern "C" { pub fn sio_close ( arg1 : * mut sio_hdl ) ; } extern "C" { pub fn sio_setpar ( arg1 : * mut sio_hdl , arg2 : * mut... [INFO] [stdout] | ------------------------------------------- similarly named function `sio_close` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_open` in this scope [INFO] [stdout] --> src/lib.rs:117:31 [INFO] [stdout] | [INFO] [stdout] 117 | let handle = unsafe { sioctl_open(SIO_DEVANY.as_ptr() as *const _, SIOCTL_READ, 0) }; [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `sio_open` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:48860 [INFO] [stdout] | [INFO] [stdout] 3 | ... { pub fn sio_open ( arg1 : * const :: std :: os :: raw :: c_char , arg2 : :: std :: os :: raw :: c_uint , arg3 : :: std :: os :: raw :: c_int ) -> * mut sio_hdl ; } ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_open` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SIOCTL_READ` in this scope [INFO] [stdout] --> src/lib.rs:117:76 [INFO] [stdout] | [INFO] [stdout] 117 | let handle = unsafe { sioctl_open(SIO_DEVANY.as_ptr() as *const _, SIOCTL_READ, 0) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_ondesc` in this scope [INFO] [stdout] --> src/lib.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | sioctl_ondesc(handle.as_ptr(), Some(ondesc), ptr); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_onval` in this scope [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | sioctl_onval(handle.as_ptr(), Some(onval), ptr); [INFO] [stdout] | ^^^^^^^^^^^^ help: a function with a similar name exists: `sio_onvol` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50710 [INFO] [stdout] | [INFO] [stdout] 3 | ... { pub fn sio_onvol ( arg1 : * mut sio_hdl , arg2 : :: std :: option :: Option < unsafe extern "C" fn ( arg1 : * mut :: std :: os :: raw :: c_void , arg2 : :: std :: os :: raw :: c_uint ) > , arg3 : * mut :: std :: os :: raw :: c_void ) -> :: std :: os :: raw :: c_int ; } ... [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_onvol` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_nfds` in this scope [INFO] [stdout] --> src/lib.rs:280:20 [INFO] [stdout] | [INFO] [stdout] 280 | let nfds = sioctl_nfds(handle.as_ptr()) as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: a function with a similar name exists: `sio_nfds` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50133 [INFO] [stdout] | [INFO] [stdout] 3 | ...C" { pub fn sio_nfds ( arg1 : * mut sio_hdl ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn sio_pollfd ( arg1 : * mut sio_hd... [INFO] [stdout] | -------------------------------------------------------------------------- similarly named function `sio_nfds` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_pollfd` in this scope [INFO] [stdout] --> src/lib.rs:282:24 [INFO] [stdout] | [INFO] [stdout] 282 | let mut nfds = sioctl_pollfd(handle.as_ptr(), pollfds.as_mut_ptr(), POLLIN as i32) as usize; [INFO] [stdout] | ^^^^^^^^^^^^^ help: a function with a similar name exists: `sio_pollfd` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50223 [INFO] [stdout] | [INFO] [stdout] 3 | ... { pub fn sio_pollfd ( arg1 : * mut sio_hdl , arg2 : * mut pollfd , arg3 : :: std :: os :: raw :: c_int ) -> :: std :: os :: raw :: c_int ; } ... [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- similarly named function `sio_pollfd` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sioctl_revents` in this scope [INFO] [stdout] --> src/lib.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | let revents = sioctl_revents(handle.as_ptr(), pollfds.as_mut_ptr()); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a function with a similar name exists: `sio_revents` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/target/debug/build/sndio-sys-a1da6dac27c04f83/out/bindings.rs:3:50375 [INFO] [stdout] | [INFO] [stdout] 3 | ...extern "C" { pub fn sio_revents ( arg1 : * mut sio_hdl , arg2 : * mut pollfd ) -> :: std :: os :: raw :: c_int ; } extern "C" { pub fn... [INFO] [stdout] | --------------------------------------------------------------------------------------------------- similarly named function `sio_revents` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `sioctl_desc` in this scope [INFO] [stdout] --> src/lib.rs:327:51 [INFO] [stdout] | [INFO] [stdout] 327 | extern "C" fn ondesc(ptr: *mut c_void, desc: *mut sioctl_desc, value: c_int) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sioctl` [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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:296:46 [INFO] [stdout] | [INFO] [stdout] 296 | while poll(pollfds.as_mut_ptr(), nfds as u32, -1) < 0 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `u32` [INFO] [stdout] | help: you can convert a `u32` to a `u64`: `(nfds as u32).into()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e4667d4c08537ab29f75365b727c4d5c34c8032d932d7eeebbd0fc5fbc97cb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4667d4c08537ab29f75365b727c4d5c34c8032d932d7eeebbd0fc5fbc97cb64", kill_on_drop: false }` [INFO] [stdout] e4667d4c08537ab29f75365b727c4d5c34c8032d932d7eeebbd0fc5fbc97cb64