[INFO] updating cached repository https://github.com/stevenpack/qotd [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] 8222f90d4186fe31696127bc48e8aefa8afb7311 [INFO] testing stevenpack/qotd against beta-2020-07-24 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevenpack%2Fqotd" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevenpack/qotd on toolchain beta-2020-07-24 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stevenpack/qotd [INFO] finished tweaking git repo https://github.com/stevenpack/qotd [INFO] tweaked toml for git repo https://github.com/stevenpack/qotd written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/stevenpack/qotd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/carllerche/mio` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b8b8573091b2f6a82114832ba4ac83b8fad50e1ecb2c624cfb76e9c4b5293a6 [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" "4b8b8573091b2f6a82114832ba4ac83b8fad50e1ecb2c624cfb76e9c4b5293a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b8b8573091b2f6a82114832ba4ac83b8fad50e1ecb2c624cfb76e9c4b5293a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8b8573091b2f6a82114832ba4ac83b8fad50e1ecb2c624cfb76e9c4b5293a6", kill_on_drop: false }` [INFO] [stdout] 4b8b8573091b2f6a82114832ba4ac83b8fad50e1ecb2c624cfb76e9c4b5293a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+beta-2020-07-24" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc344046ea64106f1d29de1bd904af750ceff72925f807fe88902afb3b46bf09 [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" "cc344046ea64106f1d29de1bd904af750ceff72925f807fe88902afb3b46bf09", kill_on_drop: false }` [INFO] [stderr] Compiling mio v0.7.0 (https://github.com/carllerche/mio#eef8d3b9) [INFO] [stderr] Compiling qotd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mio::TryWrite` [INFO] [stdout] --> src/server.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{Token,TryWrite}; [INFO] [stdout] | ^^^^^^^^ no `TryWrite` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::tcp` [INFO] [stdout] --> src/server.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use mio::tcp::*; [INFO] [stdout] | ^^^ could not find `tcp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::udp` [INFO] [stdout] --> src/server.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | use mio::udp::*; [INFO] [stdout] | ^^^ could not find `udp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mio::buf` [INFO] [stdout] --> src/server.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::buf::*; [INFO] [stdout] | ^^^ could not find `buf` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `mio::EventLoop`, `mio::PollOpt` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::{EventLoop,Token, Interest, PollOpt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ no `PollOpt` in the root [INFO] [stdout] | | [INFO] [stdout] | no `EventLoop` in the root [INFO] [stdout] [INFO] [stdout] [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[E0432]: unresolved import `mio::udp` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use mio::udp::*; [INFO] [stdout] | ^^^ could not find `udp` in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `MutSliceBuf` [INFO] [stdout] --> src/server.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | match udp_socket.recv_from(&mut MutSliceBuf::wrap(&mut buf)) { [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type or module `MutSliceBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `SliceBuf` [INFO] [stdout] --> src/server.rs:44:37 [INFO] [stdout] | [INFO] [stdout] 44 | let mut quote_buf = SliceBuf::wrap(&mut quote.as_bytes()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type or module `SliceBuf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/server.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | pub tcp_server: TcpListener, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/server.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | pub udp_server: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpListener` in this scope [INFO] [stdout] --> src/server.rs:23:77 [INFO] [stdout] | [INFO] [stdout] 23 | fn accept_tcp_connection(quote_provider: &QuoteProvider, tcp_listener: &TcpListener) { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::TcpListener; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/server.rs:38:75 [INFO] [stdout] | [INFO] [stdout] 38 | fn accept_udp_connection(quote_provider: &QuoteProvider, udp_socket: &UdpSocket) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Handler` in crate `mio` [INFO] [stdout] --> src/server.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | impl mio::Handler for QotdServer { [INFO] [stdout] | ^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventLoop` in crate `mio` [INFO] [stdout] --> src/server.rs:67:50 [INFO] [stdout] | [INFO] [stdout] 67 | fn readable(&mut self, event_loop: &mut mio::EventLoop, token: mio::Token, hint: mio::ReadHint) { [INFO] [stdout] | ^^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadHint` in crate `mio` [INFO] [stdout] --> src/server.rs:67:103 [INFO] [stdout] | [INFO] [stdout] 67 | fn readable(&mut self, event_loop: &mut mio::EventLoop, token: mio::Token, hint: mio::ReadHint) { [INFO] [stdout] | ^^^^^^^^ not found in `mio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TcpListener` [INFO] [stdout] --> src/main.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let tcp_server = TcpListener::bind(&address).unwrap(); [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[E0433]: failed to resolve: use of undeclared type or module `UdpSocket` [INFO] [stdout] --> src/main.rs:35:22 [INFO] [stdout] | [INFO] [stdout] 35 | let udp_server = UdpSocket::v4().unwrap(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/server.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{Token,TryWrite}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Token` [INFO] [stdout] --> src/main.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | use mio::{EventLoop,Token, Interest, PollOpt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `qotd`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cc344046ea64106f1d29de1bd904af750ceff72925f807fe88902afb3b46bf09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc344046ea64106f1d29de1bd904af750ceff72925f807fe88902afb3b46bf09", kill_on_drop: false }` [INFO] [stdout] cc344046ea64106f1d29de1bd904af750ceff72925f807fe88902afb3b46bf09