[INFO] cloning repository https://github.com/RussellSnyder/AOC-rust-day21 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RussellSnyder/AOC-rust-day21" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRussellSnyder%2FAOC-rust-day21", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRussellSnyder%2FAOC-rust-day21'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2fe7489b726482f0ed57df55870f4028879647ed [INFO] building RussellSnyder/AOC-rust-day21 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRussellSnyder%2FAOC-rust-day21" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RussellSnyder/AOC-rust-day21 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RussellSnyder/AOC-rust-day21 [INFO] finished tweaking git repo https://github.com/RussellSnyder/AOC-rust-day21 [INFO] tweaked toml for git repo https://github.com/RussellSnyder/AOC-rust-day21 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/RussellSnyder/AOC-rust-day21 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded partial_application v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8362b4201b39302256023be4f6d524372ed4c9ed3232d49823969b4b9574bcb8 [INFO] running `Command { std: "docker" "start" "-a" "8362b4201b39302256023be4f6d524372ed4c9ed3232d49823969b4b9574bcb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8362b4201b39302256023be4f6d524372ed4c9ed3232d49823969b4b9574bcb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8362b4201b39302256023be4f6d524372ed4c9ed3232d49823969b4b9574bcb8", kill_on_drop: false }` [INFO] [stdout] 8362b4201b39302256023be4f6d524372ed4c9ed3232d49823969b4b9574bcb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb0c64c964b5c7f550fe45ab3ff883f2a4dc4330538fcb5798039064cd11ee8c [INFO] running `Command { std: "docker" "start" "-a" "fb0c64c964b5c7f550fe45ab3ff883f2a4dc4330538fcb5798039064cd11ee8c", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling partial_application v0.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day21.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (intersected_list.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (intersected_list.len() == 1) { [INFO] [stdout] 60 + if intersected_list.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allergen` [INFO] [stdout] --> src/day21.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | for (allergen, ingredient_list_list) in map.iter_mut() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allergen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/day10.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | panic!("adapter {} has more than 3 next adaptors"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 65 | panic!("adapter {} has more than 3 next adaptors", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 65 | panic!("{}", "adapter {} has more than 3 next adaptors"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | if to_run.0 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 66 | if !std::ptr::fn_addr_eq(to_run.0, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | if to_run.1 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 74 | if !std::ptr::fn_addr_eq(to_run.1, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.40s [INFO] running `Command { std: "docker" "inspect" "fb0c64c964b5c7f550fe45ab3ff883f2a4dc4330538fcb5798039064cd11ee8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb0c64c964b5c7f550fe45ab3ff883f2a4dc4330538fcb5798039064cd11ee8c", kill_on_drop: false }` [INFO] [stdout] fb0c64c964b5c7f550fe45ab3ff883f2a4dc4330538fcb5798039064cd11ee8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01111f3e84e8d4e04ddc8dffcf95cd3c0e4f945f79a9913fbcedf27aec726a42 [INFO] running `Command { std: "docker" "start" "-a" "01111f3e84e8d4e04ddc8dffcf95cd3c0e4f945f79a9913fbcedf27aec726a42", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day21.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (intersected_list.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (intersected_list.len() == 1) { [INFO] [stdout] 60 + if intersected_list.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allergen` [INFO] [stdout] --> src/day21.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | for (allergen, ingredient_list_list) in map.iter_mut() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allergen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/day10.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | panic!("adapter {} has more than 3 next adaptors"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 65 | panic!("adapter {} has more than 3 next adaptors", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 65 | panic!("{}", "adapter {} has more than 3 next adaptors"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling advent_of_code_2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/day21.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | if (intersected_list.len() == 1) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 60 - if (intersected_list.len() == 1) { [INFO] [stdout] 60 + if intersected_list.len() == 1 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | if to_run.0 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 66 | if !std::ptr::fn_addr_eq(to_run.0, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/main.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | if to_run.1 != noop { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint [INFO] [stdout] | [INFO] [stdout] 74 | if !std::ptr::fn_addr_eq(to_run.1, noop as fn(String)) { [INFO] [stdout] | ++++++++++++++++++++++ ~ ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allergen` [INFO] [stdout] --> src/day21.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | for (allergen, ingredient_list_list) in map.iter_mut() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allergen` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/day10.rs:65:33 [INFO] [stdout] | [INFO] [stdout] 65 | panic!("adapter {} has more than 3 next adaptors"); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 65 | panic!("adapter {} has more than 3 next adaptors", ...); [INFO] [stdout] | +++++ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 65 | panic!("{}", "adapter {} has more than 3 next adaptors"); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "01111f3e84e8d4e04ddc8dffcf95cd3c0e4f945f79a9913fbcedf27aec726a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01111f3e84e8d4e04ddc8dffcf95cd3c0e4f945f79a9913fbcedf27aec726a42", kill_on_drop: false }` [INFO] [stdout] 01111f3e84e8d4e04ddc8dffcf95cd3c0e4f945f79a9913fbcedf27aec726a42