[INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs/refs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/jopo86/eqrs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jopo86/eqrs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f1320256e3042d67b2b70f67c47733f94ddea7f [INFO] checking jopo86/eqrs against try#121a90d34197f711021eeb158e7f4184b8be8ceb for pr-140313 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jopo86/eqrs on toolchain 121a90d34197f711021eeb158e7f4184b8be8ceb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jopo86/eqrs [INFO] finished tweaking git repo https://github.com/jopo86/eqrs [INFO] tweaked toml for git repo https://github.com/jopo86/eqrs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jopo86/eqrs 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" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acf7d2462c38ae2f70264e606ea88c4c0d7afe7708e039b818d026dbc514332d [INFO] running `Command { std: "docker" "start" "-a" "acf7d2462c38ae2f70264e606ea88c4c0d7afe7708e039b818d026dbc514332d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acf7d2462c38ae2f70264e606ea88c4c0d7afe7708e039b818d026dbc514332d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acf7d2462c38ae2f70264e606ea88c4c0d7afe7708e039b818d026dbc514332d", kill_on_drop: false }` [INFO] [stdout] acf7d2462c38ae2f70264e606ea88c4c0d7afe7708e039b818d026dbc514332d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+121a90d34197f711021eeb158e7f4184b8be8ceb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab5771474f9408014db3e2cc08ab3ad755acfe1c82455df11715f073f19eb90b [INFO] running `Command { std: "docker" "start" "-a" "ab5771474f9408014db3e2cc08ab3ad755acfe1c82455df11715f073f19eb90b", kill_on_drop: false }` [INFO] [stderr] Checking eqrs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tokenize/mod.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | if i + 4 < str.len() && chars[i + 4] { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ expected `bool`, found `char` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:84:71 [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:104:62 [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:104:75 [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:126:75 [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/post_process.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i], vec[i + 1]) { [INFO] [stdout] | ^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i].clone(), vec[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/post_process.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i], vec[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i], vec[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eqrs` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/tokenize/mod.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | if i + 4 < str.len() && chars[i + 4] { [INFO] [stdout] | ----------------- ^^^^^^^^^^^^ expected `bool`, found `char` [INFO] [stdout] | | [INFO] [stdout] | expected because this is `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:47:48 [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:47:57 [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 47 | if let (Token::Op(_), Token::Op(_)) = (expr[i], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:84:58 [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:84:71 [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 84 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:104:62 [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:104:75 [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 104 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:126:62 [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1].clone(), expr[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/calculate.rs:126:75 [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 126 | if let (Token::Num(a), Token::Num(b)) = (expr[i - 1], expr[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/post_process.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i], vec[i + 1]) { [INFO] [stdout] | ^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i].clone(), vec[i + 1]) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of index of `Vec` [INFO] [stdout] --> src/post_process.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i], vec[i + 1]) { [INFO] [stdout] | ^^^^^^^^^^ move occurs because value has type `token::Token`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 35 | match (vec[i], vec[i + 1].clone()) { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0507. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eqrs` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "ab5771474f9408014db3e2cc08ab3ad755acfe1c82455df11715f073f19eb90b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab5771474f9408014db3e2cc08ab3ad755acfe1c82455df11715f073f19eb90b", kill_on_drop: false }` [INFO] [stdout] ab5771474f9408014db3e2cc08ab3ad755acfe1c82455df11715f073f19eb90b