[INFO] cloning repository https://github.com/plateauu/aoc2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plateauu/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplateauu%2Faoc2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplateauu%2Faoc2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b8d59ce98fc101d70cc78871460a7a917ff5c8c0
[INFO] testing plateauu/aoc2021 against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplateauu%2Faoc2021" "/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/plateauu/aoc2021 on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/plateauu/aoc2021
[INFO] finished tweaking git repo https://github.com/plateauu/aoc2021
[INFO] tweaked toml for git repo https://github.com/plateauu/aoc2021 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/plateauu/aoc2021 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b4ce8cf3d9ba5ec523651e49882455ba0deddd9cc0b56bc7acb358efa290d3c6
[INFO] running `Command { std: "docker" "start" "-a" "b4ce8cf3d9ba5ec523651e49882455ba0deddd9cc0b56bc7acb358efa290d3c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4ce8cf3d9ba5ec523651e49882455ba0deddd9cc0b56bc7acb358efa290d3c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4ce8cf3d9ba5ec523651e49882455ba0deddd9cc0b56bc7acb358efa290d3c6", kill_on_drop: false }`
[INFO] [stdout] b4ce8cf3d9ba5ec523651e49882455ba0deddd9cc0b56bc7acb358efa290d3c6
[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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] d50b73328b622450bab7ec1dd825e9c3adae9acb23bb3df615f7e7cf54189140
[INFO] running `Command { std: "docker" "start" "-a" "d50b73328b622450bab7ec1dd825e9c3adae9acb23bb3df615f7e7cf54189140", kill_on_drop: false }`
[INFO] [stderr]    Compiling advent-of-code-2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SplitWhitespace`
[INFO] [stdout]  --> src/day2/mod.rs:4:25
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::str::{FromStr, SplitWhitespace};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::max`
[INFO] [stdout]  --> src/day3/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::cmp::max;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Mul`
[INFO] [stdout]  --> src/day3/mod.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::ops::Mul;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/day3/mod.rs:132:45
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let scrubber_rate = i64::from_str_radix((&*scrubber_rate_binary_string), 2).unwrap();
[INFO] [stdout]     |                                             ^                             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 132 -     let scrubber_rate = i64::from_str_radix((&*scrubber_rate_binary_string), 2).unwrap();
[INFO] [stdout] 132 +     let scrubber_rate = i64::from_str_radix(&*scrubber_rate_binary_string, 2).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/day3/mod.rs:148:42
[INFO] [stdout]     |
[INFO] [stdout] 148 |     let gamma_rate = i64::from_str_radix((&*to_gamma_rate_binary_string), 2).unwrap();
[INFO] [stdout]     |                                          ^                             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 148 -     let gamma_rate = i64::from_str_radix((&*to_gamma_rate_binary_string), 2).unwrap();
[INFO] [stdout] 148 +     let gamma_rate = i64::from_str_radix(&*to_gamma_rate_binary_string, 2).unwrap();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/day3/mod.rs:128:22
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut result = instructions;
[INFO] [stdout]     |                      ------------ expected due to this value
[INFO] [stdout] ...
[INFO] [stdout] 128 |             result = new_res;
[INFO] [stdout]     |                      ^^^^^^^ expected `&Vec<String>`, found slice
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&Vec<String>`
[INFO] [stdout]                    found slice `[String]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `[String]` cannot be known at compilation time
[INFO] [stdout]    --> src/day3/mod.rs:124:17
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let new_res = *result.into_iter()
[INFO] [stdout]     |                 ^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `[String]`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout]     = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `str` cannot be dereferenced
[INFO] [stdout]    --> src/day3/mod.rs:132:47
[INFO] [stdout]     |
[INFO] [stdout] 132 |     let scrubber_rate = i64::from_str_radix((&*scrubber_rate_binary_string), 2).unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/day3/mod.rs:131:9
[INFO] [stdout]     |
[INFO] [stdout] 131 |     let scrubber_rate_binary_string = *result[0];
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout]     = note: all local variables must have a statically known size
[INFO] [stdout]     = help: unsized locals are gated as an unstable feature
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time
[INFO] [stdout]    --> src/day3/mod.rs:133:19
[INFO] [stdout]     |
[INFO] [stdout] 133 |     (String::from(scrubber_rate_binary_string), scrubber_rate)
[INFO] [stdout]     |      ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
[INFO] [stdout]     |      |
[INFO] [stdout]     |      required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Sized` is not implemented for `str`
[INFO] [stdout] note: required by a bound in `from`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `String: From<str>` is not satisfied
[INFO] [stdout]    --> src/day3/mod.rs:133:6
[INFO] [stdout]     |
[INFO] [stdout] 133 |     (String::from(scrubber_rate_binary_string), scrubber_rate)
[INFO] [stdout]     |      ^^^^^^^^^^^^ the trait `From<str>` is not implemented for `String`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following other types implement trait `From<T>`:
[INFO] [stdout]               <String as From<&String>>
[INFO] [stdout]               <String as From<&mut str>>
[INFO] [stdout]               <String as From<&str>>
[INFO] [stdout]               <String as From<Box<str>>>
[INFO] [stdout]               <String as From<Cow<'a, str>>>
[INFO] [stdout]               <String as From<char>>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `advent-of-code-2021` due to 7 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d50b73328b622450bab7ec1dd825e9c3adae9acb23bb3df615f7e7cf54189140", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d50b73328b622450bab7ec1dd825e9c3adae9acb23bb3df615f7e7cf54189140", kill_on_drop: false }`
[INFO] [stdout] d50b73328b622450bab7ec1dd825e9c3adae9acb23bb3df615f7e7cf54189140
