[INFO] cloning repository https://github.com/hvanbin/advent-of-code-2016
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hvanbin/advent-of-code-2016" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhvanbin%2Fadvent-of-code-2016", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhvanbin%2Fadvent-of-code-2016'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0d82c93f1a066910a2001197505b1302c40399ad
[INFO] testing hvanbin/advent-of-code-2016 against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhvanbin%2Fadvent-of-code-2016" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/hvanbin/advent-of-code-2016
[INFO] finished tweaking git repo https://github.com/hvanbin/advent-of-code-2016
[INFO] tweaked toml for git repo https://github.com/hvanbin/advent-of-code-2016 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/hvanbin/advent-of-code-2016 on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/hvanbin/advent-of-code-2016 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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5
[INFO] running `Command { std: "docker" "start" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.51
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]    Compiling unicode-ident v1.0.6
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling io-lifetimes v1.0.5
[INFO] [stderr]    Compiling rustix v0.36.8
[INFO] [stderr]    Compiling linux-raw-sys v0.1.4
[INFO] [stderr]    Compiling os_str_bytes v6.4.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling clap_lex v0.3.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling is-terminal v0.4.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v4.1.8
[INFO] [stderr]    Compiling clap v4.1.8
[INFO] [stderr]    Compiling advent-of-code-2016 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/day1.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | /     match std::io::stdin().lines().next() {
[INFO] [stdout] 48 | |
[INFO] [stdout] 49 | |     }
[INFO] [stdout]    | |_____- any code following this expression is unreachable
[INFO] [stdout] 50 |       serial  = std::io::stdin().lines().next().unwrap().unwrap().split(", ").collect();
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: a value of type `&mut VecDeque<String>` cannot be built from an iterator over elements of type `&str`
[INFO] [stdout]   --> src/day1.rs:50:77
[INFO] [stdout]    |
[INFO] [stdout] 50 |     serial  = std::io::stdin().lines().next().unwrap().unwrap().split(", ").collect();
[INFO] [stdout]    |                                                                             ^^^^^^^ value of type `&mut VecDeque<String>` cannot be built from `std::iter::Iterator<Item=&str>`
[INFO] [stdout]    |
[INFO] [stdout] help: the trait `FromIterator<&str>` is not implemented for `&mut VecDeque<String>`
[INFO] [stdout]       but it is implemented for `VecDeque<&str>`
[INFO] [stdout]   --> /rustc/f47d5bb13648d5c859f5b438eb7dc834b9729961/library/alloc/src/collections/vec_deque/mod.rs:3887:0
[INFO] [stdout]    = help: for that trait implementation, expected `VecDeque<&str>`, found `&mut VecDeque<String>`
[INFO] [stdout] note: the method call chain might not have had the expected associated types
[INFO] [stdout]   --> src/day1.rs:50:32
[INFO] [stdout]    |
[INFO] [stdout] 50 |     serial  = std::io::stdin().lines().next().unwrap().unwrap().split(", ").collect();
[INFO] [stdout]    |               ---------------- ^^^^^^^                          ----------- `Iterator::Item` is `&str` here
[INFO] [stdout]    |               |                |
[INFO] [stdout]    |               |                `Iterator::Item` is `Result<String, Error>` here
[INFO] [stdout]    |               this expression has type `Stdin`
[INFO] [stdout] note: required by a bound in `collect`
[INFO] [stdout]   --> /rustc/f47d5bb13648d5c859f5b438eb7dc834b9729961/library/core/src/iter/traits/iterator.rs:2073:4
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `String` doesn't implement `std::fmt::Display`
[INFO] [stdout]   --> src/day1.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |         println!("Got: {i}.");
[INFO] [stdout]    |                        ^^^ `String` cannot be formatted with the default formatter
[INFO] [stdout]    |
[INFO] [stdout]    = note: in format strings you may be able to use `{:?}` (or `{:#?}` for pretty-print) instead
[INFO] [stdout]    = note: required for `&mut String` to implement `std::fmt::Display`
[INFO] [stdout] help: consider restricting type parameter `String` with trait `Display`
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn serialize_input<String: std::fmt::Display>(serial: &mut VecDeque<String>) {
[INFO] [stdout]    |                          +++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/day1.rs:73:21
[INFO] [stdout]    |
[INFO] [stdout] 73 |     serialize_input(deq);
[INFO] [stdout]    |     --------------- ^^^ expected `&mut VecDeque<_>`, found `VecDeque<String>`
[INFO] [stdout]    |     |
[INFO] [stdout]    |     arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut VecDeque<_>`
[INFO] [stdout]                          found struct `VecDeque<std::string::String>`
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/day1.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn serialize_input<String>(serial: &mut VecDeque<String>) {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^         -----------------------------
[INFO] [stdout] help: consider mutably borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 73 |     serialize_input(&mut deq);
[INFO] [stdout]    |                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[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-2016` (bin "advent-of-code-2016") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5", kill_on_drop: false }`
[INFO] [stdout] 637ccc3da10bb8ee6b84eae9082e930d164218e608da818858359d2b51b82ac5
