[INFO] cloning repository https://github.com/HarrySeldonIsCool/discord-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarrySeldonIsCool/discord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrySeldonIsCool%2Fdiscord-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrySeldonIsCool%2Fdiscord-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9e22fe969d31dd31f45830f8ff10cf9681136e26
[INFO] testing HarrySeldonIsCool/discord-bot/9e22fe969d31dd31f45830f8ff10cf9681136e26 against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarrySeldonIsCool%2Fdiscord-bot" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/HarrySeldonIsCool/discord-bot
[INFO] finished tweaking git repo https://github.com/HarrySeldonIsCool/discord-bot
[INFO] tweaked toml for git repo https://github.com/HarrySeldonIsCool/discord-bot written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HarrySeldonIsCool/discord-bot on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HarrySeldonIsCool/discord-bot 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded signal-hook-registry v1.3.0
[INFO] [stderr]   Downloaded typemap_rev v0.1.5
[INFO] [stderr]   Downloaded tinyvec v1.2.0
[INFO] [stderr]   Downloaded futures-sink v0.3.15
[INFO] [stderr]   Downloaded input_buffer v0.3.1
[INFO] [stderr]   Downloaded tokio-macros v1.2.0
[INFO] [stderr]   Downloaded sha-1 v0.9.6
[INFO] [stderr]   Downloaded scan_fmt v0.2.6
[INFO] [stderr]   Downloaded pin-project-internal v1.0.7
[INFO] [stderr]   Downloaded tungstenite v0.11.1
[INFO] [stderr]   Downloaded async-tungstenite v0.11.0
[INFO] [stderr]   Downloaded futures v0.3.15
[INFO] [stderr]   Downloaded pin-project v1.0.7
[INFO] [stderr]   Downloaded hyper-rustls v0.22.1
[INFO] [stderr]   Downloaded futures-util v0.3.15
[INFO] [stderr]   Downloaded reqwest v0.11.3
[INFO] [stderr]   Downloaded hyper v0.14.7
[INFO] [stderr]   Downloaded syn v1.0.72
[INFO] [stderr]   Downloaded command_attr v0.3.6
[INFO] [stderr]   Downloaded futures-channel v0.3.15
[INFO] [stderr]   Downloaded webpki-roots v0.20.0
[INFO] [stderr]   Downloaded futures-macro v0.3.15
[INFO] [stderr]   Downloaded futures-task v0.3.15
[INFO] [stderr]   Downloaded httpdate v1.0.0
[INFO] [stderr]   Downloaded serenity v0.10.7
[INFO] [stderr]   Downloaded tokio v1.6.0
[INFO] [stderr]   Downloaded libc v0.2.94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 906bf48eadd4412f6bccd5684462d4482b278eb393ed517229420a821adbf0b4
[INFO] running `Command { std: "docker" "start" "-a" "906bf48eadd4412f6bccd5684462d4482b278eb393ed517229420a821adbf0b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "906bf48eadd4412f6bccd5684462d4482b278eb393ed517229420a821adbf0b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "906bf48eadd4412f6bccd5684462d4482b278eb393ed517229420a821adbf0b4", kill_on_drop: false }`
[INFO] [stdout] 906bf48eadd4412f6bccd5684462d4482b278eb393ed517229420a821adbf0b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38085d6d5063736be27392d79468bfbaa2bd68aa932061ca288da7284a483cdf
[INFO] running `Command { std: "docker" "start" "-a" "38085d6d5063736be27392d79468bfbaa2bd68aa932061ca288da7284a483cdf", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling futures-core v0.3.15
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling tokio v1.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.15
[INFO] [stderr]    Compiling futures-sink v0.3.15
[INFO] [stderr]    Compiling futures-task v0.3.15
[INFO] [stderr]    Compiling futures-channel v0.3.15
[INFO] [stderr]    Compiling serde_derive v1.0.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling futures-util v0.3.15
[INFO] [stderr]    Compiling serde v1.0.126
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling httparse v1.4.1
[INFO] [stderr]    Compiling futures-io v0.3.15
[INFO] [stderr]    Compiling slab v0.4.3
[INFO] [stderr]    Compiling tinyvec v1.2.0
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling indexmap v1.6.2
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling unicode-bidi v0.3.5
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling cpufeatures v0.1.4
[INFO] [stderr]    Compiling httpdate v1.0.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling digest v0.9.0
[INFO] [stderr]    Compiling block-buffer v0.9.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling sha-1 v0.9.6
[INFO] [stderr]    Compiling input_buffer v0.3.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.17
[INFO] [stderr]    Compiling base64 v0.12.3
[INFO] [stderr]    Compiling mio v0.7.11
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling signal-hook-registry v1.3.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling async-trait v0.1.50
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling encoding_rs v0.8.28
[INFO] [stderr]    Compiling serenity v0.10.7
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling ipnet v2.3.0
[INFO] [stderr]    Compiling tracing-log v0.1.2
[INFO] [stderr]    Compiling sharded-slab v0.1.1
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling typemap_rev v0.1.5
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling regex-automata v0.1.9
[INFO] [stderr]    Compiling uwl v0.6.0
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling tungstenite v0.11.1
[INFO] [stderr]    Compiling webpki v0.21.4
[INFO] [stderr]    Compiling sct v0.6.1
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling scan_fmt v0.2.6
[INFO] [stderr]    Compiling rustls v0.19.1
[INFO] [stderr]    Compiling webpki-roots v0.21.1
[INFO] [stderr]    Compiling webpki-roots v0.20.0
[INFO] [stderr]    Compiling tokio-macros v1.2.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling command_attr v0.3.6
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling tokio-util v0.6.7
[INFO] [stderr]    Compiling tokio-rustls v0.22.0
[INFO] [stderr]    Compiling async-tungstenite v0.11.0
[INFO] [stderr]    Compiling futures v0.3.15
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling h2 v0.3.3
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling serde_urlencoded v0.7.0
[INFO] [stderr]    Compiling tracing-serde v0.1.2
[INFO] [stderr]    Compiling hyper v0.14.7
[INFO] [stderr]    Compiling tracing-subscriber v0.2.18
[INFO] [stderr]    Compiling hyper-rustls v0.22.1
[INFO] [stderr]    Compiling reqwest v0.11.3
[INFO] [stderr]    Compiling e06_sample_bot_structure v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn`
[INFO] [stdout]    --> src/commands/calc_types/mnozina.rs:370:5
[INFO] [stdout]     |
[INFO] [stdout] 341 | impl Mnozina{
[INFO] [stdout]     |             - while parsing this item list starting here
[INFO] [stdout] ...
[INFO] [stdout] 369 |     }x
[INFO] [stdout]     |       - expected one of `!` or `::`
[INFO] [stdout] 370 |     fn empty() -> Self{
[INFO] [stdout]     |     ^^ unexpected token
[INFO] [stdout] ...
[INFO] [stdout] 384 | }
[INFO] [stdout]     | - the item list ends here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `scan_fmt::*`
[INFO] [stdout]  --> src/commands/calc.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use scan_fmt::*;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `max`
[INFO] [stdout]  --> src/commands/calc_types/mnozina.rs:2:31
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::{Ordering, min, max};
[INFO] [stdout]   |                               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `interval` found for struct `mnozina::Mnozina` in the current scope
[INFO] [stdout]    --> src/commands/calc.rs:218:58
[INFO] [stdout]     |
[INFO] [stdout] 218 |         Interval(a, b) => vec![Mnozina(mnozina::Mnozina::interval((args[0].number(), *a), (args[1].number(), *b)))],
[INFO] [stdout]     |                                                          ^^^^^^^^ function or associated item not found in `mnozina::Mnozina`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/commands/calc_types/mnozina.rs:5:1
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct Mnozina(Vec<MnozinaC>);
[INFO] [stdout]     | ------------------ function or associated item `interval` not found for this struct
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `simplify` found for struct `mnozina::Mnozina` in the current scope
[INFO] [stdout]    --> src/commands/calc_types/mnozina.rs:196:22
[INFO] [stdout]     |
[INFO] [stdout] 5   | pub struct Mnozina(Vec<MnozinaC>);
[INFO] [stdout]     | ------------------ method `simplify` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 196 |         Mnozina(out).simplify()
[INFO] [stdout]     |                      ^^^^^^^^ method not found in `mnozina::Mnozina`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops`
[INFO] [stdout]   --> src/commands/calc.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::ops::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/commands/calc.rs:115:37
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     if let Some((x, y)) = dividers.iter().enumerate().find(|(a, b)| i == **b){
[INFO] [stdout]     |                                     ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]    --> src/commands/calc.rs:115:78
[INFO] [stdout]     |
[INFO] [stdout] 115 |                     if let Some((x, y)) = dividers.iter().enumerate().find(|(a, b)| i == **b){
[INFO] [stdout]     |                                                                              ^ help: if this is intentional, prefix it with an underscore: `_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/commands/calc.rs:310:10
[INFO] [stdout]     |
[INFO] [stdout] 310 |     for (i, x) in input2.char_indices(){
[INFO] [stdout]     |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]    --> src/commands/calc_types/mnozina.rs:119:40
[INFO] [stdout]     |
[INFO] [stdout] 119 |                     if let Some(Single(b)) = out.iter_mut().find(|som| if Single(*a) == **som {true} else {false}){}
[INFO] [stdout]     |                                        ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/commands/calc_types/polynomial.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 |     for (i, x) in input2.char_indices(){
[INFO] [stdout]    |          ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `e06_sample_bot_structure` (bin "e06_sample_bot_structure") due to 3 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "38085d6d5063736be27392d79468bfbaa2bd68aa932061ca288da7284a483cdf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38085d6d5063736be27392d79468bfbaa2bd68aa932061ca288da7284a483cdf", kill_on_drop: false }`
[INFO] [stdout] 38085d6d5063736be27392d79468bfbaa2bd68aa932061ca288da7284a483cdf
