[INFO] updating cached repository caleb/syslog_forwarder [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/caleb/syslog_forwarder [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/caleb/syslog_forwarder" "work/ex/beta-1.38-1/sources/1.37.0/gh/caleb/syslog_forwarder"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/caleb/syslog_forwarder'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/caleb/syslog_forwarder" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/caleb/syslog_forwarder"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/caleb/syslog_forwarder'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 09c5465d48272b09fdb9eb57c51a912d5b5bb54e [INFO] sha for GitHub repo caleb/syslog_forwarder: 09c5465d48272b09fdb9eb57c51a912d5b5bb54e [INFO] validating manifest of caleb/syslog_forwarder on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of caleb/syslog_forwarder on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing caleb/syslog_forwarder [INFO] finished frobbing caleb/syslog_forwarder [INFO] frobbed toml for caleb/syslog_forwarder written to work/ex/beta-1.38-1/sources/1.37.0/gh/caleb/syslog_forwarder/Cargo.toml [INFO] started frobbing caleb/syslog_forwarder [INFO] finished frobbing caleb/syslog_forwarder [INFO] frobbed toml for caleb/syslog_forwarder written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/caleb/syslog_forwarder/Cargo.toml [INFO] crate caleb/syslog_forwarder already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/caleb/syslog_forwarder/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio.git` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing caleb/syslog_forwarder against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/caleb/syslog_forwarder:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] e36440d3132e97ecd77b66d27eaadfd75ae8f8231b2ae3e3fa5722ba5652ba6e [INFO] running `"docker" "start" "-a" "e36440d3132e97ecd77b66d27eaadfd75ae8f8231b2ae3e3fa5722ba5652ba6e"` [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling mio v0.7.0 (https://github.com/carllerche/mio.git#3626fdd2) [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling syslog_forwarder v0.2.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `mio::unix::UnixStream` [INFO] [stderr] --> src/connection.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use mio::unix::UnixStream; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `UnixStream` in `unix` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::util` [INFO] [stderr] --> src/incoming.rs:7:10 [INFO] [stderr] | [INFO] [stderr] 7 | use mio::util::*; [INFO] [stderr] | ^^^^ could not find `util` in `mio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::unix::UnixListener` [INFO] [stderr] --> src/incoming.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use mio::unix::UnixListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `UnixListener` in `unix` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bytes::ByteBuf` [INFO] [stderr] --> src/incoming.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use bytes::ByteBuf; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `ByteBuf` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::udp` [INFO] [stderr] --> src/outgoing.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use mio::udp::UdpSocket; [INFO] [stderr] | ^^^ could not find `udp` in `mio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::udp` [INFO] [stderr] --> src/main.rs:26:10 [INFO] [stderr] | [INFO] [stderr] 26 | use mio::udp::UdpSocket; [INFO] [stderr] | ^^^ could not find `udp` in `mio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::unix::UnixSocket` [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | use mio::unix::UnixSocket; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `UnixSocket` in `unix` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::unix::UnixListener` [INFO] [stderr] --> src/main.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | use mio::unix::UnixListener; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ no `UnixListener` in `unix` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Slab` [INFO] [stderr] --> src/incoming.rs:25:20 [INFO] [stderr] | [INFO] [stderr] 25 | connections: Slab::new_starting_at(Token(token_start), 128), [INFO] [stderr] | ^^^^ use of undeclared type or module `Slab` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/incoming.rs:42:29 [INFO] [stderr] | [INFO] [stderr] 42 | EventSet::readable() | EventSet::hup(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/incoming.rs:42:52 [INFO] [stderr] | [INFO] [stderr] 42 | EventSet::readable() | EventSet::hup(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stderr] --> src/incoming.rs:43:29 [INFO] [stderr] | [INFO] [stderr] 43 | PollOpt::level()) [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/outgoing.rs:37:27 [INFO] [stderr] | [INFO] [stderr] 37 | EventSet::writable(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stderr] --> src/outgoing.rs:38:27 [INFO] [stderr] | [INFO] [stderr] 38 | PollOpt::oneshot()).ok(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `SockFlag` in `signal` [INFO] [stderr] --> src/main.rs:64:51 [INFO] [stderr] | [INFO] [stderr] 64 | signal::SockFlag::empty(), [INFO] [stderr] | ^^^^^^^^ could not find `SockFlag` in `signal` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop` [INFO] [stderr] --> src/main.rs:172:24 [INFO] [stderr] | [INFO] [stderr] 172 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `EventLoop` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stderr] --> src/main.rs:192:27 [INFO] [stderr] | [INFO] [stderr] 192 | EventSet::writable(), [INFO] [stderr] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stderr] --> src/main.rs:193:27 [INFO] [stderr] | [INFO] [stderr] 193 | PollOpt::oneshot()).unwrap(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Slab` in this scope [INFO] [stderr] --> src/incoming.rs:17:16 [INFO] [stderr] | [INFO] [stderr] 17 | connections: Slab, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/incoming.rs:30:45 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn accept(&mut self, event_loop: &mut EventLoop, token: Token) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/incoming.rs:49:68 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn readable(&mut self, outgoing: &Outgoing, event_loop: &mut EventLoop, token: Token) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/outgoing.rs:24:73 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn writable(&mut self, incoming: &mut Incoming, _event_loop: &mut EventLoop) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/outgoing.rs:34:45 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn reregister(&self, event_loop: &mut EventLoop) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stderr] --> src/main.rs:116:6 [INFO] [stderr] | [INFO] [stderr] 116 | impl Handler for SyslogForwarder { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/main.rs:120:40 [INFO] [stderr] | [INFO] [stderr] 120 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: mio::EventSet) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventSet` in module `mio` [INFO] [stderr] --> src/main.rs:120:95 [INFO] [stderr] | [INFO] [stderr] 120 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: mio::EventSet) { [INFO] [stderr] | ^^^^^^^^ not found in `mio` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/main.rs:135:42 [INFO] [stderr] | [INFO] [stderr] 135 | fn notify(&mut self, _event_loop: &mut EventLoop, _msg: ()) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/main.rs:139:43 [INFO] [stderr] | [INFO] [stderr] 139 | fn timeout(&mut self, _event_loop: &mut EventLoop, _timeout: ()) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stderr] --> src/main.rs:143:47 [INFO] [stderr] | [INFO] [stderr] 143 | fn interrupted(&mut self, _event_loop: &mut EventLoop) { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0554]: #![feature] may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(collections)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/incoming.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::{Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mio::util::*` [INFO] [stderr] --> src/incoming.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use mio::util::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `mio::*` [INFO] [stderr] --> src/outgoing.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use mio::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:121:8 [INFO] [stderr] | [INFO] [stderr] 121 | if (events.is_writable()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_parens)] on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:126:15 [INFO] [stderr] | [INFO] [stderr] 126 | } else if (events.is_readable()) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] error: aborting due to 30 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0412, E0432, E0433, E0554. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: Could not compile `syslog_forwarder`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "e36440d3132e97ecd77b66d27eaadfd75ae8f8231b2ae3e3fa5722ba5652ba6e"` [INFO] running `"docker" "rm" "-f" "e36440d3132e97ecd77b66d27eaadfd75ae8f8231b2ae3e3fa5722ba5652ba6e"` [INFO] [stdout] e36440d3132e97ecd77b66d27eaadfd75ae8f8231b2ae3e3fa5722ba5652ba6e