[INFO] fetching crate event_rust 0.1.1... [INFO] checking event_rust-0.1.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate event_rust 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate event_rust 0.1.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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.6.0) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.36) [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 574d03ee3802b36e3681fdd0256410c310c2f6d05566b9c7c1320488ddff0260 [INFO] running `Command { std: "docker" "start" "-a" "574d03ee3802b36e3681fdd0256410c310c2f6d05566b9c7c1320488ddff0260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "574d03ee3802b36e3681fdd0256410c310c2f6d05566b9c7c1320488ddff0260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "574d03ee3802b36e3681fdd0256410c310c2f6d05566b9c7c1320488ddff0260", kill_on_drop: false }` [INFO] [stdout] 574d03ee3802b36e3681fdd0256410c310c2f6d05566b9c7c1320488ddff0260 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15568e89658d09227acb508ead697e709cef93194f0633ab16d9a714e7ebe7ef [INFO] running `Command { std: "docker" "start" "-a" "15568e89658d09227acb508ead697e709cef93194f0633ab16d9a714e7ebe7ef", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v0.3.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.4.6 [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: split into finer-grained feature gates [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: 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] [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] [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: replaced with `#[rustc_box]` [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: 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] 9 | | } [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] 9 | | } [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: 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/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] 35 | | } [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/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/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] 35 | | } [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: 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] 9 | | } [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] 9 | | } [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: 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] 35 | | } [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] 35 | | } [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: 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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/binary_heap/mod.rs:444:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [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/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/collections/binary_heap/mod.rs:444:5 [INFO] [stdout] help: there is an associated function `from` with a similar name [INFO] [stdout] | [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] error: aborting due to 7 previous errors; 20 warnings emitted [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] [stdout] error: aborting due to 7 previous errors; 20 warnings emitted [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] [stderr] error: could not compile `event_rust` (lib) due to 8 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `event_rust` (lib test) due to 8 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "15568e89658d09227acb508ead697e709cef93194f0633ab16d9a714e7ebe7ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15568e89658d09227acb508ead697e709cef93194f0633ab16d9a714e7ebe7ef", kill_on_drop: false }` [INFO] [stdout] 15568e89658d09227acb508ead697e709cef93194f0633ab16d9a714e7ebe7ef