[INFO] cloning repository https://github.com/mikayla-maki/advent-of-code-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikayla-maki/advent-of-code-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikayla-maki%2Fadvent-of-code-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikayla-maki%2Fadvent-of-code-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e75b6ef2d356940df69c4fd1e9f3d4556984f732 [INFO] checking mikayla-maki/advent-of-code-2021 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikayla-maki%2Fadvent-of-code-2021" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikayla-maki/advent-of-code-2021 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mikayla-maki/advent-of-code-2021 [INFO] finished tweaking git repo https://github.com/mikayla-maki/advent-of-code-2021 [INFO] tweaked toml for git repo https://github.com/mikayla-maki/advent-of-code-2021 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mikayla-maki/advent-of-code-2021 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e24730bdddf26131d46b210a5395c5a7a60d1d8632adb3dceb2da0c68ad5e463 [INFO] running `Command { std: "docker" "start" "-a" "e24730bdddf26131d46b210a5395c5a7a60d1d8632adb3dceb2da0c68ad5e463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e24730bdddf26131d46b210a5395c5a7a60d1d8632adb3dceb2da0c68ad5e463", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e24730bdddf26131d46b210a5395c5a7a60d1d8632adb3dceb2da0c68ad5e463", kill_on_drop: false }` [INFO] [stdout] e24730bdddf26131d46b210a5395c5a7a60d1d8632adb3dceb2da0c68ad5e463 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3b921250963589041337e58f1b92b1db165f99d173d348637a5e46995239e19 [INFO] running `Command { std: "docker" "start" "-a" "e3b921250963589041337e58f1b92b1db165f99d173d348637a5e46995239e19", kill_on_drop: false }` [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `matching` in this scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let cAndf = matching(one, four); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let bAndd = subtract(four, cAndf); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `matching` in this scope [INFO] [stdout] --> src/main.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let cAndf = matching(one, four); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `matching` in this scope [INFO] [stdout] --> src/main.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | let a = subtract(matching(four, seven), cAndf)[0]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let a = subtract(matching(four, seven), cAndf)[0]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let bAndd = subtract(four, cAndf); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | let nine = remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:79:90 [INFO] [stdout] | [INFO] [stdout] 79 | let nine = remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:80:64 [INFO] [stdout] | [INFO] [stdout] 80 | ... && str.contains(bAndd)[0] && str.contains(bAndd)[1] ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:80:90 [INFO] [stdout] | [INFO] [stdout] 80 | ... && str.contains(bAndd)[0] && str.contains(bAndd)[1] ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `matching` in this scope [INFO] [stdout] --> src/main.rs:77:26 [INFO] [stdout] | [INFO] [stdout] 77 | let a = subtract(matching(four, seven), cAndf)[0]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let a = subtract(matching(four, seven), cAndf)[0]; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | let nine = remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:79:90 [INFO] [stdout] | [INFO] [stdout] 79 | let nine = remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:80:64 [INFO] [stdout] | [INFO] [stdout] 80 | ... && str.contains(bAndd)[0] && str.contains(bAndd)[1] ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:80:90 [INFO] [stdout] | [INFO] [stdout] 80 | ... && str.contains(bAndd)[0] && str.contains(bAndd)[1] ); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | let g = subtract(subtract(subtract(nine, cAndf), bAndd), a); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:82:35 [INFO] [stdout] | [INFO] [stdout] 82 | let g = subtract(subtract(subtract(nine, cAndf), bAndd), a); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | let g = subtract(subtract(subtract(nine, cAndf), bAndd), a); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 82 | let g = subtract(subtract(subtract(nine, cAndf), bAndd), a); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let g = subtract(subtract(subtract(nine, cAndf), bAndd), a); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:83:70 [INFO] [stdout] | [INFO] [stdout] 83 | let zeroAnd3 = ( remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | let g = subtract(subtract(subtract(nine, cAndf), bAndd), a); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:83:70 [INFO] [stdout] | [INFO] [stdout] 83 | let zeroAnd3 = ( remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:83:97 [INFO] [stdout] | [INFO] [stdout] 83 | let zeroAnd3 = ( remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 84 | remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:84:97 [INFO] [stdout] | [INFO] [stdout] 84 | remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:83:97 [INFO] [stdout] | [INFO] [stdout] 83 | let zeroAnd3 = ( remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:84:70 [INFO] [stdout] | [INFO] [stdout] 84 | remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `bool` [INFO] [stdout] --> src/main.rs:84:97 [INFO] [stdout] | [INFO] [stdout] 84 | remove(&mut input, |str| str.contains(cAndf)[0] && str.contains(cAndf)[1] && str.contains(a) && str.contains(g))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `subtract` in this scope [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let e = subtract(subtract(subtract(subtract(zero, a), b), cAndf), g); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "advent-of-code") due to 20 previous errors [INFO] [stdout] error: aborting due to 19 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0425, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (bin "advent-of-code" test) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "e3b921250963589041337e58f1b92b1db165f99d173d348637a5e46995239e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b921250963589041337e58f1b92b1db165f99d173d348637a5e46995239e19", kill_on_drop: false }` [INFO] [stdout] e3b921250963589041337e58f1b92b1db165f99d173d348637a5e46995239e19