[INFO] cloning repository https://github.com/Deen17/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Deen17/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeen17%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeen17%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b347c249b264f397b4a813f0f0f250526694ce6 [INFO] checking Deen17/aoc2020 against master#818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc for pr-156114-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDeen17%2Faoc2020" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Deen17/aoc2020 [INFO] finished tweaking git repo https://github.com/Deen17/aoc2020 [INFO] tweaked toml for git repo https://github.com/Deen17/aoc2020 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Deen17/aoc2020 on toolchain 818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Deen17/aoc2020 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" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v1.4.0 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded either v1.6.1 [INFO] [stderr] Downloaded regex v1.4.2 [INFO] [stderr] Downloaded itertools v0.9.0 [INFO] [stderr] Downloaded aho-corasick v0.7.15 [INFO] [stderr] Downloaded regex-syntax v0.6.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddd155890236aeadea6c1054f7c502b22a1e64d0e2a4654672ec70cd2668c52f [INFO] running `Command { std: "docker" "start" "-a" "ddd155890236aeadea6c1054f7c502b22a1e64d0e2a4654672ec70cd2668c52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddd155890236aeadea6c1054f7c502b22a1e64d0e2a4654672ec70cd2668c52f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddd155890236aeadea6c1054f7c502b22a1e64d0e2a4654672ec70cd2668c52f", kill_on_drop: false }` [INFO] [stdout] ddd155890236aeadea6c1054f7c502b22a1e64d0e2a4654672ec70cd2668c52f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+818811b3cd1e0ff0d8ef20d5a4cf0b7c079929bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff359a05ad9c4f2b50b15333b401d001f8d721f0458536e9a8f27d69600a547a [INFO] running `Command { std: "docker" "start" "-a" "ff359a05ad9c4f2b50b15333b401d001f8d721f0458536e9a8f27d69600a547a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/day07.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|(num, name)| (num * number_of_bags(&map,name)) ) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - .map(|(num, name)| (num * number_of_bags(&map,name)) ) [INFO] [stdout] 46 + .map(|(num, name)| num * number_of_bags(&map,name) ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/day07.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | .map(|(num, name)| (num * number_of_bags(&map,name)) ) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 46 - .map(|(num, name)| (num * number_of_bags(&map,name)) ) [INFO] [stdout] 46 + .map(|(num, name)| num * number_of_bags(&map,name) ) [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:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 67 - if to_run.0 != noop { [INFO] [stdout] 67 + 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:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 75 - if to_run.1 != noop { [INFO] [stdout] 75 + if !std::ptr::fn_addr_eq(to_run.1, 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:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 67 - if to_run.0 != noop { [INFO] [stdout] 67 + 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:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 75 - if to_run.1 != noop { [INFO] [stdout] 75 + 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.55s [INFO] running `Command { std: "docker" "inspect" "ff359a05ad9c4f2b50b15333b401d001f8d721f0458536e9a8f27d69600a547a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff359a05ad9c4f2b50b15333b401d001f8d721f0458536e9a8f27d69600a547a", kill_on_drop: false }` [INFO] [stdout] ff359a05ad9c4f2b50b15333b401d001f8d721f0458536e9a8f27d69600a547a