[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] testing mikayla-maki/advent-of-code-2021 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikayla-maki%2Fadvent-of-code-2021" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikayla-maki/advent-of-code-2021 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-3/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a65fc686bc3786d7820724a489d5c2fc63a3991ebe50eadb2b59aa6ed45987c [INFO] running `Command { std: "docker" "start" "-a" "4a65fc686bc3786d7820724a489d5c2fc63a3991ebe50eadb2b59aa6ed45987c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a65fc686bc3786d7820724a489d5c2fc63a3991ebe50eadb2b59aa6ed45987c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a65fc686bc3786d7820724a489d5c2fc63a3991ebe50eadb2b59aa6ed45987c", kill_on_drop: false }` [INFO] [stdout] 4a65fc686bc3786d7820724a489d5c2fc63a3991ebe50eadb2b59aa6ed45987c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32ee548497886d4329d72c33a4cea14d4b9fda2b3c4d1e8c07db02b6cf673972 [INFO] running `Command { std: "docker" "start" "-a" "32ee548497886d4329d72c33a4cea14d4b9fda2b3c4d1e8c07db02b6cf673972", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling 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 `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 `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: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[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: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: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: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: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: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:79:45 [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:71 [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:45 [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:71 [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:83:51 [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:78 [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:51 [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:78 [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: 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` due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "32ee548497886d4329d72c33a4cea14d4b9fda2b3c4d1e8c07db02b6cf673972", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32ee548497886d4329d72c33a4cea14d4b9fda2b3c4d1e8c07db02b6cf673972", kill_on_drop: false }` [INFO] [stdout] 32ee548497886d4329d72c33a4cea14d4b9fda2b3c4d1e8c07db02b6cf673972