[INFO] fetching crate event_rust 0.1.1... [INFO] checking event_rust-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate event_rust 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate event_rust 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate event_rust 0.1.1 [INFO] tweaked toml for crates.io crate event_rust 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate event_rust 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 15 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.3.3 (available: v2.9.3) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c27c8a6c6a8448fdd08558e4e2918881d189d73bf47b8b546c61ce3bff48717 [INFO] running `Command { std: "docker" "start" "-a" "0c27c8a6c6a8448fdd08558e4e2918881d189d73bf47b8b546c61ce3bff48717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c27c8a6c6a8448fdd08558e4e2918881d189d73bf47b8b546c61ce3bff48717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c27c8a6c6a8448fdd08558e4e2918881d189d73bf47b8b546c61ce3bff48717", kill_on_drop: false }` [INFO] [stdout] 0c27c8a6c6a8448fdd08558e4e2918881d189d73bf47b8b546c61ce3bff48717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ac26d11ccc14f5d5665d6bd22f79be3590539d3ac4ed7186948b0d03d3fc21c [INFO] running `Command { std: "docker" "start" "-a" "4ac26d11ccc14f5d5665d6bd22f79be3590539d3ac4ed7186948b0d03d3fc21c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking event_rust v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(negate_unsigned)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(const_fn)] [INFO] [stdout] | ^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.54.0; see for more information [INFO] [stdout] = note: split into finer-grained feature gates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(negate_unsigned)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.0.0 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/lib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | #![feature(box_syntax)] [INFO] [stdout] | ^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in 1.70.0; see for more information [INFO] [stdout] = note: replaced with `#[rustc_box]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let selector = try!(Selector::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | try!(self.run_once()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | let size = try!(self.selector.select(&mut self.evts, 0)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | flags EventFlags: u32 { [INFO] [stdout] 5 | | const FLAG_TIMEOUT = 0b00000001, [INFO] [stdout] 6 | | const FLAG_READ = 0b00000010, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | flags EventFlags: u32 { [INFO] [stdout] 5 | | const FLAG_TIMEOUT = 0b00000001, [INFO] [stdout] 6 | | const FLAG_READ = 0b00000010, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/event_entry.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FLAG_READ` and `FLAG_WRITE` [INFO] [stdout] --> src/event_entry.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub use {EventFlags, FLAG_TIMEOUT, FLAG_READ, FLAG_WRITE, FLAG_PERSIST, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/event_entry.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:90:62 [INFO] [stdout] | [INFO] [stdout] 90 | let addresses: Vec = FromIterator::from_iter(try!(address.to_socket_addrs())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(socketaddr_to_sockaddr(&try!(tosocketaddrs_to_socketaddr(address)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:189:39 [INFO] [stdout] | [INFO] [stdout] 189 | let (socket_addr, received) = try!(self.recvfrom_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | let received = try!(self.recv_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let address = try!(tosocketaddrs_to_sockaddr(toaddress)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys/unix/epoll.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/epoll.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / bitflags!( [INFO] [stdout] 19 | | #[repr(C)] [INFO] [stdout] 20 | | flags EpollEventKind: u32 { [INFO] [stdout] 21 | | const EPOLLIN = 0x001, [INFO] [stdout] ... | [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/epoll.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / bitflags!( [INFO] [stdout] 19 | | #[repr(C)] [INFO] [stdout] 20 | | flags EpollEventKind: u32 { [INFO] [stdout] 21 | | const EPOLLIN = 0x001, [INFO] [stdout] ... | [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/selector.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let epfd = try!(epoll_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/selector.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let cnt = try!(epoll_wait(self.epfd, dst, timeout_ms) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `box_raw` has been stable since 1.4.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(box_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | let selector = try!(Selector::new()); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | try!(self.run_once()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_loop.rs:106:20 [INFO] [stdout] | [INFO] [stdout] 106 | let size = try!(self.selector.select(&mut self.evts, 0)) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | flags EventFlags: u32 { [INFO] [stdout] 5 | | const FLAG_TIMEOUT = 0b00000001, [INFO] [stdout] 6 | | const FLAG_READ = 0b00000010, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/event_flags.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | / bitflags! { [INFO] [stdout] 4 | | flags EventFlags: u32 { [INFO] [stdout] 5 | | const FLAG_TIMEOUT = 0b00000001, [INFO] [stdout] 6 | | const FLAG_READ = 0b00000010, [INFO] [stdout] ... | [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `raw_pointer_derive` has been removed: using derive with raw pointers is ok [INFO] [stdout] --> src/event_entry.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #![allow(raw_pointer_derive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FLAG_READ` and `FLAG_WRITE` [INFO] [stdout] --> src/event_entry.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub use {EventFlags, FLAG_TIMEOUT, FLAG_READ, FLAG_WRITE, FLAG_PERSIST, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/event_entry.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:90:62 [INFO] [stdout] | [INFO] [stdout] 90 | let addresses: Vec = FromIterator::from_iter(try!(address.to_socket_addrs())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:108:32 [INFO] [stdout] | [INFO] [stdout] 108 | Ok(socketaddr_to_sockaddr(&try!(tosocketaddrs_to_socketaddr(address)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let sa = try!(tosocketaddrs_to_sockaddr(address)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:189:39 [INFO] [stdout] | [INFO] [stdout] 189 | let (socket_addr, received) = try!(self.recvfrom_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:213:24 [INFO] [stdout] | [INFO] [stdout] 213 | let received = try!(self.recv_into(&mut a[..], flags)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/socket.rs:227:23 [INFO] [stdout] | [INFO] [stdout] 227 | let address = try!(tosocketaddrs_to_sockaddr(toaddress)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/sys/unix/epoll.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/epoll.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / bitflags!( [INFO] [stdout] 19 | | #[repr(C)] [INFO] [stdout] 20 | | flags EpollEventKind: u32 { [INFO] [stdout] 21 | | const EPOLLIN = 0x001, [INFO] [stdout] ... | [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/epoll.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | / bitflags!( [INFO] [stdout] 19 | | #[repr(C)] [INFO] [stdout] 20 | | flags EpollEventKind: u32 { [INFO] [stdout] 21 | | const EPOLLIN = 0x001, [INFO] [stdout] ... | [INFO] [stdout] 36 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/selector.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | let epfd = try!(epoll_create()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/sys/unix/selector.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let cnt = try!(epoll_wait(self.epfd, dst, timeout_ms) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `box_raw` has been stable since 1.4.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(box_raw)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(collections)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec` found for struct `BinaryHeap` in the current scope [INFO] [stdout] --> src/timer.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | self.timer_queue = BinaryHeap::from_vec(data); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BinaryHeap<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `BinaryHeap<_, _>` consider using one of the following associated functions: [INFO] [stdout] BinaryHeap::::new [INFO] [stdout] BinaryHeap::::with_capacity [INFO] [stdout] BinaryHeap::::new_in [INFO] [stdout] BinaryHeap::::with_capacity_in [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/collections/binary_heap/mod.rs:514:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 46 - self.timer_queue = BinaryHeap::from_vec(data); [INFO] [stdout] 46 + self.timer_queue = BinaryHeap::from(data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_vec` found for struct `BinaryHeap` in the current scope [INFO] [stdout] --> src/timer.rs:46:34 [INFO] [stdout] | [INFO] [stdout] 46 | self.timer_queue = BinaryHeap::from_vec(data); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `BinaryHeap<_, _>` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `BinaryHeap<_, _>` consider using one of the following associated functions: [INFO] [stdout] BinaryHeap::::new [INFO] [stdout] BinaryHeap::::with_capacity [INFO] [stdout] BinaryHeap::::new_in [INFO] [stdout] BinaryHeap::::with_capacity_in [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/alloc/src/collections/binary_heap/mod.rs:514:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [INFO] [stdout] 46 - self.timer_queue = BinaryHeap::from_vec(data); [INFO] [stdout] 46 + self.timer_queue = BinaryHeap::from(data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/selector.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/selector.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/selector.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | if value.events.contains(EPOLLIN) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0793]: reference to packed field is unaligned [INFO] [stdout] --> src/sys/unix/selector.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | if value.events.contains(EPOLLOUT) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: packed structs are only aligned by one byte, and many modern architectures penalize unaligned field accesses [INFO] [stdout] = note: creating a misaligned reference is undefined behavior (even if that reference is never dereferenced) [INFO] [stdout] = help: copy the field contents to a local variable, or replace the reference with a raw pointer and use `read_unaligned`/`write_unaligned` (loads and stores via `*p` must be properly aligned even when using raw pointers) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `event_rust` (lib) due to 7 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0557, E0599, E0635, E0793. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `event_rust` (lib test) due to 7 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ac26d11ccc14f5d5665d6bd22f79be3590539d3ac4ed7186948b0d03d3fc21c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ac26d11ccc14f5d5665d6bd22f79be3590539d3ac4ed7186948b0d03d3fc21c", kill_on_drop: false }` [INFO] [stdout] 4ac26d11ccc14f5d5665d6bd22f79be3590539d3ac4ed7186948b0d03d3fc21c