[INFO] cloning repository https://github.com/eddogola/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eddogola/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddogola%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddogola%2Frust-examples'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/eddogola/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eddogola/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddogola%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddogola%2Frust-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 047bd62e44b4de451fa39376035fdec8ba0c314d [INFO] checking eddogola/rust-examples against master#69fd5e4059f8840f09f60269bcda23dcdcb77151 for pr-135733 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddogola%2Frust-examples" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eddogola/rust-examples on toolchain 69fd5e4059f8840f09f60269bcda23dcdcb77151 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eddogola/rust-examples [INFO] finished tweaking git repo https://github.com/eddogola/rust-examples [INFO] tweaked toml for git repo https://github.com/eddogola/rust-examples written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/eddogola/rust-examples 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" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e4b11e2ce9b3667de4a8bdcb89ac5520f89777b6b5f5844c8fe9b15d416aadf [INFO] running `Command { std: "docker" "start" "-a" "6e4b11e2ce9b3667de4a8bdcb89ac5520f89777b6b5f5844c8fe9b15d416aadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e4b11e2ce9b3667de4a8bdcb89ac5520f89777b6b5f5844c8fe9b15d416aadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e4b11e2ce9b3667de4a8bdcb89ac5520f89777b6b5f5844c8fe9b15d416aadf", kill_on_drop: false }` [INFO] [stdout] 6e4b11e2ce9b3667de4a8bdcb89ac5520f89777b6b5f5844c8fe9b15d416aadf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+69fd5e4059f8840f09f60269bcda23dcdcb77151" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23db8a897fb9bb9ce3d708881d712ca9c758cab283f983856c98437d757d83f7 [INFO] running `Command { std: "docker" "start" "-a" "23db8a897fb9bb9ce3d708881d712ca9c758cab283f983856c98437d757d83f7", kill_on_drop: false }` [INFO] [stderr] Checking intops v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&mut {integer}` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | map.entry(num).or_insert(0) += 1; [INFO] [stdout] | ---------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `&mut {integer}` [INFO] [stdout] | [INFO] [stdout] help: `+=` can be used on `{integer}` if you dereference the left-hand side [INFO] [stdout] | [INFO] [stdout] 39 | *map.entry(num).or_insert(0) += 1; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `&mut {integer}` [INFO] [stdout] --> src/main.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | map.entry(num).or_insert(0) += 1; [INFO] [stdout] | ---------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `&mut {integer}` [INFO] [stdout] | [INFO] [stdout] help: `+=` can be used on `{integer}` if you dereference the left-hand side [INFO] [stdout] | [INFO] [stdout] 39 | *map.entry(num).or_insert(0) += 1; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn mode(numbers: &[i32]) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 38 | / for num in numbers { [INFO] [stdout] 39 | | map.entry(num).or_insert(0) += 1; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 40 ~ } [INFO] [stdout] 41 + /* `i32` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 35 | fn mode(numbers: &[i32]) -> i32 { [INFO] [stdout] | --- expected `i32` because of return type [INFO] [stdout] ... [INFO] [stdout] 38 | / for num in numbers { [INFO] [stdout] 39 | | map.entry(num).or_insert(0) += 1; [INFO] [stdout] 40 | | } [INFO] [stdout] | |_____^ expected `i32`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: `for` loops evaluate to unit type `()` [INFO] [stdout] help: consider returning a value here [INFO] [stdout] | [INFO] [stdout] 40 ~ } [INFO] [stdout] 41 + /* `i32` value */ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `intops` (bin "intops") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `intops` (bin "intops" test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "23db8a897fb9bb9ce3d708881d712ca9c758cab283f983856c98437d757d83f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23db8a897fb9bb9ce3d708881d712ca9c758cab283f983856c98437d757d83f7", kill_on_drop: false }` [INFO] [stdout] 23db8a897fb9bb9ce3d708881d712ca9c758cab283f983856c98437d757d83f7