[INFO] cloning repository https://github.com/A5rocks/magically-dead [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/A5rocks/magically-dead" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FA5rocks%2Fmagically-dead", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FA5rocks%2Fmagically-dead'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85199fb8d8722f746184506dca532346c85ead60 [INFO] testing A5rocks/magically-dead against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FA5rocks%2Fmagically-dead" "/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/A5rocks/magically-dead on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/A5rocks/magically-dead [INFO] finished tweaking git repo https://github.com/A5rocks/magically-dead [INFO] tweaked toml for git repo https://github.com/A5rocks/magically-dead written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/A5rocks/magically-dead already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded syn v1.0.57 [INFO] [stderr] Downloaded sled v0.34.6 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b312177374b1da35d0190e6af4f5cc6afd08a1b56537c5a35108219ac127bf1d [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" "b312177374b1da35d0190e6af4f5cc6afd08a1b56537c5a35108219ac127bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b312177374b1da35d0190e6af4f5cc6afd08a1b56537c5a35108219ac127bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b312177374b1da35d0190e6af4f5cc6afd08a1b56537c5a35108219ac127bf1d", kill_on_drop: false }` [INFO] [stdout] b312177374b1da35d0190e6af4f5cc6afd08a1b56537c5a35108219ac127bf1d [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 12d78b907f9a7ec73ebee3d06cc838f655991fd8dbbdd1d564bd7771421ff90a [INFO] running `Command { std: "docker" "start" "-a" "12d78b907f9a7ec73ebee3d06cc838f655991fd8dbbdd1d564bd7771421ff90a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling futures-core v0.3.8 [INFO] [stderr] Compiling bytes v1.0.0 [INFO] [stderr] Compiling futures-task v0.3.8 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling http v0.2.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.2 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sled v0.34.6 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling dotenv_codegen_implementation v0.15.0 [INFO] [stderr] Compiling dotenv_codegen v0.15.0 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling magic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `interaction_type` [INFO] [stdout] --> src/request_types.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | interaction_type: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Interaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/request_types.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> src/request_types.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | version: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Interaction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/request_types.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ApplicationCommandData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `nick` [INFO] [stdout] --> src/request_types.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | nick: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GuildMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `roles` [INFO] [stdout] --> src/request_types.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | roles: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GuildMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `deaf` [INFO] [stdout] --> src/request_types.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | deaf: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GuildMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mute` [INFO] [stdout] --> src/request_types.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | mute: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GuildMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `pending` [INFO] [stdout] --> src/request_types.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | pending: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `GuildMember` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `username` [INFO] [stdout] --> src/request_types.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | username: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `discriminator` [INFO] [stdout] --> src/request_types.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | discriminator: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `bot` [INFO] [stdout] --> src/request_types.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | bot: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `avatar` [INFO] [stdout] --> src/request_types.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | avatar: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `system` [INFO] [stdout] --> src/request_types.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | system: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `public_flags` [INFO] [stdout] --> src/request_types.rs:151:5 [INFO] [stdout] | [INFO] [stdout] 151 | public_flags: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `User` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/request_types.rs:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | #[derive(Deserialize, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: proc-macro derive panicked [INFO] [stdout] --> src/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | const DISCORD_PUBLIC_KEY_STRING: &str = dotenv!("PUBLIC_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: Error loading .env file: path not found [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `proc_macro_call` in this scope [INFO] [stdout] --> src/main.rs:25:41 [INFO] [stdout] | [INFO] [stdout] 25 | const DISCORD_PUBLIC_KEY_STRING: &str = dotenv!("PUBLIC_KEY"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dotenv` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `magic` due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "12d78b907f9a7ec73ebee3d06cc838f655991fd8dbbdd1d564bd7771421ff90a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12d78b907f9a7ec73ebee3d06cc838f655991fd8dbbdd1d564bd7771421ff90a", kill_on_drop: false }` [INFO] [stdout] 12d78b907f9a7ec73ebee3d06cc838f655991fd8dbbdd1d564bd7771421ff90a