[INFO] cloning repository https://github.com/koreanpanda345/SerenityExample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/koreanpanda345/SerenityExample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoreanpanda345%2FSerenityExample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoreanpanda345%2FSerenityExample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2576bddd9c8261d113e0d3913c3676783a254fea [INFO] checking koreanpanda345/SerenityExample against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkoreanpanda345%2FSerenityExample" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/koreanpanda345/SerenityExample on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/koreanpanda345/SerenityExample [INFO] removed path dependency serenity from git repo https://github.com/koreanpanda345/SerenityExample [INFO] finished tweaking git repo https://github.com/koreanpanda345/SerenityExample [INFO] tweaked toml for git repo https://github.com/koreanpanda345/SerenityExample written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/koreanpanda345/SerenityExample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25123ca4d75bb3f72c75b2d8f102edce1544c73bad9d883efe85b55315f3118c [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" "25123ca4d75bb3f72c75b2d8f102edce1544c73bad9d883efe85b55315f3118c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25123ca4d75bb3f72c75b2d8f102edce1544c73bad9d883efe85b55315f3118c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25123ca4d75bb3f72c75b2d8f102edce1544c73bad9d883efe85b55315f3118c", kill_on_drop: false }` [INFO] [stdout] 25123ca4d75bb3f72c75b2d8f102edce1544c73bad9d883efe85b55315f3118c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb7f73b65bc000d7cd10f5e3bbabe16c4fbbedefcdd763baace08c8ab53e584d [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" "eb7f73b65bc000d7cd10f5e3bbabe16c4fbbedefcdd763baace08c8ab53e584d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serenity v0.7.3 [INFO] [stderr] Checking uwl v0.4.2 [INFO] [stderr] Checking kankyo v0.3.0 [INFO] [stderr] Compiling ring v0.16.9 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking backtrace-sys v0.1.32 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking http v0.1.20 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling command_attr v0.1.5 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking serde v1.0.103 [INFO] [stderr] Checking mime_guess v2.0.1 [INFO] [stderr] Checking tokio-reactor v0.1.11 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking publicsuffix v1.5.4 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking sct v0.6.0 [INFO] [stderr] Checking webpki v0.21.0 [INFO] [stderr] Checking ct-logs v0.6.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking rustls v0.16.0 [INFO] [stderr] Checking webpki-roots v0.17.0 [INFO] [stderr] Checking serde_json v1.0.42 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking tokio-rustls v0.10.2 [INFO] [stderr] Checking hyper-rustls v0.17.1 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking SerenityExample v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //! Create connection to the Mod file to interact with the commands. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | //!Notice that we had to add this. without it, we can't use any of the serenity dependenics and can't interact with the commands. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | //! Import files [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | //!We need to import the commands [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | //! This is for sharding, if you know that you're not going to use shards, the don't use lines 32-35 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | //! This is handling events. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | //!Resumed Event [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | //! This is a command group holds commands in groups, by sections. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | //! We can have serenity make us a nice help embed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | //! notice that there is a thing with '#[]' this is a flag, or a tag, its similar to properties. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:104:71 [INFO] [stdout] | [INFO] [stdout] 104 | Err(why) => panic!("Couldn't get application info: {:?}", why); [INFO] [stdout] | -- while parsing the `match` arm starting here ^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | //! Notice that the help and group names are all upper case. make sure you do this upper case, it will not work if you don't [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | //! and if its a group, makes sure to add '_GROUP' to it so it knows that it needs to get the group. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found doc comment `//! Notice that the help and group names are all upper case. make sure you do this upper case, it will not work if you don't` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | .prefix("~")) [INFO] [stdout] | - expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] 111 | //! Notice that the help and group names are all upper case. make sure you do this upper case, it will not work if you don't [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `)` [INFO] [stdout] --> src/main.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | .group(&GENERAL_GROUP)); [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/meta.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | //! Since we didn't pass a name in the command flag, it will use the function's name, which in this case [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/meta.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //! is ping. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/meta.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | //! Make sure you add this Ok(()). it will complain if you don't have this for any commands. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/owner.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //!Notice that we add a owners_only flag. this is a check. it makes sure that only the owners can use this command. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //! Create connection to the Mod file to interact with the commands. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | //!Notice that we had to add this. without it, we can't use any of the serenity dependenics and can't interact with the commands. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | //! Import files [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | //!We need to import the commands [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | //! This is for sharding, if you know that you're not going to use shards, the don't use lines 32-35 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | //! This is handling events. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | //!Resumed Event [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | //! This is a command group holds commands in groups, by sections. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | //! We can have serenity make us a nice help embed. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:66:1 [INFO] [stdout] | [INFO] [stdout] 66 | //! notice that there is a thing with '#[]' this is a flag, or a tag, its similar to properties. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `,`, `.`, `?`, `}`, or an operator, found `;` [INFO] [stdout] --> src/main.rs:104:71 [INFO] [stdout] | [INFO] [stdout] 104 | Err(why) => panic!("Couldn't get application info: {:?}", why); [INFO] [stdout] | -- while parsing the `match` arm starting here ^ expected one of `,`, `.`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | //! Notice that the help and group names are all upper case. make sure you do this upper case, it will not work if you don't [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | //! and if its a group, makes sure to add '_GROUP' to it so it knows that it needs to get the group. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `)`, `,`, `.`, `?`, or an operator, found doc comment `//! Notice that the help and group names are all upper case. make sure you do this upper case, it will not work if you don't` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 110 | .prefix("~")) [INFO] [stdout] | - expected one of `)`, `,`, `.`, `?`, or an operator [INFO] [stdout] 111 | //! Notice that the help and group names are all upper case. make sure you do this upper case, it will not work if you don't [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, `}`, or an operator, found `)` [INFO] [stdout] --> src/main.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | .group(&GENERAL_GROUP)); [INFO] [stdout] | ^ expected one of `.`, `;`, `?`, `}`, or an operator [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/meta.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | //! Since we didn't pass a name in the command flag, it will use the function's name, which in this case [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/meta.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //! is ping. [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/meta.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | //! Make sure you add this Ok(()). it will complain if you don't have this for any commands. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/commands/owner.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | //!Notice that we add a owners_only flag. this is a check. it makes sure that only the owners can use this command. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected square brackets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `serenity::framework::standard::macros::groups`, `serenity::model::event::ResumedEventm` [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | macros::{groups, help, check} [INFO] [stdout] | ^^^^^^ no `groups` in `framework::standard::macros` [INFO] [stdout] ... [INFO] [stdout] 29 | model::{event::ResumedEventm, gateway::Ready, id::UserId}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `ResumedEventm` in `model::event` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 26 | macros::{group, help, check} [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 29 | model::{event::ResumedEvent, gateway::Ready, id::UserId}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `group` in this scope [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | group!({ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected square brackets [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `serenity::framework::standard::macros::groups`, `serenity::model::event::ResumedEventm` [INFO] [stdout] --> src/main.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | macros::{groups, help, check} [INFO] [stdout] | ^^^^^^ no `groups` in `framework::standard::macros` [INFO] [stdout] ... [INFO] [stdout] 29 | model::{event::ResumedEventm, gateway::Ready, id::UserId}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ no `ResumedEventm` in `model::event` [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 26 | macros::{group, help, check} [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 29 | model::{event::ResumedEvent, gateway::Ready, id::UserId}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `group` in this scope [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | group!({ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | //! This is a command group holds commands in groups, by sections. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | //! This is a command group holds commands in groups, by sections. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandResult`, `model::prelude::*`, `prelude::*` [INFO] [stdout] --> src/commands/meta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | model::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | framework::standard::{ [INFO] [stdout] 6 | CommandResult, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandResult`, `model::prelude::*`, `prelude::*` [INFO] [stdout] --> src/commands/meta.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 4 | model::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 5 | framework::standard::{ [INFO] [stdout] 6 | CommandResult, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ShardManagerContainer` [INFO] [stdout] --> src/commands/owner.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ShardManagerContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ShardManagerContainer` [INFO] [stdout] --> src/commands/owner.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::ShardManagerContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandResult`, `model::prelude::*`, `prelude::*` [INFO] [stdout] --> src/commands/owner.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | model::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | framework::standard::{ [INFO] [stdout] 7 | CommandResult, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CommandResult`, `model::prelude::*`, `prelude::*` [INFO] [stdout] --> src/commands/owner.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | prelude::*, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | model::prelude::*, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | framework::standard::{ [INFO] [stdout] 7 | CommandResult, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args`, `CheckResult`, `CommandGroup`, `CommandOptions`, `CommandResult`, `DispatchError`, `HelpOptions`, `StandardFramework`, `check`, `help_commands`, `id::UserId` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Args, CheckResult, CommandOptions, CommandResult, CommandGroup, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 25 | DispatchError, HelpOptions, help_commands, StandardFramework, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | macros::{groups, help, check} [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | model::{event::ResumedEventm, gateway::Ready, id::UserId}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Args`, `CheckResult`, `CommandGroup`, `CommandOptions`, `CommandResult`, `DispatchError`, `HelpOptions`, `StandardFramework`, `check`, `help_commands`, `id::UserId` [INFO] [stdout] --> src/main.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Args, CheckResult, CommandOptions, CommandResult, CommandGroup, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] 25 | DispatchError, HelpOptions, help_commands, StandardFramework, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | macros::{groups, help, check} [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | model::{event::ResumedEventm, gateway::Ready, id::UserId}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::channel::Message` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use serenity::model::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `meta::*`, `owner::*` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | meta::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | owner::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/main.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | use log::{error, info}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serenity::model::channel::Message` [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use serenity::model::channel::Message; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `meta::*`, `owner::*` [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | meta::*, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 39 | owner::*, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0753. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0753. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `SerenityExample` [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" "eb7f73b65bc000d7cd10f5e3bbabe16c4fbbedefcdd763baace08c8ab53e584d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb7f73b65bc000d7cd10f5e3bbabe16c4fbbedefcdd763baace08c8ab53e584d", kill_on_drop: false }` [INFO] [stdout] eb7f73b65bc000d7cd10f5e3bbabe16c4fbbedefcdd763baace08c8ab53e584d