[INFO] cloning repository https://github.com/Calyhre/advent-of-code-2020-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Calyhre/advent-of-code-2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c41b0f5fe90dfaab59611e9e382d8cf386b11447 [INFO] checking Calyhre/advent-of-code-2020-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Calyhre/advent-of-code-2020-rust 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/Calyhre/advent-of-code-2020-rust [INFO] finished tweaking git repo https://github.com/Calyhre/advent-of-code-2020-rust [INFO] tweaked toml for git repo https://github.com/Calyhre/advent-of-code-2020-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Calyhre/advent-of-code-2020-rust 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.6.6 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 4ca138395c8042173ba8860f8edb4108c98aea5f61d5ca063bf7a5a7883cb64d [INFO] running `Command { std: "docker" "start" "-a" "4ca138395c8042173ba8860f8edb4108c98aea5f61d5ca063bf7a5a7883cb64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ca138395c8042173ba8860f8edb4108c98aea5f61d5ca063bf7a5a7883cb64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca138395c8042173ba8860f8edb4108c98aea5f61d5ca063bf7a5a7883cb64d", kill_on_drop: false }` [INFO] [stdout] 4ca138395c8042173ba8860f8edb4108c98aea5f61d5ca063bf7a5a7883cb64d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a4dbdf82cc216ce3f6763ef53b1c319a58fdf9956f0c3502d51ee53a2e06b22 [INFO] running `Command { std: "docker" "start" "-a" "6a4dbdf82cc216ce3f6763ef53b1c319a58fdf9956f0c3502d51ee53a2e06b22", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libloading v0.6.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling ascii-canvas v2.0.0 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling lalrpop-util v0.19.1 [INFO] [stderr] Compiling onig_sys v69.6.0 [INFO] [stderr] Compiling docopt v1.1.0 [INFO] [stderr] Compiling string_cache v0.8.1 [INFO] [stderr] Compiling lalrpop v0.19.1 [INFO] [stderr] Checking onig v6.1.1 [INFO] [stderr] Compiling advent-of-code-2020-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/bin/day_20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lalrpop_mod` in this scope [INFO] [stdout] --> src/bin/day_18.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | lalrpop_mod!(pub day_18_lexer); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use lalrpop_util::lalrpop_mod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | day_18_lexer::PartOneParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | day_18_lexer::PartTwoParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/bin/day_20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/day_20.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/bin/day_20.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn print_image(image: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: cannot find macro `lalrpop_mod` in this scope [INFO] [stdout] --> src/bin/day_18.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | lalrpop_mod!(pub day_18_lexer); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use lalrpop_util::lalrpop_mod; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020-rust` (bin "day_18") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | day_18_lexer::PartOneParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/bin/day_20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `day_18_lexer` [INFO] [stdout] --> src/bin/day_18.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | day_18_lexer::PartTwoParser::new() [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared crate or module `day_18_lexer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/bin/day_20.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashSet, time::Instant}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | color = child.clone().strip_suffix(" bags.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | color = child.clone().strip_suffix(" bags").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | color = child.clone().strip_suffix(" bag.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | color = child.clone().strip_suffix(" bag").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | color = child.clone().strip_suffix(" bags.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | color = child.clone().strip_suffix(" bags").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | color = child.clone().strip_suffix(" bag.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | color = child.clone().strip_suffix(" bag").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020-rust` (bin "day_18" test) due to 4 previous errors [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/day_20.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/bin/day_20.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn print_image(image: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/day_03.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | for (si, mut position) in positions.iter_mut().enumerate() { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/advent-of-code-2020-rust-32d4c0c511cbd53b/out/day_18_lexer.rs:1686:8 [INFO] [stdout] | [INFO] [stdout] 1685 | pub trait __ToTriple<'input, > { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 1686 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/day_20.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/bin/day_20.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn print_image(image: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | color = child.clone().strip_suffix(" bags.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | color = child.clone().strip_suffix(" bags").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | color = child.clone().strip_suffix(" bag.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | color = child.clone().strip_suffix(" bag").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `to_triple` is never used [INFO] [stdout] --> /opt/rustwide/target/debug/build/advent-of-code-2020-rust-32d4c0c511cbd53b/out/day_18_lexer.rs:1686:8 [INFO] [stdout] | [INFO] [stdout] 1685 | pub trait __ToTriple<'input, > { [INFO] [stdout] | ---------- associated function in this trait [INFO] [stdout] 1686 | fn to_triple(value: Self) -> Result<(usize,Token<'input>,usize), __lalrpop_util::ParseError, &'static str>>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/bin/day_20.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Tile { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 15 | fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_image` is never used [INFO] [stdout] --> src/bin/day_20.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn print_image(image: &Vec>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | color = child.clone().strip_suffix(" bags.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:50:30 [INFO] [stdout] | [INFO] [stdout] 50 | color = child.clone().strip_suffix(" bags").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | color = child.clone().strip_suffix(" bag.").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/day_07.rs:54:30 [INFO] [stdout] | [INFO] [stdout] 54 | color = child.clone().strip_suffix(" bag").unwrap(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a4dbdf82cc216ce3f6763ef53b1c319a58fdf9956f0c3502d51ee53a2e06b22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a4dbdf82cc216ce3f6763ef53b1c319a58fdf9956f0c3502d51ee53a2e06b22", kill_on_drop: false }` [INFO] [stdout] 6a4dbdf82cc216ce3f6763ef53b1c319a58fdf9956f0c3502d51ee53a2e06b22 [INFO] checking Calyhre/advent-of-code-2020-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCalyhre%2Fadvent-of-code-2020-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Calyhre/advent-of-code-2020-rust on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Calyhre/advent-of-code-2020-rust [INFO] finished tweaking git repo https://github.com/Calyhre/advent-of-code-2020-rust [INFO] tweaked toml for git repo https://github.com/Calyhre/advent-of-code-2020-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Calyhre/advent-of-code-2020-rust 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09fac4653528102f8f9e1e89eb892eb2517196e3c84c57fce268b24653b13b45 [INFO] running `Command { std: "docker" "start" "-a" "09fac4653528102f8f9e1e89eb892eb2517196e3c84c57fce268b24653b13b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09fac4653528102f8f9e1e89eb892eb2517196e3c84c57fce268b24653b13b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09fac4653528102f8f9e1e89eb892eb2517196e3c84c57fce268b24653b13b45", kill_on_drop: false }` [INFO] [stdout] 09fac4653528102f8f9e1e89eb892eb2517196e3c84c57fce268b24653b13b45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d39f208f510eb258d468fc0f89ae3d563cdaa27b6d03d14d72d9ce9c88e26395 [INFO] running `Command { std: "docker" "start" "-a" "d39f208f510eb258d468fc0f89ae3d563cdaa27b6d03d14d72d9ce9c88e26395", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "d39f208f510eb258d468fc0f89ae3d563cdaa27b6d03d14d72d9ce9c88e26395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d39f208f510eb258d468fc0f89ae3d563cdaa27b6d03d14d72d9ce9c88e26395", kill_on_drop: false }` [INFO] [stdout] d39f208f510eb258d468fc0f89ae3d563cdaa27b6d03d14d72d9ce9c88e26395