[INFO] cloning repository https://github.com/mich101mich/aoc-2019 [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-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0fa08d409b1373e7c0410c41a4ffcf06e9c819a [INFO] checking mich101mich/aoc-2019 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmich101mich%2Faoc-2019" "/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-2019 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mich101mich/aoc-2019 [INFO] finished tweaking git repo https://github.com/mich101mich/aoc-2019 [INFO] tweaked toml for git repo https://github.com/mich101mich/aoc-2019 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/mich101mich/aoc-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const_format_proc_macros v0.2.14 [INFO] [stderr] Downloaded const_format v0.2.14 [INFO] [stderr] Downloaded sscanf_macro v0.1.1 [INFO] [stderr] Downloaded sscanf v0.1.1 [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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ad63d423d409f12050224955aeb96bcdab583d18e2425ebc7d8a7c055a7492d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1ad63d423d409f12050224955aeb96bcdab583d18e2425ebc7d8a7c055a7492d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ad63d423d409f12050224955aeb96bcdab583d18e2425ebc7d8a7c055a7492d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ad63d423d409f12050224955aeb96bcdab583d18e2425ebc7d8a7c055a7492d", kill_on_drop: false }` [INFO] [stdout] 1ad63d423d409f12050224955aeb96bcdab583d18e2425ebc7d8a7c055a7492d [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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b35740688555956ad31a6992d683892e222f176577dac5846a2184697f27887 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5b35740688555956ad31a6992d683892e222f176577dac5846a2184697f27887", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling memoffset v0.6.3 [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 num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Compiling const_format_proc_macros v0.2.14 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking const_format v0.2.14 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling sscanf_macro v0.1.1 [INFO] [stderr] Checking sscanf v0.1.1 [INFO] [stderr] Checking aoc-2019 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[E0433]: failed to resolve: use of undeclared type `IntProgram` [INFO] [stdout] --> src/days/day_25.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let mut code = IntProgram::new(input, vec![]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IntProgram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | IntResult::Finished => return true, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | IntResult::Output(o) => o as u8 as char, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | IntResult::Step => continue, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | IntResult::MissingInput => return false, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/days/day_25.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut blacklist = 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[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/days/day_25.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut remaining = 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[E0412]: cannot find type `IntProgram` in this scope [INFO] [stdout] --> src/days/day_25.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | fn try_items(code: &mut IntProgram, items: &[String], text: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntProgram` in this scope [INFO] [stdout] --> src/days/day_25.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | fn run(code: &mut IntProgram, text: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `step_int_code` in this scope [INFO] [stdout] --> src/days/day_25.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | let c = match step_int_code(code, true) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntProgram` [INFO] [stdout] --> src/days/day_25.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | let mut code = IntProgram::new(input, vec![]); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `IntProgram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | IntResult::Finished => return true, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | IntResult::Output(o) => o as u8 as char, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | IntResult::Step => continue, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IntResult` [INFO] [stdout] --> src/days/day_25.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | IntResult::MissingInput => return false, [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IntResult` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/days/day_25.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | let mut blacklist = 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[E0433]: failed to resolve: use of undeclared type `HashMap` [INFO] [stdout] --> src/days/day_25.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | let mut remaining = 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[E0412]: cannot find type `IntProgram` in this scope [INFO] [stdout] --> src/days/day_25.rs:116:25 [INFO] [stdout] | [INFO] [stdout] 116 | fn try_items(code: &mut IntProgram, items: &[String], text: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IntProgram` in this scope [INFO] [stdout] --> src/days/day_25.rs:154:19 [INFO] [stdout] | [INFO] [stdout] 154 | fn run(code: &mut IntProgram, text: &mut String) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `step_int_code` in this scope [INFO] [stdout] --> src/days/day_25.rs:157:23 [INFO] [stdout] | [INFO] [stdout] 157 | let c = match step_int_code(code, true) { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Map` in the current scope [INFO] [stdout] --> src/days/day_25.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | .to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Map, [closure@src/days/day_25.rs:48:29: 48:57]>, [closure@src/days/day_25.rs:49:29: 49:46]>, [closure@src/days/day_25.rs:50:29: 50:53]>, [closure@src/days/day_25.rs:51:22: 51:39]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Map` in the current scope [INFO] [stdout] --> src/days/day_25.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | .to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Map, [closure@src/days/day_25.rs:59:25: 59:48]>, [closure@src/days/day_25.rs:60:25: 60:42]>, [closure@src/days/day_25.rs:61:25: 61:49]>, [closure@src/days/day_25.rs:62:18: 62:35]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/days/day_25.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | command = remain_dirs.remove(rng.gen_range(0..remain_dirs.len())); [INFO] [stdout] | ^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::Rng;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Map` in the current scope [INFO] [stdout] --> src/days/day_25.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | .to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Map, [closure@src/days/day_25.rs:108:21: 108:57]>, [closure@src/days/day_25.rs:109:21: 109:45]>, [closure@src/days/day_25.rs:110:14: 110:31]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Map` in the current scope [INFO] [stdout] --> src/days/day_25.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | .to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Map, [closure@src/days/day_25.rs:48:29: 48:57]>, [closure@src/days/day_25.rs:49:29: 49:46]>, [closure@src/days/day_25.rs:50:29: 50:53]>, [closure@src/days/day_25.rs:51:22: 51:39]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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 `Map` in the current scope [INFO] [stdout] --> src/days/day_25.rs:63:14 [INFO] [stdout] | [INFO] [stdout] 63 | .to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Map, [closure@src/days/day_25.rs:59:25: 59:48]>, [closure@src/days/day_25.rs:60:25: 60:42]>, [closure@src/days/day_25.rs:61:25: 61:49]>, [closure@src/days/day_25.rs:62:18: 62:35]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2019` due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `gen_range` found for struct `ThreadRng` in the current scope [INFO] [stdout] --> src/days/day_25.rs:85:46 [INFO] [stdout] | [INFO] [stdout] 85 | command = remain_dirs.remove(rng.gen_range(0..remain_dirs.len())); [INFO] [stdout] | ^^^^^^^^^ method not found in `ThreadRng` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rand-0.8.3/src/rng.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn gen_range(&mut self, range: R) -> T [INFO] [stdout] | --------- the method is available for `ThreadRng` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use rand::Rng;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_vec` found for struct `Map` in the current scope [INFO] [stdout] --> src/days/day_25.rs:111:10 [INFO] [stdout] | [INFO] [stdout] 111 | .to_vec(); [INFO] [stdout] | ^^^^^^ method not found in `Map, [closure@src/days/day_25.rs:108:21: 108:57]>, [closure@src/days/day_25.rs:109:21: 109:45]>, [closure@src/days/day_25.rs:110:14: 110:31]>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0583, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5b35740688555956ad31a6992d683892e222f176577dac5846a2184697f27887", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b35740688555956ad31a6992d683892e222f176577dac5846a2184697f27887", kill_on_drop: false }` [INFO] [stdout] 5b35740688555956ad31a6992d683892e222f176577dac5846a2184697f27887