[INFO] updating cached repository https://github.com/caleb/syslog_forwarder [INFO] running `"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"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 09c5465d48272b09fdb9eb57c51a912d5b5bb54e [INFO] testing caleb/syslog_forwarder against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaleb%2Fsyslog_forwarder" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caleb/syslog_forwarder on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/caleb/syslog_forwarder [INFO] finished tweaking git repo https://github.com/caleb/syslog_forwarder [INFO] tweaked toml for git repo https://github.com/caleb/syslog_forwarder written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/caleb/syslog_forwarder already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7e39b146a0a5b803f09a0f2e5590ee3b47dfc730cdfed2323dab0cca17a0c384 [INFO] running `"docker" "start" "-a" "7e39b146a0a5b803f09a0f2e5590ee3b47dfc730cdfed2323dab0cca17a0c384"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling nix v0.17.0 [INFO] [stderr] Compiling mio v0.7.0 (https://github.com/carllerche/mio.git#68805cbe) [INFO] [stderr] Compiling syslog_forwarder v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `mio::unix` [INFO] [stderr] --> src/connection.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | use mio::unix::UnixStream; [INFO] [stderr] | ^^^^ could not find `unix` in `mio` [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` [INFO] [stderr] --> src/incoming.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | use mio::unix::UnixListener; [INFO] [stderr] | ^^^^ could not find `unix` in `mio` [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` [INFO] [stderr] --> src/main.rs:27:10 [INFO] [stderr] | [INFO] [stderr] 27 | use mio::unix::UnixSocket; [INFO] [stderr] | ^^^^ could not find `unix` in `mio` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mio::unix` [INFO] [stderr] --> src/main.rs:28:10 [INFO] [stderr] | [INFO] [stderr] 28 | use mio::unix::UnixListener; [INFO] [stderr] | ^^^^ could not find `unix` in `mio` [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 crate `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 beta 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::*` [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; 4 warnings emitted [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" "7e39b146a0a5b803f09a0f2e5590ee3b47dfc730cdfed2323dab0cca17a0c384"` [INFO] running `"docker" "rm" "-f" "7e39b146a0a5b803f09a0f2e5590ee3b47dfc730cdfed2323dab0cca17a0c384"` [INFO] [stdout] 7e39b146a0a5b803f09a0f2e5590ee3b47dfc730cdfed2323dab0cca17a0c384