[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] testing CrystalGamma/ircbot against beta-2021-01-01 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCrystalGamma%2Fircbot" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CrystalGamma/ircbot on toolchain beta-2021-01-01 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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-6/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" "+beta-2021-01-01" "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-6/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-2021-01-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-01-01" "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] Downloading crates ... [INFO] [stderr] Downloaded bytes v1.0.0 [INFO] [stderr] Downloaded pin-project-lite v0.2.1 [INFO] [stderr] Downloaded tracing-core v0.1.17 [INFO] [stderr] Downloaded toml v0.5.8 [INFO] [stderr] Downloaded getrandom v0.1.16 [INFO] [stderr] Downloaded http-body v0.4.0 [INFO] [stderr] Downloaded hyper v0.14.2 [INFO] [stderr] Downloaded rand_core v0.6.1 [INFO] [stderr] Downloaded httpdate v0.3.2 [INFO] [stderr] Downloaded thiserror v1.0.23 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded irc-proto v0.14.0 [INFO] [stderr] Downloaded security-framework v2.0.0 [INFO] [stderr] Downloaded getrandom v0.2.1 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded openssl v0.10.32 [INFO] [stderr] Downloaded parking_lot_core v0.8.2 [INFO] [stderr] Downloaded tokio v1.0.1 [INFO] [stderr] Downloaded tokio v0.2.24 [INFO] [stderr] Downloaded thiserror-impl v1.0.23 [INFO] [stderr] Downloaded security-framework-sys v2.0.0 [INFO] [stderr] Downloaded rand v0.8.1 [INFO] [stderr] Downloaded irc v0.14.1 [INFO] [stderr] Downloaded native-tls v0.2.7 [INFO] [stderr] Downloaded rand_chacha v0.3.0 [INFO] [stderr] Downloaded rand_hc v0.3.0 [INFO] [stderr] Downloaded tracing v0.1.22 [INFO] [stderr] Downloaded smallvec v1.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a69a8252fde6e829fb5f60dff3eda6d4484939f3c5d59cc531e316d77c528ee [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" "3a69a8252fde6e829fb5f60dff3eda6d4484939f3c5d59cc531e316d77c528ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a69a8252fde6e829fb5f60dff3eda6d4484939f3c5d59cc531e316d77c528ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a69a8252fde6e829fb5f60dff3eda6d4484939f3c5d59cc531e316d77c528ee", kill_on_drop: false }` [INFO] [stdout] 3a69a8252fde6e829fb5f60dff3eda6d4484939f3c5d59cc531e316d77c528ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-01-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a034bdfa3ddea711046e9647b20f1352743ba980dfd576bf3c4cc05b3f66232e [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" "a034bdfa3ddea711046e9647b20f1352743ba980dfd576bf3c4cc05b3f66232e", 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 tokio v1.0.1 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling tokio v0.2.24 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling pin-project v1.0.3 [INFO] [stderr] Compiling irc-proto v0.14.0 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling irc v0.14.1 [INFO] [stderr] Compiling 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: 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/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[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #![feature(mpsc_select)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | #![feature(pattern)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] 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: 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] 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 49 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433, E0531, E0554, 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] running `Command { std: "docker" "inspect" "a034bdfa3ddea711046e9647b20f1352743ba980dfd576bf3c4cc05b3f66232e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a034bdfa3ddea711046e9647b20f1352743ba980dfd576bf3c4cc05b3f66232e", kill_on_drop: false }` [INFO] [stdout] a034bdfa3ddea711046e9647b20f1352743ba980dfd576bf3c4cc05b3f66232e