[INFO] cloning repository https://github.com/sneddonlewis/adventofcode2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sneddonlewis/adventofcode2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsneddonlewis%2Fadventofcode2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsneddonlewis%2Fadventofcode2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc80ad2268da670c4e022ab719fe36d25b9859f8 [INFO] checking sneddonlewis/adventofcode2021 against try#0611f7de057c584b8771102fde7aed6c70c71d3b for pr-146440 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsneddonlewis%2Fadventofcode2021" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sneddonlewis/adventofcode2021 [INFO] finished tweaking git repo https://github.com/sneddonlewis/adventofcode2021 [INFO] tweaked toml for git repo https://github.com/sneddonlewis/adventofcode2021 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sneddonlewis/adventofcode2021 on toolchain 0611f7de057c584b8771102fde7aed6c70c71d3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sneddonlewis/adventofcode2021 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" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "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-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6542324e1d58da9845e867dc9506fe86aeda146cc288e54398eec62ca1efacf7 [INFO] running `Command { std: "docker" "start" "-a" "6542324e1d58da9845e867dc9506fe86aeda146cc288e54398eec62ca1efacf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6542324e1d58da9845e867dc9506fe86aeda146cc288e54398eec62ca1efacf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6542324e1d58da9845e867dc9506fe86aeda146cc288e54398eec62ca1efacf7", kill_on_drop: false }` [INFO] [stdout] 6542324e1d58da9845e867dc9506fe86aeda146cc288e54398eec62ca1efacf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0611f7de057c584b8771102fde7aed6c70c71d3b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a891b03c4b23da1f60d2507b03b75c375e8b15d278295c37cce61cefc4db7985 [INFO] running `Command { std: "docker" "start" "-a" "a891b03c4b23da1f60d2507b03b75c375e8b15d278295c37cce61cefc4db7985", kill_on_drop: false }` [INFO] [stderr] Checking adventofcode2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/day3.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | let result = reading.lines().map(more_ones); [INFO] [stdout] | --- ^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 26 | fn more_ones(reading_pos: Vec) -> &'static str { [INFO] [stdout] | --------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&str) -> _` [INFO] [stdout] found function signature `fn(Vec) -> _` [INFO] [stdout] note: required by a bound in `map` [INFO] [stdout] --> /rustc/0611f7de057c584b8771102fde7aed6c70c71d3b/library/core/src/iter/traits/iterator.rs:831:4 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 12 | let result = reading.lines().map(|arg0: &str| more_ones(/* Vec */)); [INFO] [stdout] | ++++++++++++ ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0631]: type mismatch in function arguments [INFO] [stdout] --> src/bin/day3.rs:12:38 [INFO] [stdout] | [INFO] [stdout] 12 | let result = reading.lines().map(more_ones); [INFO] [stdout] | --- ^^^^^^^^^ expected due to this [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] ... [INFO] [stdout] 26 | fn more_ones(reading_pos: Vec) -> &'static str { [INFO] [stdout] | --------------------------------------------------- found signature defined here [INFO] [stdout] | [INFO] [stdout] = note: expected function signature `fn(&str) -> _` [INFO] [stdout] found function signature `fn(Vec) -> _` [INFO] [stdout] note: required by a bound in `map` [INFO] [stdout] --> /rustc/0611f7de057c584b8771102fde7aed6c70c71d3b/library/core/src/iter/traits/iterator.rs:831:4 [INFO] [stdout] help: consider wrapping the function in a closure [INFO] [stdout] | [INFO] [stdout] 12 | let result = reading.lines().map(|arg0: &str| more_ones(/* Vec */)); [INFO] [stdout] | ++++++++++++ ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0631`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adventofcode2021` (bin "day3") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `adventofcode2021` (bin "day3" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "a891b03c4b23da1f60d2507b03b75c375e8b15d278295c37cce61cefc4db7985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a891b03c4b23da1f60d2507b03b75c375e8b15d278295c37cce61cefc4db7985", kill_on_drop: false }` [INFO] [stdout] a891b03c4b23da1f60d2507b03b75c375e8b15d278295c37cce61cefc4db7985