[INFO] updating cached repository https://github.com/the-sporkening/Sporkbot-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd6968e4c5cd5a2e58f3d134c3f21a8936b4d4a3 [INFO] testing the-sporkening/Sporkbot-Rust against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthe-sporkening%2FSporkbot-Rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/the-sporkening/Sporkbot-Rust on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/the-sporkening/Sporkbot-Rust [INFO] finished tweaking git repo https://github.com/the-sporkening/Sporkbot-Rust [INFO] tweaked toml for git repo https://github.com/the-sporkening/Sporkbot-Rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/the-sporkening/Sporkbot-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b62f1a321fa9a3211704c05b6d12cefff624b7d54b4f88a162ba2dc5b8ab7844 [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" "b62f1a321fa9a3211704c05b6d12cefff624b7d54b4f88a162ba2dc5b8ab7844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b62f1a321fa9a3211704c05b6d12cefff624b7d54b4f88a162ba2dc5b8ab7844", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62f1a321fa9a3211704c05b6d12cefff624b7d54b4f88a162ba2dc5b8ab7844", kill_on_drop: false }` [INFO] [stdout] b62f1a321fa9a3211704c05b6d12cefff624b7d54b4f88a162ba2dc5b8ab7844 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b42eacbe49d5df414a6a10efc694870b3272f4e3952cbc6d187f50c3a8865f5d [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" "b42eacbe49d5df414a6a10efc694870b3272f4e3952cbc6d187f50c3a8865f5d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling string_cache_shared v0.3.0 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling doc-comment v0.3.2 [INFO] [stderr] Compiling serenity v0.8.0 (https://github.com/serenity-rs/serenity?branch=current#c3d5264f) [INFO] [stderr] Compiling sysinfo v0.9.6 [INFO] [stderr] Compiling uwl v0.5.1 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling ring v0.16.11 [INFO] [stderr] Compiling sys-info v0.5.10 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling rust-embed-utils v5.0.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling debug_unreachable v0.1.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling r2d2 v0.8.8 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling libmath v0.2.1 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling string_cache_codegen v0.4.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling string_cache v0.6.2 [INFO] [stderr] Compiling markup5ever v0.6.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling html5ever v0.21.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling tokio-rustls v0.13.0 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling rust-embed-impl v5.5.0 [INFO] [stderr] Compiling diesel_derives v1.4.1 [INFO] [stderr] Compiling command_attr v0.1.7 (https://github.com/serenity-rs/serenity?branch=current#c3d5264f) [INFO] [stderr] Compiling rust-embed v5.5.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling h2 v0.2.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling hyper v0.13.3 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling diesel v1.4.3 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling dissolve v0.2.2 [INFO] [stderr] Compiling urbandictionary v0.3.2 (https://github.com/youssefhabri/urbandictionary.rs#1010b8fb) [INFO] [stderr] Compiling sporkbot_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::db` [INFO] [stdout] --> src/core/consts.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::db::Database; [INFO] [stdout] | ^^ maybe a missing crate `db`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `check`, `command`, `help` [INFO] [stdout] --> src/commands/anilist.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use serenity::framework::standard::macros::{check, command, group, help}; [INFO] [stdout] | ^^^^^ ^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DB` [INFO] [stdout] --> src/core/framework.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::consts::{DB, BOT_ID, PREFIX, PREFIXES}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::core::consts::PREFIX` [INFO] [stdout] --> src/core/handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::core::consts::PREFIX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UserId`, `VoiceEvent` [INFO] [stdout] --> src/core/handler.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | event::{ResumedEvent, VoiceEvent}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 7 | id::{GuildId, UserId}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuildChannel` [INFO] [stdout] --> src/monitors.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | channel::{GuildChannel, Message}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/core/handler.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stdout] --> src/core/handler.rs:41:29 [INFO] [stdout] | [INFO] [stdout] 41 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ help: replace the use of the deprecated item: `Once::new()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sporkbot_rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b42eacbe49d5df414a6a10efc694870b3272f4e3952cbc6d187f50c3a8865f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b42eacbe49d5df414a6a10efc694870b3272f4e3952cbc6d187f50c3a8865f5d", kill_on_drop: false }` [INFO] [stdout] b42eacbe49d5df414a6a10efc694870b3272f4e3952cbc6d187f50c3a8865f5d