[INFO] updating cached repository https://github.com/AaronM04/mio_test [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b2c90d06ba8153af1c1d0052f2e3e83541845ac [INFO] testing AaronM04/mio_test against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaronM04%2Fmio_test" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AaronM04/mio_test on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AaronM04/mio_test [INFO] finished tweaking git repo https://github.com/AaronM04/mio_test [INFO] tweaked toml for git repo https://github.com/AaronM04/mio_test written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/AaronM04/mio_test already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a4671b500c3c7bdd07084f95453d262d3599377bd9e691c287620c631a99982 [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" "7a4671b500c3c7bdd07084f95453d262d3599377bd9e691c287620c631a99982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a4671b500c3c7bdd07084f95453d262d3599377bd9e691c287620c631a99982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a4671b500c3c7bdd07084f95453d262d3599377bd9e691c287620c631a99982", kill_on_drop: false }` [INFO] [stdout] 7a4671b500c3c7bdd07084f95453d262d3599377bd9e691c287620c631a99982 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5c503a77e717b5bef3620402c9eea48886c6b3e2e56cf70c9fb6aa816fc3e8f [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" "e5c503a77e717b5bef3620402c9eea48886c6b3e2e56cf70c9fb6aa816fc3e8f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling nix v0.6.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling bincode v0.6.1 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling mio_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::deprecated::{EventLoop, Handler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::Handler': update to use `Poll` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::deprecated::{EventLoop, Handler}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp': use net module instead [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mio::udp::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rx: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::Handler': update to use `Poll` [INFO] [stdout] --> src/main.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl Handler for UdpHandler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | fn socket(listen_on: net::SocketAddr) -> mio::udp::UdpSocket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let attempt = mio::udp::UdpSocket::bind(&listen_on); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(rx: UdpSocket) -> UdpHandler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: Ready) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | fn notify(&mut self, event_loop: &mut EventLoop, msg: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket::recv_from': use net module instead [INFO] [stdout] --> src/main.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | let received = self.rx.recv_from(&mut buf);//.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::shutdown': update to use `Poll` [INFO] [stdout] --> src/main.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | event_loop.shutdown(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket::bind': use net module instead [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let attempt = mio::udp::UdpSocket::bind(&listen_on); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::new': update to use `Poll` [INFO] [stdout] --> src/main.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::register': update to use `Poll` [INFO] [stdout] --> src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | event_loop.register(&skt, SERVER, Ready::readable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::run': update to use `Poll` [INFO] [stdout] --> src/main.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let _ = event_loop.run(&mut UdpHandler::new(skt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | ... let addr = Some(sock); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> src/main.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | ... let decoded: Packet = bincode::rustc_serialize::decode(&data[..]).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: Ready) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/packet.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "Signature:{:?}", self.signature) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/packet.rs:55:84 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "Numerical:{:?}\n Textual:{:?}\n Vector:{:?}", self.numerical, self.textual, self.vector) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/packet.rs:55:98 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "Numerical:{:?}\n Textual:{:?}\n Vector:{:?}", self.numerical, self.textual, self.vector) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `packetCounter` should have an upper case name [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut packetCounter: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `PACKET_COUNTER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.17s [INFO] running `Command { std: "docker" "inspect" "e5c503a77e717b5bef3620402c9eea48886c6b3e2e56cf70c9fb6aa816fc3e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c503a77e717b5bef3620402c9eea48886c6b3e2e56cf70c9fb6aa816fc3e8f", kill_on_drop: false }` [INFO] [stdout] e5c503a77e717b5bef3620402c9eea48886c6b3e2e56cf70c9fb6aa816fc3e8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4842f697f9e8c817cb30f9c13c9a63cf8ae9b78e83646fea6decd07766d893f0 [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" "4842f697f9e8c817cb30f9c13c9a63cf8ae9b78e83646fea6decd07766d893f0", kill_on_drop: false }` [INFO] [stderr] Compiling mio_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::deprecated::{EventLoop, Handler}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::Handler': update to use `Poll` [INFO] [stdout] --> src/main.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::deprecated::{EventLoop, Handler}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp': use net module instead [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use mio::udp::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rx: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::Handler': update to use `Poll` [INFO] [stdout] --> src/main.rs:31:6 [INFO] [stdout] | [INFO] [stdout] 31 | impl Handler for UdpHandler { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | fn socket(listen_on: net::SocketAddr) -> mio::udp::UdpSocket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let attempt = mio::udp::UdpSocket::bind(&listen_on); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stdout] --> src/main.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | fn new(rx: UdpSocket) -> UdpHandler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:35:42 [INFO] [stdout] | [INFO] [stdout] 35 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: Ready) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stdout] --> src/main.rs:72:43 [INFO] [stdout] | [INFO] [stdout] 72 | fn notify(&mut self, event_loop: &mut EventLoop, msg: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket::recv_from': use net module instead [INFO] [stdout] --> src/main.rs:42:47 [INFO] [stdout] | [INFO] [stdout] 42 | let received = self.rx.recv_from(&mut buf);//.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::shutdown': update to use `Poll` [INFO] [stdout] --> src/main.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | event_loop.shutdown(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::udp::UdpSocket::bind': use net module instead [INFO] [stdout] --> src/main.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | let attempt = mio::udp::UdpSocket::bind(&listen_on); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::new': update to use `Poll` [INFO] [stdout] --> src/main.rs:94:26 [INFO] [stdout] | [INFO] [stdout] 94 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::register': update to use `Poll` [INFO] [stdout] --> src/main.rs:100:16 [INFO] [stdout] | [INFO] [stdout] 100 | event_loop.register(&skt, SERVER, Ready::readable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'mio::deprecated::EventLoop::::run': update to use `Poll` [INFO] [stdout] --> src/main.rs:102:24 [INFO] [stdout] | [INFO] [stdout] 102 | let _ = event_loop.run(&mut UdpHandler::new(skt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/main.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | ... let addr = Some(sock); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decoded` [INFO] [stdout] --> src/main.rs:52:33 [INFO] [stdout] | [INFO] [stdout] 52 | ... let decoded: Packet = bincode::rustc_serialize::decode(&data[..]).unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/main.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: Ready) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/packet.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/packet.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "Signature:{:?}", self.signature) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/packet.rs:55:84 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "Numerical:{:?}\n Textual:{:?}\n Vector:{:?}", self.numerical, self.textual, self.vector) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/packet.rs:55:98 [INFO] [stdout] | [INFO] [stdout] 55 | write!(f, "Numerical:{:?}\n Textual:{:?}\n Vector:{:?}", self.numerical, self.textual, self.vector) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `packetCounter` should have an upper case name [INFO] [stdout] --> src/main.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | static mut packetCounter: u32 = 0; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `PACKET_COUNTER` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "4842f697f9e8c817cb30f9c13c9a63cf8ae9b78e83646fea6decd07766d893f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4842f697f9e8c817cb30f9c13c9a63cf8ae9b78e83646fea6decd07766d893f0", kill_on_drop: false }` [INFO] [stdout] 4842f697f9e8c817cb30f9c13c9a63cf8ae9b78e83646fea6decd07766d893f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 136e8547d99374c52a6e94e906ca2e639b804f98f93973b904123fdc65d2ad35 [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" "136e8547d99374c52a6e94e906ca2e639b804f98f93973b904123fdc65d2ad35", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::io; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stderr] --> src/main.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | use mio::deprecated::{EventLoop, Handler}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::Handler': update to use `Poll` [INFO] [stderr] --> src/main.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | use mio::deprecated::{EventLoop, Handler}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp': use net module instead [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use mio::udp::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | rx: UdpSocket, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::Handler': update to use `Poll` [INFO] [stderr] --> src/main.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | impl Handler for UdpHandler { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stderr] --> src/main.rs:79:42 [INFO] [stderr] | [INFO] [stderr] 79 | fn socket(listen_on: net::SocketAddr) -> mio::udp::UdpSocket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stderr] --> src/main.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | let attempt = mio::udp::UdpSocket::bind(&listen_on); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stderr] --> src/main.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp::UdpSocket': use net module instead [INFO] [stderr] --> src/main.rs:24:16 [INFO] [stderr] | [INFO] [stderr] 24 | fn new(rx: UdpSocket) -> UdpHandler { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stderr] --> src/main.rs:35:42 [INFO] [stderr] | [INFO] [stderr] 35 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: Ready) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop': update to use `Poll` [INFO] [stderr] --> src/main.rs:72:43 [INFO] [stderr] | [INFO] [stderr] 72 | fn notify(&mut self, event_loop: &mut EventLoop, msg: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp::UdpSocket::recv_from': use net module instead [INFO] [stderr] --> src/main.rs:42:47 [INFO] [stderr] | [INFO] [stderr] 42 | let received = self.rx.recv_from(&mut buf);//.unwrap().unwrap(); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop::::shutdown': update to use `Poll` [INFO] [stderr] --> src/main.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | event_loop.shutdown(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::udp::UdpSocket::bind': use net module instead [INFO] [stderr] --> src/main.rs:81:17 [INFO] [stderr] | [INFO] [stderr] 81 | let attempt = mio::udp::UdpSocket::bind(&listen_on); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop::::new': update to use `Poll` [INFO] [stderr] --> src/main.rs:94:26 [INFO] [stderr] | [INFO] [stderr] 94 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop::::register': update to use `Poll` [INFO] [stderr] --> src/main.rs:100:16 [INFO] [stderr] | [INFO] [stderr] 100 | event_loop.register(&skt, SERVER, Ready::readable(), PollOpt::edge()).unwrap(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'mio::deprecated::EventLoop::::run': update to use `Poll` [INFO] [stderr] --> src/main.rs:102:24 [INFO] [stderr] | [INFO] [stderr] 102 | let _ = event_loop.run(&mut UdpHandler::new(skt)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/main.rs:47:33 [INFO] [stderr] | [INFO] [stderr] 47 | ... let addr = Some(sock); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `decoded` [INFO] [stderr] --> src/main.rs:52:33 [INFO] [stderr] | [INFO] [stderr] 52 | ... let decoded: Packet = bincode::rustc_serialize::decode(&data[..]).unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decoded` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `event_loop` [INFO] [stderr] --> src/main.rs:35:25 [INFO] [stderr] | [INFO] [stderr] 35 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: Ready) { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/packet.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/packet.rs:8:42 [INFO] [stderr] | [INFO] [stderr] 8 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/packet.rs:14:10 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/packet.rs:14:42 [INFO] [stderr] | [INFO] [stderr] 14 | #[derive(RustcEncodable, RustcDecodable, PartialEq)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/packet.rs:49:37 [INFO] [stderr] | [INFO] [stderr] 49 | write!(f, "Signature:{:?}", self.signature) [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/packet.rs:55:84 [INFO] [stderr] | [INFO] [stderr] 55 | write!(f, "Numerical:{:?}\n Textual:{:?}\n Vector:{:?}", self.numerical, self.textual, self.vector) [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stderr] --> src/packet.rs:55:98 [INFO] [stderr] | [INFO] [stderr] 55 | write!(f, "Numerical:{:?}\n Textual:{:?}\n Vector:{:?}", self.numerical, self.textual, self.vector) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #46043 [INFO] [stderr] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stderr] [INFO] [stderr] warning: static variable `packetCounter` should have an upper case name [INFO] [stderr] --> src/main.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | static mut packetCounter: u32 = 0; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `PACKET_COUNTER` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 30 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/mio_test-4898f50f957fed8c [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "136e8547d99374c52a6e94e906ca2e639b804f98f93973b904123fdc65d2ad35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "136e8547d99374c52a6e94e906ca2e639b804f98f93973b904123fdc65d2ad35", kill_on_drop: false }` [INFO] [stdout] 136e8547d99374c52a6e94e906ca2e639b804f98f93973b904123fdc65d2ad35