[INFO] fetching crate sioctl 0.0.2...
[INFO] testing sioctl-0.0.2 against beta-2022-07-10 for beta-1.63-1
[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 beta-2022-07-10
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-10" "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" "+beta-2022-07-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6177f899b6a1592325a901f209634fe2eaaf411d677a77c0b60dd6281bf11848
[INFO] running `Command { std: "docker" "start" "-a" "6177f899b6a1592325a901f209634fe2eaaf411d677a77c0b60dd6281bf11848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6177f899b6a1592325a901f209634fe2eaaf411d677a77c0b60dd6281bf11848", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6177f899b6a1592325a901f209634fe2eaaf411d677a77c0b60dd6281bf11848", kill_on_drop: false }`
[INFO] [stdout] 6177f899b6a1592325a901f209634fe2eaaf411d677a77c0b60dd6281bf11848
[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=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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f02a2e578250a07320c7cfebce707e5c5465eb333a1fed4a1637133dfdf22c08
[INFO] running `Command { std: "docker" "start" "-a" "f02a2e578250a07320c7cfebce707e5c5465eb333a1fed4a1637133dfdf22c08", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling regex-syntax v0.6.17
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling termcolor v1.1.0
[INFO] [stderr]    Compiling bindgen v0.53.2
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling lazycell v1.2.1
[INFO] [stderr]    Compiling nix v0.17.0
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling thread_local v1.0.1
[INFO] [stderr]    Compiling humantime v1.3.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling nom v5.1.1
[INFO] [stderr]    Compiling aho-corasick v0.7.10
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]    Compiling regex v1.3.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling sndio-sys v0.0.1
[INFO] [stderr]    Compiling 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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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-3e320dfc9f4ab2b5/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[E0600]: cannot apply unary operator `-` to type `usize`
[INFO] [stdout]    --> src/lib.rs:296:59
[INFO] [stdout]     |
[INFO] [stdout] 296 |             while poll(pollfds.as_mut_ptr(), nfds as u32, -1) < 0 {
[INFO] [stdout]     |                                                           ^^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           cannot apply unary operator `-`
[INFO] [stdout]     |                                                           help: you may have meant the maximum value of `usize`: `usize::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u64`
[INFO] [stdout]    --> src/lib.rs:296:59
[INFO] [stdout]     |
[INFO] [stdout] 296 |             while poll(pollfds.as_mut_ptr(), nfds as u32, -1) < 0 {
[INFO] [stdout]     |                                                           ^^
[INFO] [stdout]     |                                                           |
[INFO] [stdout]     |                                                           cannot apply unary operator `-`
[INFO] [stdout]     |                                                           help: you may have meant the maximum value of `u64`: `u64::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[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]      |                   ----                       ^^^^^^^^^^^ expected `u64`, found `u32`
[INFO] [stdout]      |                   |
[INFO] [stdout]      |                   arguments to this function are incorrect
[INFO] [stdout]      |
[INFO] [stdout] note: function defined here
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/libc-0.2.69/src/unix/mod.rs:1322:12
[INFO] [stdout]      |
[INFO] [stdout] 1322 |     pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int;
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] help: you can convert a `u32` to a `u64`
[INFO] [stdout]      |
[INFO] [stdout] 296  |             while poll(pollfds.as_mut_ptr(), (nfds as u32).into(), -1) < 0 {
[INFO] [stdout]      |                                              +           ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0425, E0600.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `sioctl` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "f02a2e578250a07320c7cfebce707e5c5465eb333a1fed4a1637133dfdf22c08", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f02a2e578250a07320c7cfebce707e5c5465eb333a1fed4a1637133dfdf22c08", kill_on_drop: false }`
[INFO] [stdout] f02a2e578250a07320c7cfebce707e5c5465eb333a1fed4a1637133dfdf22c08
