[INFO] cloning repository https://github.com/Glowstick0017/JedBot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Glowstick0017/JedBot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlowstick0017%2FJedBot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlowstick0017%2FJedBot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2d1d8cb1e384b6187e6235d72b6a11a087ef948a
[INFO] building Glowstick0017/JedBot against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FGlowstick0017%2FJedBot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Glowstick0017/JedBot on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Glowstick0017/JedBot
[INFO] finished tweaking git repo https://github.com/Glowstick0017/JedBot
[INFO] tweaked toml for git repo https://github.com/Glowstick0017/JedBot written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Glowstick0017/JedBot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 54 packages to latest compatible versions
[INFO] [stderr]     Updating async-tungstenite v0.9.3 -> v0.11.0
[INFO] [stderr]     Updating cc v1.0.71 -> v1.2.7
[INFO] [stderr]       Adding getrandom v0.2.15
[INFO] [stderr]     Updating h2 v0.2.7 -> v0.3.21 (available: v0.3.26)
[INFO] [stderr]       Adding hermit-abi v0.3.9
[INFO] [stderr]     Updating http-body v0.3.1 -> v0.4.6
[INFO] [stderr]     Updating httpdate v0.3.2 -> v1.0.3
[INFO] [stderr]     Updating hyper v0.13.10 -> v0.14.16 (available: v0.14.32)
[INFO] [stderr]     Updating hyper-rustls v0.21.0 -> v0.23.2
[INFO] [stderr]       Adding itoa v1.0.14
[INFO] [stderr]     Updating libc v0.2.107 -> v0.2.169
[INFO] [stderr]     Updating mio v0.6.23 -> v0.8.11
[INFO] [stderr]       Adding num_cpus v1.16.0
[INFO] [stderr]     Updating reqwest v0.10.10 -> v0.11.10 (available: v0.11.27)
[INFO] [stderr]       Adding ring v0.17.8
[INFO] [stderr]       Adding rustls v0.19.1
[INFO] [stderr]       Adding rustls v0.20.9
[INFO] [stderr]       Adding rustls-pemfile v0.3.0
[INFO] [stderr]       Adding sct v0.7.1
[INFO] [stderr]     Updating serde_urlencoded v0.7.0 -> v0.7.1
[INFO] [stderr]     Updating serenity v0.9.4 -> v0.10.10 (available: v0.12.4)
[INFO] [stderr]       Adding shlex v1.3.0
[INFO] [stderr]     Updating socket2 v0.3.19 -> v0.4.10
[INFO] [stderr]       Adding spin v0.9.8
[INFO] [stderr]     Updating tokio v0.2.25 -> v1.19.2 (available: v1.42.0)
[INFO] [stderr]     Updating tokio-macros v0.2.6 -> v1.8.2
[INFO] [stderr]       Adding tokio-rustls v0.22.0
[INFO] [stderr]       Adding tokio-rustls v0.23.4
[INFO] [stderr]       Adding tokio-util v0.6.10
[INFO] [stderr]       Adding tokio-util v0.7.3 (available: v0.7.13)
[INFO] [stderr]       Adding untrusted v0.9.0
[INFO] [stderr]     Updating wasi v0.10.0+wasi-snapshot-preview1 -> v0.11.0+wasi-snapshot-preview1
[INFO] [stderr]       Adding webpki v0.22.4
[INFO] [stderr]       Adding webpki-roots v0.22.6
[INFO] [stderr]       Adding windows-sys v0.48.0
[INFO] [stderr]       Adding windows-sys v0.52.0
[INFO] [stderr]       Adding windows-targets v0.48.5
[INFO] [stderr]       Adding windows-targets v0.52.6
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_aarch64_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_aarch64_msvc v0.48.5
[INFO] [stderr]       Adding windows_aarch64_msvc v0.52.6
[INFO] [stderr]       Adding windows_i686_gnu v0.48.5
[INFO] [stderr]       Adding windows_i686_gnu v0.52.6
[INFO] [stderr]       Adding windows_i686_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_i686_msvc v0.48.5
[INFO] [stderr]       Adding windows_i686_msvc v0.52.6
[INFO] [stderr]       Adding windows_x86_64_gnu v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnu v0.52.6
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]       Adding windows_x86_64_gnullvm v0.52.6
[INFO] [stderr]       Adding windows_x86_64_msvc v0.48.5
[INFO] [stderr]       Adding windows_x86_64_msvc v0.52.6
[INFO] [stderr]     Updating winreg v0.7.0 -> v0.10.1
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2294c9b34099735c17498ad23e5329b881621857ff1bce0c2e1f2cd2eb9f153b
[INFO] running `Command { std: "docker" "start" "-a" "2294c9b34099735c17498ad23e5329b881621857ff1bce0c2e1f2cd2eb9f153b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2294c9b34099735c17498ad23e5329b881621857ff1bce0c2e1f2cd2eb9f153b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2294c9b34099735c17498ad23e5329b881621857ff1bce0c2e1f2cd2eb9f153b", kill_on_drop: false }`
[INFO] [stdout] 2294c9b34099735c17498ad23e5329b881621857ff1bce0c2e1f2cd2eb9f153b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 614c035d13a3571d1b8ca4a3b7e98b171a0a8c1c54e31d921fd7e1c94f6dea19
[INFO] running `Command { std: "docker" "start" "-a" "614c035d13a3571d1b8ca4a3b7e98b171a0a8c1c54e31d921fd7e1c94f6dea19", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling once_cell v1.8.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling pin-project-lite v0.2.7
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling futures-core v0.3.17
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling futures-sink v0.3.17
[INFO] [stderr]    Compiling futures-task v0.3.17
[INFO] [stderr]    Compiling futures-channel v0.3.17
[INFO] [stderr]    Compiling itoa v0.4.8
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling typenum v1.14.0
[INFO] [stderr]    Compiling cc v1.2.7
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-util v0.3.17
[INFO] [stderr]    Compiling serde_derive v1.0.130
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures-io v0.3.17
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling serde v1.0.130
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling http v0.2.5
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling rustls v0.20.9
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling ppv-lite86 v0.2.15
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling cpufeatures v0.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.1
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.69
[INFO] [stderr]    Compiling opaque-debug v0.3.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling encoding_rs v0.8.29
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling async-trait v0.1.51
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling itoa v1.0.14
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling rustls-pemfile v0.3.0
[INFO] [stderr]    Compiling serenity v0.10.10
[INFO] [stderr]    Compiling sha-1 v0.9.8
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling typemap_rev v0.1.5
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling futures v0.3.17
[INFO] [stderr]    Compiling tungstenite v0.11.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling webpki v0.22.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling webpki-roots v0.20.0
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling tokio-macros v1.8.2
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling pin-project-internal v1.0.8
[INFO] [stderr]    Compiling tokio v1.19.2
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling pin-project v1.0.8
[INFO] [stderr]    Compiling tokio-util v0.7.3
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling tokio-util v0.6.10
[INFO] [stderr]    Compiling async-tungstenite v0.11.0
[INFO] [stderr]    Compiling h2 v0.3.21
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling hyper v0.14.16
[INFO] [stderr]    Compiling hyper-rustls v0.23.2
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling JedBot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `choose` found for struct `Vec<&str>` in the current scope
[INFO] [stdout]   --> src/main.rs:47:26
[INFO] [stdout]    |
[INFO] [stdout] 46 |                       let mes = vs
[INFO] [stdout]    |  _______________________________-
[INFO] [stdout] 47 | |                         .choose(&mut rand::thread_rng())
[INFO] [stdout]    | |_________________________-^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `SliceRandom` which provides `choose` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 1  + use rand::seq::SliceRandom;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `choose_mut` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 47 |                         .choose_mut(&mut rand::thread_rng())
[INFO] [stdout]    |                          ~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand`
[INFO] [stdout]   --> src/main.rs:47:38
[INFO] [stdout]    |
[INFO] [stdout] 47 |                         .choose(&mut rand::thread_rng())
[INFO] [stdout]    |                                      ^^^^ use of undeclared crate or module `rand`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `JedBot` (bin "JedBot") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "614c035d13a3571d1b8ca4a3b7e98b171a0a8c1c54e31d921fd7e1c94f6dea19", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "614c035d13a3571d1b8ca4a3b7e98b171a0a8c1c54e31d921fd7e1c94f6dea19", kill_on_drop: false }`
[INFO] [stdout] 614c035d13a3571d1b8ca4a3b7e98b171a0a8c1c54e31d921fd7e1c94f6dea19
