[INFO] updating cached repository https://github.com/harimohanraj/rkvs [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] fe66eda254f4cebe6d7f3a41f1520178c8932ce4 [INFO] testing harimohanraj/rkvs against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharimohanraj%2Frkvs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harimohanraj/rkvs 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/harimohanraj/rkvs [INFO] finished tweaking git repo https://github.com/harimohanraj/rkvs [INFO] tweaked toml for git repo https://github.com/harimohanraj/rkvs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/harimohanraj/rkvs 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-4/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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 7c23167c14fe147c21879dce63104d30a3540d8b7085baa74604336f37691647 [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" "7c23167c14fe147c21879dce63104d30a3540d8b7085baa74604336f37691647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c23167c14fe147c21879dce63104d30a3540d8b7085baa74604336f37691647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c23167c14fe147c21879dce63104d30a3540d8b7085baa74604336f37691647", kill_on_drop: false }` [INFO] [stdout] 7c23167c14fe147c21879dce63104d30a3540d8b7085baa74604336f37691647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 6667b18e6e24ee0e8941cdd0dc0ddd13ffd78594c6636f2f6f1cbf7c627df261 [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" "6667b18e6e24ee0e8941cdd0dc0ddd13ffd78594c6636f2f6f1cbf7c627df261", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling mio v0.7.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling rkvs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/main.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | interest: EventSet::hup(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | self.interest.insert(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:57:29 [INFO] [stdout] | [INFO] [stdout] 57 | ... PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:57:47 [INFO] [stdout] | [INFO] [stdout] 57 | ... PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:66:46 [INFO] [stdout] | [INFO] [stdout] 66 | ... self.interest, PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:66:64 [INFO] [stdout] | [INFO] [stdout] 66 | ... self.interest, PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | self.interest.remove(EventSet::readable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:123:30 [INFO] [stdout] | [INFO] [stdout] 123 | self.interest.remove(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | self.interest.insert(EventSet::writable()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/main.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | let server_socket = TcpListener::bind(&address).ok().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `TcpListener` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:244:29 [INFO] [stdout] | [INFO] [stdout] 244 | ... EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:245:29 [INFO] [stdout] | [INFO] [stdout] 245 | ... PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:245:47 [INFO] [stdout] | [INFO] [stdout] 245 | ... PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventSet` [INFO] [stdout] --> src/main.rs:255:31 [INFO] [stdout] | [INFO] [stdout] 255 | ... EventSet::readable(), [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `EventSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:256:31 [INFO] [stdout] | [INFO] [stdout] 256 | ... PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `PollOpt` [INFO] [stdout] --> src/main.rs:256:49 [INFO] [stdout] | [INFO] [stdout] 256 | ... PollOpt::edge() | PollOpt::oneshot()) [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `PollOpt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `EventLoop` [INFO] [stdout] --> src/main.rs:358:30 [INFO] [stdout] | [INFO] [stdout] 358 | let mut event_loop = EventLoop::new().unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `EventLoop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | socket: TcpStream, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | interest: EventSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in this scope [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | fn new(socket: TcpStream) -> Connection { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:54:45 [INFO] [stdout] | [INFO] [stdout] 54 | fn register(&mut self, event_loop: &mut EventLoop) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:64:47 [INFO] [stdout] | [INFO] [stdout] 64 | fn reregister(&mut self, event_loop: &mut EventLoop) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/main.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | socket: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 157 | fn accept(&mut self, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:241:45 [INFO] [stdout] | [INFO] [stdout] 241 | fn register(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:252:47 [INFO] [stdout] | [INFO] [stdout] 252 | fn reregister(&mut self, event_loop: &mut EventLoop) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in this scope [INFO] [stdout] --> src/main.rs:264:6 [INFO] [stdout] | [INFO] [stdout] 264 | impl Handler for Server { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in this scope [INFO] [stdout] --> src/main.rs:268:42 [INFO] [stdout] | [INFO] [stdout] 268 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventSet` in this scope [INFO] [stdout] --> src/main.rs:268:83 [INFO] [stdout] | [INFO] [stdout] 268 | fn ready(&mut self, event_loop: &mut EventLoop, token: Token, events: EventSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rkvs`. [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6667b18e6e24ee0e8941cdd0dc0ddd13ffd78594c6636f2f6f1cbf7c627df261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6667b18e6e24ee0e8941cdd0dc0ddd13ffd78594c6636f2f6f1cbf7c627df261", kill_on_drop: false }` [INFO] [stdout] 6667b18e6e24ee0e8941cdd0dc0ddd13ffd78594c6636f2f6f1cbf7c627df261