[INFO] cloning repository https://github.com/CrystalGamma/ircbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CrystalGamma/ircbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Fircbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Fircbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f04b987b845d4b68ee96c0a135bc272b1887801d [INFO] checking CrystalGamma/ircbot against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Fircbot" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrystalGamma/ircbot on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CrystalGamma/ircbot [INFO] removed path dependency irc from git repo https://github.com/CrystalGamma/ircbot [INFO] finished tweaking git repo https://github.com/CrystalGamma/ircbot [INFO] tweaked toml for git repo https://github.com/CrystalGamma/ircbot written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/CrystalGamma/ircbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (irc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (irc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be303d4cc4deb637b024ab96f23e56e3b3153712d7dd219cc40b73ef23ea5878 [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" "be303d4cc4deb637b024ab96f23e56e3b3153712d7dd219cc40b73ef23ea5878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be303d4cc4deb637b024ab96f23e56e3b3153712d7dd219cc40b73ef23ea5878", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be303d4cc4deb637b024ab96f23e56e3b3153712d7dd219cc40b73ef23ea5878", kill_on_drop: false }` [INFO] [stdout] be303d4cc4deb637b024ab96f23e56e3b3153712d7dd219cc40b73ef23ea5878 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 437e2dc14f951221a3cb2f8982401c239093753e1dd36d488305295ecb149d19 [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" "437e2dc14f951221a3cb2f8982401c239093753e1dd36d488305295ecb149d19", kill_on_drop: false }` [INFO] [stderr] warning: dependency (irc) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking smallvec v1.6.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking httpdate v0.3.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking http v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking irc-proto v0.14.0 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking irc v0.14.1 [INFO] [stderr] Checking ircbot v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::Client` [INFO] [stdout] --> src/stream.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{Client, header}; [INFO] [stdout] | ^^^^^^ no `Client` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::Ok` [INFO] [stdout] --> src/stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Ok as HttpOk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Ok` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::Client` [INFO] [stdout] --> src/stream.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{Client, header}; [INFO] [stdout] | ^^^^^^ no `Client` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::Ok` [INFO] [stdout] --> src/stream.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::Ok as HttpOk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ no `Ok` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 370 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `select` in this scope [INFO] [stdout] --> src/main.rs:370:3 [INFO] [stdout] | [INFO] [stdout] 370 | select! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/ircwriter.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | conn.write_msg(Notify(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/ircwriter.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | conn.write_msg(Talk(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/ircwriter.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | conn.write_msg(Notify(TargetList::from_str(self.sender), text)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/ircwriter.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | conn.write_msg(Notify(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/ircwriter.rs:62:24 [INFO] [stdout] | [INFO] [stdout] 62 | conn.write_msg(Talk(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/ircwriter.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | conn.write_msg(Notify(TargetList::from_str(self.sender), text)); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/main.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | ctx.conn.write_msg(Talk(TargetList::from_str(chan), &msg[..])); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IrcReader` in `irc` [INFO] [stdout] --> src/main.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | for s in irc::IrcReader::new(std::io::BufReader::new(conn_read)) { [INFO] [stdout] | ^^^^^^^^^ could not find `IrcReader` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TargetList` in `irc` [INFO] [stdout] --> src/main.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | chan: irc::TargetList::from_str("#Deathmictest"), [INFO] [stdout] | ^^^^^^^^^^ could not find `TargetList` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Accept` in module `header` [INFO] [stdout] --> src/stream.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | .header(header::Accept( [INFO] [stdout] | ^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use stream::header::name::StandardHeader::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `qitem` in module `header` [INFO] [stdout] --> src/stream.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | vec![header::qitem("application/vnd.twitchtv.v3+json".parse().ok().expect("couldnt parse MIME type"))] [INFO] [stdout] | ^^^^^ not found in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypedMessage` in this scope [INFO] [stdout] --> src/ircwriter.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write_msg(&mut self, msg: TypedMessage) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in this scope [INFO] [stdout] --> src/ircwriter.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | targets: TargetList<'a>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_channel_name` in this scope [INFO] [stdout] --> src/ircwriter.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | if is_channel_name(t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Notify` in this scope [INFO] [stdout] --> src/ircwriter.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | conn.write_msg(Notify(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in this scope [INFO] [stdout] --> src/ircwriter.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | conn.write_msg(Talk(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Notify` in this scope [INFO] [stdout] --> src/ircwriter.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | conn.write_msg(Notify(TargetList::from_str(self.sender), text)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in this scope [INFO] [stdout] --> src/ircwriter.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(sender: &'a str, targets: TargetList<'a>, nick: &Arc) -> MessageContext<'a> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nick_from_mask` in this scope [INFO] [stdout] --> src/ircwriter.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | MessageContext {targets: targets, sender: nick_from_mask(sender), nick: nick.clone()} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in crate `irc` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | chan: irc::TargetList<'static>, [INFO] [stdout] | ^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &qmsg[..])); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &amsg[..])); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("no votes were cast regarding: {}", question))); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("Poll results for: {}", question))); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("{}/{} = {}% of votes for: {}", votes, [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("{} voted: {}", total_votes, answers[0].0))); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | "say" => ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, args)), [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in crate `irc` [INFO] [stdout] --> src/main.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | fn on_joined(chan_list: irc::TargetList, ctx: &mut BotContext) { [INFO] [stdout] | ^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in this scope [INFO] [stdout] --> src/main.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | ctx.conn.write_msg(Talk(TargetList::from_str(chan), &msg[..])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:201:27 [INFO] [stdout] | [INFO] [stdout] 201 | let mut client = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ not found in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use ircwriter::client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IrcMessage` in crate `irc` [INFO] [stdout] --> src/main.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | fn handle_msg(msg: irc::IrcMessage, ctx: &mut BotContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyse_message` in this scope [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let semantic = analyse_message(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Msg` in this scope [INFO] [stdout] --> src/main.rs:256:3 [INFO] [stdout] | [INFO] [stdout] 256 | Msg(sender, targets, text) => if ctx.cfg.cmd_prefix.is_prefix_of(text) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | let http = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ not found in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use ircwriter::client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ok` in crate `hyper` [INFO] [stdout] --> src/main.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | if response.status != hyper::Ok {return Err(format!("{}", response.status))} [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 21 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Welcome` in this scope [INFO] [stdout] --> src/main.rs:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | Welcome(_) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Join` in this scope [INFO] [stdout] --> src/main.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | ctx.conn.write_msg(Join(ctx.cfg.chan, None)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Joined` in this scope [INFO] [stdout] --> src/main.rs:294:3 [INFO] [stdout] | [INFO] [stdout] 294 | Joined(client, list) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nick_from_mask` in crate `irc` [INFO] [stdout] --> src/main.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | let nick = irc::nick_from_mask(client); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ping` in this scope [INFO] [stdout] --> src/main.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | Ping(packets) => {ctx.conn.write_msg(Pong(packets)); true}, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pong` in this scope [INFO] [stdout] --> src/main.rs:304:40 [INFO] [stdout] | [INFO] [stdout] 304 | Ping(packets) => {ctx.conn.write_msg(Pong(packets)); true}, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Topic` in this scope [INFO] [stdout] --> src/main.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 305 | Topic(..) => true, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetNick` in crate `irc` [INFO] [stdout] --> src/main.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | write.write_msg(irc::SetNick(cfg.nick)); [INFO] [stdout] | ^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Register` in crate `irc` [INFO] [stdout] --> src/main.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | write.write_msg(irc::Register(cfg.user, cfg.real_name)); [INFO] [stdout] | ^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TargetList` [INFO] [stdout] --> src/main.rs:188:27 [INFO] [stdout] | [INFO] [stdout] 188 | ctx.conn.write_msg(Talk(TargetList::from_str(chan), &msg[..])); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `TargetList` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/joindb.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 138 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `irc::*` [INFO] [stdout] --> src/ircwriter.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use irc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `irc::*` [INFO] [stdout] --> src/main.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | use irc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `irc::*` [INFO] [stdout] --> src/main.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | use irc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | std::thread::sleep_ms(10000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `IrcReader` in `irc` [INFO] [stdout] --> src/main.rs:325:17 [INFO] [stdout] | [INFO] [stdout] 325 | for s in irc::IrcReader::new(std::io::BufReader::new(conn_read)) { [INFO] [stdout] | ^^^^^^^^^ could not find `IrcReader` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `TargetList` in `irc` [INFO] [stdout] --> src/main.rs:401:14 [INFO] [stdout] | [INFO] [stdout] 401 | chan: irc::TargetList::from_str("#Deathmictest"), [INFO] [stdout] | ^^^^^^^^^^ could not find `TargetList` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Accept` in module `header` [INFO] [stdout] --> src/stream.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | .header(header::Accept( [INFO] [stdout] | ^^^^^^ not found in `header` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 1 | use stream::header::name::StandardHeader::Accept; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `qitem` in module `header` [INFO] [stdout] --> src/stream.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | vec![header::qitem("application/vnd.twitchtv.v3+json".parse().ok().expect("couldnt parse MIME type"))] [INFO] [stdout] | ^^^^^ not found in `header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypedMessage` in this scope [INFO] [stdout] --> src/ircwriter.rs:30:35 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn write_msg(&mut self, msg: TypedMessage) { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in this scope [INFO] [stdout] --> src/ircwriter.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | targets: TargetList<'a>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_channel_name` in this scope [INFO] [stdout] --> src/ircwriter.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | if is_channel_name(t) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Notify` in this scope [INFO] [stdout] --> src/ircwriter.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | conn.write_msg(Notify(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in this scope [INFO] [stdout] --> src/ircwriter.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | conn.write_msg(Talk(TargetList::from_str(&target[..]), text)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Notify` in this scope [INFO] [stdout] --> src/ircwriter.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | conn.write_msg(Notify(TargetList::from_str(self.sender), text)); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in this scope [INFO] [stdout] --> src/ircwriter.rs:74:39 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn new(sender: &'a str, targets: TargetList<'a>, nick: &Arc) -> MessageContext<'a> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nick_from_mask` in this scope [INFO] [stdout] --> src/ircwriter.rs:75:45 [INFO] [stdout] | [INFO] [stdout] 75 | MessageContext {targets: targets, sender: nick_from_mask(sender), nick: nick.clone()} [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in crate `irc` [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | chan: irc::TargetList<'static>, [INFO] [stdout] | ^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &qmsg[..])); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &amsg[..])); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:126:30 [INFO] [stdout] | [INFO] [stdout] 126 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("no votes were cast regarding: {}", question))); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:129:29 [INFO] [stdout] | [INFO] [stdout] 129 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("Poll results for: {}", question))); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("{}/{} = {}% of votes for: {}", votes, [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, &format!("{} voted: {}", total_votes, answers[0].0))); [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in crate `irc` [INFO] [stdout] --> src/main.rs:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | "say" => ctx.conn.write_msg(irc::Talk(ctx.cfg.chan, args)), [INFO] [stdout] | ^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TargetList` in crate `irc` [INFO] [stdout] --> src/main.rs:184:30 [INFO] [stdout] | [INFO] [stdout] 184 | fn on_joined(chan_list: irc::TargetList, ctx: &mut BotContext) { [INFO] [stdout] | ^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Talk` in this scope [INFO] [stdout] --> src/main.rs:188:22 [INFO] [stdout] | [INFO] [stdout] 188 | ctx.conn.write_msg(Talk(TargetList::from_str(chan), &msg[..])); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:201:27 [INFO] [stdout] | [INFO] [stdout] 201 | let mut client = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ not found in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use ircwriter::client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IrcMessage` in crate `irc` [INFO] [stdout] --> src/main.rs:252:25 [INFO] [stdout] | [INFO] [stdout] 252 | fn handle_msg(msg: irc::IrcMessage, ctx: &mut BotContext) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `analyse_message` in this scope [INFO] [stdout] --> src/main.rs:254:17 [INFO] [stdout] | [INFO] [stdout] 254 | let semantic = analyse_message(msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Msg` in this scope [INFO] [stdout] --> src/main.rs:256:3 [INFO] [stdout] | [INFO] [stdout] 256 | Msg(sender, targets, text) => if ctx.cfg.cmd_prefix.is_prefix_of(text) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `hyper` [INFO] [stdout] --> src/main.rs:271:24 [INFO] [stdout] | [INFO] [stdout] 271 | let http = hyper::Client::new(); [INFO] [stdout] | ^^^^^^ not found in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 21 | use ircwriter::client::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ok` in crate `hyper` [INFO] [stdout] --> src/main.rs:275:37 [INFO] [stdout] | [INFO] [stdout] 275 | if response.status != hyper::Ok {return Err(format!("{}", response.status))} [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 21 | use std::result::Result::Ok; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Welcome` in this scope [INFO] [stdout] --> src/main.rs:289:3 [INFO] [stdout] | [INFO] [stdout] 289 | Welcome(_) => { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Join` in this scope [INFO] [stdout] --> src/main.rs:291:23 [INFO] [stdout] | [INFO] [stdout] 291 | ctx.conn.write_msg(Join(ctx.cfg.chan, None)); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Joined` in this scope [INFO] [stdout] --> src/main.rs:294:3 [INFO] [stdout] | [INFO] [stdout] 294 | Joined(client, list) => { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `nick_from_mask` in crate `irc` [INFO] [stdout] --> src/main.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | let nick = irc::nick_from_mask(client); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Ping` in this scope [INFO] [stdout] --> src/main.rs:304:3 [INFO] [stdout] | [INFO] [stdout] 304 | Ping(packets) => {ctx.conn.write_msg(Pong(packets)); true}, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Pong` in this scope [INFO] [stdout] --> src/main.rs:304:40 [INFO] [stdout] | [INFO] [stdout] 304 | Ping(packets) => {ctx.conn.write_msg(Pong(packets)); true}, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Topic` in this scope [INFO] [stdout] --> src/main.rs:305:3 [INFO] [stdout] | [INFO] [stdout] 305 | Topic(..) => true, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetNick` in crate `irc` [INFO] [stdout] --> src/main.rs:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | write.write_msg(irc::SetNick(cfg.nick)); [INFO] [stdout] | ^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Register` in crate `irc` [INFO] [stdout] --> src/main.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | write.write_msg(irc::Register(cfg.user, cfg.real_name)); [INFO] [stdout] | ^^^^^^^^ not found in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> src/joindb.rs:138:7 [INFO] [stdout] | [INFO] [stdout] 20 | use std::path::Path; [INFO] [stdout] | --------------- the item `Path` is already imported here [INFO] [stdout] ... [INFO] [stdout] 138 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `irc::*` [INFO] [stdout] --> src/ircwriter.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use irc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `irc::*` [INFO] [stdout] --> src/main.rs:185:6 [INFO] [stdout] | [INFO] [stdout] 185 | use irc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `irc::*` [INFO] [stdout] --> src/main.rs:253:6 [INFO] [stdout] | [INFO] [stdout] 253 | use irc::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let cmd2 = cmd.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:197:5 [INFO] [stdout] | [INFO] [stdout] 197 | std::thread::sleep_ms(10000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:75:80 [INFO] [stdout] | [INFO] [stdout] 75 | let (verb, args) = cmd2.find(|c:char| c.is_whitespace()).map_or_else(|| (cmd2.trim_right(), ""), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:140:53 [INFO] [stdout] | [INFO] [stdout] 140 | .and_then(|p| Stream::new(&args[..p], args[p..].trim_left().to_string()))) { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let res = (0..dice).map(|_| rng.gen_range(0, sides) as u32+1).fold(0, |a, b| a+b); [INFO] [stdout] | ^^^^^^^^^ - ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let cmd2 = cmd.trim_left(); [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> src/main.rs:75:80 [INFO] [stdout] | [INFO] [stdout] 75 | let (verb, args) = cmd2.find(|c:char| c.is_whitespace()).map_or_else(|| (cmd2.trim_right(), ""), [INFO] [stdout] | ^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_left`: superseded by `trim_start` [INFO] [stdout] --> src/main.rs:140:53 [INFO] [stdout] | [INFO] [stdout] 140 | .and_then(|p| Stream::new(&args[..p], args[p..].trim_left().to_string()))) { [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/main.rs:151:38 [INFO] [stdout] | [INFO] [stdout] 151 | let res = (0..dice).map(|_| rng.gen_range(0, sides) as u32+1).fold(0, |a, b| a+b); [INFO] [stdout] | ^^^^^^^^^ - ----- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | }).and_then(|text| Regex::new("(?i)<\\s*title\\s*>([^<]*)<\\s*/title\\s*>").unwrap() // yes, shame on me for using a regex for this [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 278 | }).and_then(|&text| Regex::new("(?i)<\\s*title\\s*>([^<]*)<\\s*/title\\s*>").unwrap() // yes, shame on me for using a regex for this [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | .and_then(|cap| cap.at(1).ok_or_else(|| "no match".to_string())) [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:278:20 [INFO] [stdout] | [INFO] [stdout] 278 | }).and_then(|text| Regex::new("(?i)<\\s*title\\s*>([^<]*)<\\s*/title\\s*>").unwrap() // yes, shame on me for using a regex for this [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 278 | }).and_then(|&text| Regex::new("(?i)<\\s*title\\s*>([^<]*)<\\s*/title\\s*>").unwrap() // yes, shame on me for using a regex for this [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:391:2 [INFO] [stdout] | [INFO] [stdout] 369 | loop { [INFO] [stdout] | _____- [INFO] [stdout] 370 | | select! { [INFO] [stdout] 371 | | m = rx.recv() => match m.unwrap() { Ok(s) => { [INFO] [stdout] 372 | | let msg = match irc::parse_irc_message(&s[..]) { [INFO] [stdout] ... | [INFO] [stdout] 389 | | } [INFO] [stdout] 390 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 391 | irc_recv.join().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `at` found for struct `regex::Captures<'_>` in the current scope [INFO] [stdout] --> src/main.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | .and_then(|cap| cap.at(1).ok_or_else(|| "no match".to_string())) [INFO] [stdout] | ^^ method not found in `regex::Captures<'_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:391:2 [INFO] [stdout] | [INFO] [stdout] 369 | loop { [INFO] [stdout] | _____- [INFO] [stdout] 370 | | select! { [INFO] [stdout] 371 | | m = rx.recv() => match m.unwrap() { Ok(s) => { [INFO] [stdout] 372 | | let msg = match irc::parse_irc_message(&s[..]) { [INFO] [stdout] ... | [INFO] [stdout] 389 | | } [INFO] [stdout] 390 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 391 | irc_recv.join().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/stream.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/stream.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 47 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433, E0531, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ircbot` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "437e2dc14f951221a3cb2f8982401c239093753e1dd36d488305295ecb149d19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "437e2dc14f951221a3cb2f8982401c239093753e1dd36d488305295ecb149d19", kill_on_drop: false }` [INFO] [stdout] 437e2dc14f951221a3cb2f8982401c239093753e1dd36d488305295ecb149d19