[INFO] cloning repository https://github.com/marcolussetti/programming_rust_chapter2_gcd
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marcolussetti/programming_rust_chapter2_gcd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcolussetti%2Fprogramming_rust_chapter2_gcd", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcolussetti%2Fprogramming_rust_chapter2_gcd'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f42d988a4af20791bb6578279819d0bd94d19507
[INFO] checking marcolussetti/programming_rust_chapter2_gcd against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarcolussetti%2Fprogramming_rust_chapter2_gcd" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/marcolussetti/programming_rust_chapter2_gcd on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/marcolussetti/programming_rust_chapter2_gcd
[INFO] finished tweaking git repo https://github.com/marcolussetti/programming_rust_chapter2_gcd
[INFO] tweaked toml for git repo https://github.com/marcolussetti/programming_rust_chapter2_gcd written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/marcolussetti/programming_rust_chapter2_gcd already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c83aa440a23d031689265ccc53fcf78b89e56da9d64d4ae6837c2a18da4611e
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1c83aa440a23d031689265ccc53fcf78b89e56da9d64d4ae6837c2a18da4611e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c83aa440a23d031689265ccc53fcf78b89e56da9d64d4ae6837c2a18da4611e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c83aa440a23d031689265ccc53fcf78b89e56da9d64d4ae6837c2a18da4611e", kill_on_drop: false }`
[INFO] [stdout] 1c83aa440a23d031689265ccc53fcf78b89e56da9d64d4ae6837c2a18da4611e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 44d9f59b482d5eb6b6c0d4a270de59bdacc3a1598b376fe4e70c6171324de121
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "44d9f59b482d5eb6b6c0d4a270de59bdacc3a1598b376fe4e70c6171324de121", kill_on_drop: false }`
[INFO] [stderr]     Checking programming_rust_chapter1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     }s
[INFO] [stdout]    |       ^ help: add `;` here
[INFO] [stdout] 16 | 
[INFO] [stdout] 17 |     let mut running_gcd = numbers[0];
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |     }s
[INFO] [stdout]    |       ^ help: add `;` here
[INFO] [stdout] 16 | 
[INFO] [stdout] 17 |     let mut running_gcd = numbers[0];
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `s` in this scope
[INFO] [stdout]   --> src/main.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     }s
[INFO] [stdout]    |      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `d` in this scope
[INFO] [stdout]   --> src/main.rs:22:68
[INFO] [stdout]    |
[INFO] [stdout] 22 |     println!("The greatest common divisor of {:?} is {}", numbers, d)
[INFO] [stdout]    |                                                                    ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd, *number);
[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:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd, *number);
[INFO] [stdout]    |                   ^^^ expected `u64`, found fn item
[INFO] [stdout] ...
[INFO] [stdout] 28 | fn gcd(mut a: u64, mut b: u64) -> u64 {
[INFO] [stdout]    | ------------------------------------- fn(u64, u64) -> u64 {gcd} defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u64`
[INFO] [stdout]            found fn item `fn(u64, u64) -> u64 {gcd}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd(a, b), *number);
[INFO] [stdout]    |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `s` in this scope
[INFO] [stdout]   --> src/main.rs:15:6
[INFO] [stdout]    |
[INFO] [stdout] 15 |     }s
[INFO] [stdout]    |      ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `d` in this scope
[INFO] [stdout]   --> src/main.rs:22:68
[INFO] [stdout]    |
[INFO] [stdout] 22 |     println!("The greatest common divisor of {:?} is {}", numbers, d)
[INFO] [stdout]    |                                                                    ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0070]: invalid left-hand side of assignment
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd, *number);
[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:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd, *number);
[INFO] [stdout]    |                   ^^^ expected `u64`, found fn item
[INFO] [stdout] ...
[INFO] [stdout] 28 | fn gcd(mut a: u64, mut b: u64) -> u64 {
[INFO] [stdout]    | ------------------------------------- fn(u64, u64) -> u64 {gcd} defined here
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type `u64`
[INFO] [stdout]            found fn item `fn(u64, u64) -> u64 {gcd}`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd(a, b), *number);
[INFO] [stdout]    |                      ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd, *number);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^ expected fn item, found `u64`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn item `fn(u64, u64) -> u64 {gcd}`
[INFO] [stdout]                  found type `u64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `programming_rust_chapter1` due to 7 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:19:15
[INFO] [stdout]    |
[INFO] [stdout] 19 |         gcd = gcd(gcd, *number);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^ expected fn item, found `u64`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn item `fn(u64, u64) -> u64 {gcd}`
[INFO] [stdout]                  found type `u64`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0070, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0070`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "44d9f59b482d5eb6b6c0d4a270de59bdacc3a1598b376fe4e70c6171324de121", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "44d9f59b482d5eb6b6c0d4a270de59bdacc3a1598b376fe4e70c6171324de121", kill_on_drop: false }`
[INFO] [stdout] 44d9f59b482d5eb6b6c0d4a270de59bdacc3a1598b376fe4e70c6171324de121
