[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] building jopo86/eqrs against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjopo86%2Feqrs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jopo86/eqrs on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-tc1/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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2047aab8a8a305f6ec7c3b0546bc725563a08ead25ec34d2d680c723024b280c [INFO] running `Command { std: "docker" "start" "-a" "2047aab8a8a305f6ec7c3b0546bc725563a08ead25ec34d2d680c723024b280c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2047aab8a8a305f6ec7c3b0546bc725563a08ead25ec34d2d680c723024b280c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2047aab8a8a305f6ec7c3b0546bc725563a08ead25ec34d2d680c723024b280c", kill_on_drop: false }` [INFO] [stdout] 2047aab8a8a305f6ec7c3b0546bc725563a08ead25ec34d2d680c723024b280c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 613f270f7595169d990c687ac7771b6754efa7475fd6d361390479cdd2030823 [INFO] running `Command { std: "docker" "start" "-a" "613f270f7595169d990c687ac7771b6754efa7475fd6d361390479cdd2030823", kill_on_drop: false }` [INFO] [stderr] Compiling 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] running `Command { std: "docker" "inspect" "613f270f7595169d990c687ac7771b6754efa7475fd6d361390479cdd2030823", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "613f270f7595169d990c687ac7771b6754efa7475fd6d361390479cdd2030823", kill_on_drop: false }` [INFO] [stdout] 613f270f7595169d990c687ac7771b6754efa7475fd6d361390479cdd2030823