[INFO] cloning repository https://github.com/mich101mich/aoc-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mich101mich/aoc-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5608befb26c1ef918ecdc8ee9e578e2d5b665ff4 [INFO] checking mich101mich/aoc-2020 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2020" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mich101mich/aoc-2020 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mich101mich/aoc-2020 [INFO] finished tweaking git repo https://github.com/mich101mich/aoc-2020 [INFO] tweaked toml for git repo https://github.com/mich101mich/aoc-2020 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mich101mich/aoc-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/mich101mich/sscanf` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_format_proc_macros v0.2.8 [INFO] [stderr] Downloaded const_format v0.2.13 [INFO] [stderr] Downloaded rand v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 03cd1d53edc71781d507f5c11d5321439f3d6efb3b3959822994cf0abf3c95ae [INFO] running `Command { std: "docker" "start" "-a" "03cd1d53edc71781d507f5c11d5321439f3d6efb3b3959822994cf0abf3c95ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03cd1d53edc71781d507f5c11d5321439f3d6efb3b3959822994cf0abf3c95ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03cd1d53edc71781d507f5c11d5321439f3d6efb3b3959822994cf0abf3c95ae", kill_on_drop: false }` [INFO] [stdout] 03cd1d53edc71781d507f5c11d5321439f3d6efb3b3959822994cf0abf3c95ae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 63eedc4427434a46ec27c1ac94de94f0a7c5329ca9b932597a0f86109c5d3b85 [INFO] running `Command { std: "docker" "start" "-a" "63eedc4427434a46ec27c1ac94de94f0a7c5329ca9b932597a0f86109c5d3b85", kill_on_drop: false }` [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking permutohedron v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.0 [INFO] [stderr] Checking rand_core v0.6.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling const_format_proc_macros v0.2.8 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking rand v0.8.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking const_format v0.2.13 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Compiling sscanf_macro v0.1.1 (https://github.com/mich101mich/sscanf#8d6ebdd8) [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking sscanf v0.1.1 (https://github.com/mich101mich/sscanf#8d6ebdd8) [INFO] [stderr] Checking aoc-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `utils` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `utils`, create file "src/utils.rs" or "src/utils/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `utils` [INFO] [stdout] --> src/main.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | mod utils; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `utils`, create file "src/utils.rs" or "src/utils/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_04.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | scanf!(hcl, "#{}", HexNumber)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] sscanf::scanf [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pv` in this scope [INFO] [stdout] --> src/days/day_04.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | pv!(valid); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pv` in this scope [INFO] [stdout] --> src/days/day_04.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pv!(valid); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/days/day_04.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_valid(data: &HashMap<&str, &str>) -> Option<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/days/day_04.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut current = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/days/day_04.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let mut current = HashSet::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `scanf` in this scope [INFO] [stdout] --> src/days/day_04.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | scanf!(hcl, "#{}", HexNumber)?; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] sscanf::scanf [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pv` in this scope [INFO] [stdout] --> src/days/day_04.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | pv!(valid); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `pv` in this scope [INFO] [stdout] --> src/days/day_04.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | pv!(valid); [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HashMap` in this scope [INFO] [stdout] --> src/days/day_04.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | fn is_valid(data: &HashMap<&str, &str>) -> Option<()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/days/day_04.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | let mut current = HashMap::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/days/day_04.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | let mut current = HashSet::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_set` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/days/day_04.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .to_set(); [INFO] [stdout] | ^^^^^^ method not found in `std::slice::Iter<'_, &str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `std::str::Split` in the current scope [INFO] [stdout] --> src/days/day_04.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | let parts = kv.split(':').to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `std::str::Split<'_, char>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_set` found for struct `std::slice::Iter` in the current scope [INFO] [stdout] --> src/days/day_04.rs:36:10 [INFO] [stdout] | [INFO] [stdout] 36 | .to_set(); [INFO] [stdout] | ^^^^^^ method not found in `std::slice::Iter<'_, &str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `std::str::Split` in the current scope [INFO] [stdout] --> src/days/day_04.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | let parts = kv.split(':').to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `std::str::Split<'_, char>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2020` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "63eedc4427434a46ec27c1ac94de94f0a7c5329ca9b932597a0f86109c5d3b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63eedc4427434a46ec27c1ac94de94f0a7c5329ca9b932597a0f86109c5d3b85", kill_on_drop: false }` [INFO] [stdout] 63eedc4427434a46ec27c1ac94de94f0a7c5329ca9b932597a0f86109c5d3b85