[INFO] cloning repository https://github.com/AntonDmitriev1484/Learning-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AntonDmitriev1484/Learning-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDmitriev1484%2FLearning-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDmitriev1484%2FLearning-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5ef86da086c3d1c521494c7be5ad566fdee9d8f0
[INFO] testing AntonDmitriev1484/Learning-Rust against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAntonDmitriev1484%2FLearning-Rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AntonDmitriev1484/Learning-Rust on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AntonDmitriev1484/Learning-Rust
[INFO] finished tweaking git repo https://github.com/AntonDmitriev1484/Learning-Rust
[INFO] tweaked toml for git repo https://github.com/AntonDmitriev1484/Learning-Rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AntonDmitriev1484/Learning-Rust 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55da7a1306fbd42d38812a3d15a949e303b603fffd7ec5e2129785f6b2f5dc4a
[INFO] running `Command { std: "docker" "start" "-a" "55da7a1306fbd42d38812a3d15a949e303b603fffd7ec5e2129785f6b2f5dc4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55da7a1306fbd42d38812a3d15a949e303b603fffd7ec5e2129785f6b2f5dc4a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55da7a1306fbd42d38812a3d15a949e303b603fffd7ec5e2129785f6b2f5dc4a", kill_on_drop: false }`
[INFO] [stdout] 55da7a1306fbd42d38812a3d15a949e303b603fffd7ec5e2129785f6b2f5dc4a
[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=warn" "-e" "RUSTDOCFLAGS=--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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c7234aecc4ed856c64e13f12de93be1674ca47584bd528c682bb8f86e342ed8f
[INFO] running `Command { std: "docker" "start" "-a" "c7234aecc4ed856c64e13f12de93be1674ca47584bd528c682bb8f86e342ed8f", kill_on_drop: false }`
[INFO] [stderr]    Compiling Rusting v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `you`
[INFO] [stdout]    --> src/main.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 200 |             [('+', fuck you),
[INFO] [stdout]     |                        -^^^ expected one of 8 possible tokens
[INFO] [stdout]     |                        |
[INFO] [stdout]     |                        help: missing `,`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `fuck` in this scope
[INFO] [stdout]    --> src/main.rs:200:20
[INFO] [stdout]     |
[INFO] [stdout] 200 |             [('+', fuck you),
[INFO] [stdout]     |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `you` in this scope
[INFO] [stdout]    --> src/main.rs:200:25
[INFO] [stdout]     |
[INFO] [stdout] 200 |             [('+', fuck you),
[INFO] [stdout]     |                         ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::mem;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 |         if (minInclusive <= i && i < maxExclusive) { // Capture min and max parameters in the closure
[INFO] [stdout]    |            ^                                     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 -         if (minInclusive <= i && i < maxExclusive) { // Capture min and max parameters in the closure
[INFO] [stdout] 14 +         if minInclusive <= i && i < maxExclusive { // Capture min and max parameters in the closure
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:70:8
[INFO] [stdout]    |
[INFO] [stdout] 70 |     if (input==target) {
[INFO] [stdout]    |        ^             ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -     if (input==target) {
[INFO] [stdout] 70 +     if input==target {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:113:8
[INFO] [stdout]     |
[INFO] [stdout] 113 |     if (!op_flag) { println!("Add an operator you kablunkus")}
[INFO] [stdout]     |        ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 113 -     if (!op_flag) { println!("Add an operator you kablunkus")}
[INFO] [stdout] 113 +     if !op_flag { println!("Add an operator you kablunkus")}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:125:12
[INFO] [stdout]     |
[INFO] [stdout] 125 |         if (predicate(c)) {
[INFO] [stdout]     |            ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 125 -         if (predicate(c)) {
[INFO] [stdout] 125 +         if predicate(c) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:229:28
[INFO] [stdout]     |
[INFO] [stdout] 229 |                         if (c.is_digit(10)) {
[INFO] [stdout]     |                            ^              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 229 -                         if (c.is_digit(10)) {
[INFO] [stdout] 229 +                         if c.is_digit(10) {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0615]: attempted to take value of method `chars` on type `String`
[INFO] [stdout]    --> src/main.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |     for (i,c) in str.chars.enumerate() {
[INFO] [stdout]     |                      ^^^^^ method, not a field
[INFO] [stdout]     |
[INFO] [stdout] help: use parentheses to call the method
[INFO] [stdout]     |
[INFO] [stdout] 215 |     for (i,c) in str.chars().enumerate() {
[INFO] [stdout]     |                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:219:29
[INFO] [stdout]     |
[INFO] [stdout] 219 |                 tokens.push(c);
[INFO] [stdout]     |                        ---- ^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                        |    |
[INFO] [stdout]     |                        |    expected `String`, found `&char`
[INFO] [stdout]     |                        arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/vec/mod.rs:1880:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:225:37
[INFO] [stdout]     |
[INFO] [stdout] 225 |                         tokens.push(c);
[INFO] [stdout]     |                                ---- ^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]     |                                |    |
[INFO] [stdout]     |                                |    expected `String`, found `&char`
[INFO] [stdout]     |                                arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/vec/mod.rs:1880:12
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:230:36
[INFO] [stdout]     |
[INFO] [stdout] 230 | ...                   num += c;
[INFO] [stdout]     |                              ^ expected `&str`, found `&char`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&str`
[INFO] [stdout]                found reference `&char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: `Vec<String>` is not an iterator
[INFO] [stdout]    --> src/main.rs:253:30
[INFO] [stdout]     |
[INFO] [stdout] 253 |     println!("tokens: {}", v.reduce(String::new(), |acc, x| acc+x));
[INFO] [stdout]     |                              ^^^^^^ `Vec<String>` is not an iterator; try calling `.into_iter()` or `.iter()`
[INFO] [stdout]    --> /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/alloc/src/vec/mod.rs:396:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: doesn't satisfy `Vec<String>: Iterator`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the following trait bounds were not satisfied:
[INFO] [stdout]             `Vec<String>: Iterator`
[INFO] [stdout]             which is required by `&mut Vec<String>: Iterator`
[INFO] [stdout]             `[String]: Iterator`
[INFO] [stdout]             which is required by `&mut [String]: Iterator`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0782]: trait objects must include the `dyn` keyword
[INFO] [stdout]    --> src/main.rs:193:43
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let mut operations: HashMap<char, Box<Fn(i32, i32)->i32>> =
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: add `dyn` keyword before this trait
[INFO] [stdout]     |
[INFO] [stdout] 193 |     let mut operations: HashMap<char, Box<dyn Fn(i32, i32)->i32>> =
[INFO] [stdout]     |                                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0599, E0615, E0782.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rusting` (bin "Rusting") due to 10 previous errors; 7 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c7234aecc4ed856c64e13f12de93be1674ca47584bd528c682bb8f86e342ed8f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7234aecc4ed856c64e13f12de93be1674ca47584bd528c682bb8f86e342ed8f", kill_on_drop: false }`
[INFO] [stdout] c7234aecc4ed856c64e13f12de93be1674ca47584bd528c682bb8f86e342ed8f
