[INFO] updating cached repository https://github.com/hokora/rust-bot [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] 209260c188fb6e2350c89205b56b98d04f81d936 [INFO] checking hokora/rust-bot against beta-2019-10-27 for pr-65897 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhokora%2Frust-bot" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hokora/rust-bot on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/hokora/rust-bot [INFO] finished tweaking git repo https://github.com/hokora/rust-bot [INFO] tweaked toml for git repo https://github.com/hokora/rust-bot written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/hokora/rust-bot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/user.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/nyaa.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/colors.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/message_handler.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/irc.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/config.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/parse.rs [INFO] [stderr] * /workspace/builds/worker-4/source/src/bin/util.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] running `"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=allow" "-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-2019-10-27" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e87d2cfd32dd2d433c356f4752e7ba15fcbac7f4176f48368d14668e8661f6e0 [INFO] running `"docker" "start" "-a" "e87d2cfd32dd2d433c356f4752e7ba15fcbac7f4176f48368d14668e8661f6e0"` [INFO] [stderr] warning: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * /opt/rustwide/workdir/src/bin/user.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/nyaa.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/colors.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/message_handler.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/irc.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/config.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/parse.rs [INFO] [stderr] * /opt/rustwide/workdir/src/bin/util.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] Checking libc v0.2.21 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling gcc v0.3.45 [INFO] [stderr] Checking matches v0.1.4 [INFO] [stderr] Checking log v0.3.7 [INFO] [stderr] Checking num-traits v0.1.37 [INFO] [stderr] Checking unicode-normalization v0.1.4 [INFO] [stderr] Compiling openssl v0.9.9 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking foreign-types v0.2.0 [INFO] [stderr] Checking lazy_static v0.2.4 [INFO] [stderr] Checking rustc-serialize v0.3.23 [INFO] [stderr] Checking httparse v1.2.1 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Checking itoa v0.3.1 [INFO] [stderr] Checking dtoa v0.4.1 [INFO] [stderr] Checking serde v0.9.12 [INFO] [stderr] Checking antidote v1.0.0 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.2.5 [INFO] [stderr] Compiling syn v0.11.9 [INFO] [stderr] Checking mime v0.2.3 [INFO] [stderr] Checking quick-xml v0.4.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num_cpus v1.3.0 [INFO] [stderr] Checking num-integer v0.1.33 [INFO] [stderr] Checking rss v0.4.0 [INFO] [stderr] Compiling unicase v1.4.0 [INFO] [stderr] Compiling hyper v0.10.5 [INFO] [stderr] Checking num-iter v0.1.33 [INFO] [stderr] Compiling openssl-sys v0.9.9 [INFO] [stderr] Checking idna v0.1.0 [INFO] [stderr] Checking num v0.1.37 [INFO] [stderr] Checking chrono v0.3.0 [INFO] [stderr] Checking url v1.4.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.12 [INFO] [stderr] Checking native-tls v0.1.1 [INFO] [stderr] Checking serde_json v0.9.9 [INFO] [stderr] Checking hyper-native-tls v0.2.2 [INFO] [stderr] Checking rust-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> src/lib/bttv.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | let http_client = http::Http::new().unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Emote` [INFO] [stderr] --> src/lib/bttv.rs:72:20 [INFO] [stderr] | [INFO] [stderr] 72 | let bttv = Emote::new(&http_client).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Emote` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> src/lib/ffz.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 90 | let http_client = http::Http::new().unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Emote` [INFO] [stderr] --> src/lib/ffz.rs:91:19 [INFO] [stderr] | [INFO] [stderr] 91 | let ffz = Emote::new(&http_client).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Emote` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `http` [INFO] [stderr] --> src/lib/twitch.rs:65:27 [INFO] [stderr] | [INFO] [stderr] 65 | let http_client = http::Http::new().unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `http` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Emote` [INFO] [stderr] --> src/lib/twitch.rs:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | let mut twitch = Emote::new(&http_client).unwrap(); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Emote` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Loader` [INFO] [stderr] --> src/lib/redis_handler.rs:71:28 [INFO] [stderr] | [INFO] [stderr] 71 | let mut commands = Loader::new().unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Loader` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Logger` [INFO] [stderr] --> src/lib/log.rs:56:24 [INFO] [stderr] | [INFO] [stderr] 56 | let mut file = Logger::new("tests/log_test.txt").unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Logger` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Connection` [INFO] [stderr] --> src/lib/connection.rs:125:19 [INFO] [stderr] | [INFO] [stderr] 125 | let con = Connection::connect(None).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Connection` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Connection` [INFO] [stderr] --> src/lib/connection.rs:129:19 [INFO] [stderr] | [INFO] [stderr] 129 | let con = Connection::connect(Some(stream)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `Connection` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Timer` [INFO] [stderr] --> src/lib/timer.rs:49:21 [INFO] [stderr] | [INFO] [stderr] 49 | let timer = Timer::new(30); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Timer` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Timer` [INFO] [stderr] --> src/lib/timer.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | let timer = Timer::new(30); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Timer` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `TWITCH_SERVER` in this scope [INFO] [stderr] --> src/lib/connection.rs:127:51 [INFO] [stderr] | [INFO] [stderr] 127 | let stream = std::net::TcpStream::connect(TWITCH_SERVER).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 124 | use connection::TWITCH_SERVER; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0425`. [INFO] [stderr] error: could not compile `rust-bot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "e87d2cfd32dd2d433c356f4752e7ba15fcbac7f4176f48368d14668e8661f6e0"` [INFO] running `"docker" "rm" "-f" "e87d2cfd32dd2d433c356f4752e7ba15fcbac7f4176f48368d14668e8661f6e0"` [INFO] [stdout] e87d2cfd32dd2d433c356f4752e7ba15fcbac7f4176f48368d14668e8661f6e0