[INFO] cloning repository https://github.com/r-tutorial-projects/rust-first-steps
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r-tutorial-projects/rust-first-steps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-tutorial-projects%2Frust-first-steps", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-tutorial-projects%2Frust-first-steps'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 588143b279af3c3833cefc59306e7b118f3b440d
[INFO] testing r-tutorial-projects/rust-first-steps against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr-tutorial-projects%2Frust-first-steps" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/r-tutorial-projects/rust-first-steps on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/r-tutorial-projects/rust-first-steps
[INFO] finished tweaking git repo https://github.com/r-tutorial-projects/rust-first-steps
[INFO] tweaked toml for git repo https://github.com/r-tutorial-projects/rust-first-steps written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/r-tutorial-projects/rust-first-steps already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 67f17e57ff5b5a51fd45fa9c5b0c8879688605647ae9b7f4eb5b7e76dd38170c
[INFO] running `Command { std: "docker" "start" "-a" "67f17e57ff5b5a51fd45fa9c5b0c8879688605647ae9b7f4eb5b7e76dd38170c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "67f17e57ff5b5a51fd45fa9c5b0c8879688605647ae9b7f4eb5b7e76dd38170c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "67f17e57ff5b5a51fd45fa9c5b0c8879688605647ae9b7f4eb5b7e76dd38170c", kill_on_drop: false }`
[INFO] [stdout] 67f17e57ff5b5a51fd45fa9c5b0c8879688605647ae9b7f4eb5b7e76dd38170c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 007154aac95c8384742ab2c327f175b2f2d88442491e36de51a31af5f523e414
[INFO] running `Command { std: "docker" "start" "-a" "007154aac95c8384742ab2c327f175b2f2d88442491e36de51a31af5f523e414", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a: [i32, 4] = [1, 2, 3, 4];
[INFO] [stdout]    |         --     ^ expected one of 7 possible tokens
[INFO] [stdout]    |         ||
[INFO] [stdout]    |         |help: use `=` if you meant to assign
[INFO] [stdout]    |         while parsing the type for `a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found builtin type `i32`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a: [i32, 4] = [1, 2, 3, 4];
[INFO] [stdout]    |             ^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0532]: expected tuple struct or tuple variant, found struct `Color`
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 70 | /     struct Color {
[INFO] [stdout] 71 | |         red: u8,
[INFO] [stdout] 72 | |         green: u8,
[INFO] [stdout] 73 | |         blue: u8,
[INFO] [stdout] 74 | |     }
[INFO] [stdout]    | |_____- `Color` defined here
[INFO] [stdout] ...
[INFO] [stdout] 78 |       struct EColor(u8, u8, u8);
[INFO] [stdout]    |       -------------------------- similarly named tuple struct `EColor` defined here
[INFO] [stdout] 79 |       let Color(r, g, b) = EColor(0, 0, 0);
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use struct pattern syntax instead
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let Color { red, green, blue } = EColor(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: a tuple struct with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let EColor(r, g, b) = EColor(0, 0, 0);
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: destructuring assignments are unstable
[INFO] [stdout]   --> src/main.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a: [i32, 4] = [1, 2, 3, 4];
[INFO] [stdout]    |            -------- ^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            cannot assign to this expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #71126 <https://github.com/rust-lang/rust/issues/71126> for more information
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0527]: pattern requires 2 elements but array has 4
[INFO] [stdout]   --> src/main.rs:20:12
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a: [i32, 4] = [1, 2, 3, 4];
[INFO] [stdout]    |            ^^^^^^^^ expected 4 elements
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/main.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let a: [i32, 4] = [1, 2, 3, 4];
[INFO] [stdout]    |                  -  ^
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  cannot assign to this expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let b: &[i32] = &a;
[INFO] [stdout]    |            ------   ^^ expected slice `[i32]`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected due to this
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected reference `&[i32]`
[INFO] [stdout]               found reference `&()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `()`
[INFO] [stdout]   --> src/main.rs:22:14
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let c = &a[0..4];
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `()`
[INFO] [stdout]   --> src/main.rs:23:14
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let d = &a[..];
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `()`
[INFO] [stdout]   --> src/main.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let e = &a[1..3];
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `()`
[INFO] [stdout]   --> src/main.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let f = &a[1..];
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0608]: cannot index into a value of type `()`
[INFO] [stdout]   --> src/main.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let g = &a[..3];
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to access tuple elements, use tuple indexing syntax (e.g., `tuple.0`)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:66:17
[INFO] [stdout]    |
[INFO] [stdout] 66 |         if a == 0 { continue; }
[INFO] [stdout]    |                 ^ expected `()`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:67:17
[INFO] [stdout]    |
[INFO] [stdout] 67 |         if a == 2 { break; }
[INFO] [stdout]    |                 ^ expected `()`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0308, E0423, E0527, E0532, E0608, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust` due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "007154aac95c8384742ab2c327f175b2f2d88442491e36de51a31af5f523e414", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "007154aac95c8384742ab2c327f175b2f2d88442491e36de51a31af5f523e414", kill_on_drop: false }`
[INFO] [stdout] 007154aac95c8384742ab2c327f175b2f2d88442491e36de51a31af5f523e414
