[INFO] updating cached repository https://github.com/daniel5151/aoc19 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] d2619ee69aa2ca9b93353f1d0532258fb33f1757 [INFO] checking daniel5151/aoc19 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniel5151%2Faoc19" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/daniel5151/aoc19 on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/daniel5151/aoc19 [INFO] removed workspace from git repo https://github.com/daniel5151/aoc19 [INFO] removed path dependency intcode from git repo https://github.com/daniel5151/aoc19 [INFO] finished tweaking git repo https://github.com/daniel5151/aoc19 [INFO] tweaked toml for git repo https://github.com/daniel5151/aoc19 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/daniel5151/aoc19 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (intcode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (intcode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ea357891b5254a38be6478aa65382358585c7280f2e2f6ab66dd2ed8ff94803e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "ea357891b5254a38be6478aa65382358585c7280f2e2f6ab66dd2ed8ff94803e"` [INFO] [stderr] warning: dependency (intcode) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking intcode v0.3.2 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking aoc19 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `intcode::Intcode` [INFO] [stderr] --> src/main.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | pub use intcode::{self, Intcode}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Intcode` in the root [INFO] [stderr] | help: a similar name exists in the module: `IntcodeVM` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day2.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | intcode::run::headless(&mut intcode)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day2.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | intcode::run::headless(&mut intcode)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day5.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | intcode::run::to_completion(&mut intcode, &mut vec![1], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day5.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | intcode::run::to_completion(&mut intcode, &mut vec![5], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day7.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | intcode::run::to_completion(&mut intcode, &mut input, &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day7.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | match intcode::run::until_output(amp, input)? { [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day9.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | intcode::run::to_completion(&mut intcode, &mut vec![1], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day9.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | intcode::run::to_completion(&mut intcode, &mut vec![2], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `intcode::Intcode` [INFO] [stderr] --> src/main.rs:17:29 [INFO] [stderr] | [INFO] [stderr] 17 | pub use intcode::{self, Intcode}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | no `Intcode` in the root [INFO] [stderr] | help: a similar name exists in the module: `IntcodeVM` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day2.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | intcode::run::headless(&mut intcode)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day2.rs:19:22 [INFO] [stderr] | [INFO] [stderr] 19 | intcode::run::headless(&mut intcode)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day5.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | intcode::run::to_completion(&mut intcode, &mut vec![1], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day5.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | intcode::run::to_completion(&mut intcode, &mut vec![5], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day7.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | intcode::run::to_completion(&mut intcode, &mut input, &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day7.rs:71:32 [INFO] [stderr] | [INFO] [stderr] 71 | match intcode::run::until_output(amp, input)? { [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day9.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | intcode::run::to_completion(&mut intcode, &mut vec![1], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day9.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | intcode::run::to_completion(&mut intcode, &mut vec![2], &mut output)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day11.rs:15:38 [INFO] [stderr] | [INFO] [stderr] 15 | while let Some(color) = intcode::run::until_output(intcode, input)? { [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day11.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode program")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day11.rs:15:38 [INFO] [stderr] | [INFO] [stderr] 15 | while let Some(color) = intcode::run::until_output(intcode, input)? { [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day11.rs:20:22 [INFO] [stderr] | [INFO] [stderr] 20 | intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode program")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day13.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | let x = intcode::run::until_output(intcode, input)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day13.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode program")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day13.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode program")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day15.rs:120:31 [INFO] [stderr] | [INFO] [stderr] 120 | let output = intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day13.rs:34:26 [INFO] [stderr] | [INFO] [stderr] 34 | let x = intcode::run::until_output(intcode, input)?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day13.rs:45:22 [INFO] [stderr] | [INFO] [stderr] 45 | intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode program")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day13.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode program")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `run` in `intcode` [INFO] [stderr] --> src/day15.rs:120:31 [INFO] [stderr] | [INFO] [stderr] 120 | let output = intcode::run::until_output(intcode, input)?.ok_or("malfunctioning intcode")?; [INFO] [stderr] | ^^^ could not find `run` in `intcode` [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> src/day10.rs:41:30 [INFO] [stderr] | [INFO] [stderr] 41 | .map(|angle| (angle * 100000.) as isize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/day10.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | .entry((angle * 100000.) as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/day14.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | let iters = (req_n as f32 / *multiplier as f32).ceil() as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `isize` is invalid [INFO] [stderr] --> src/day10.rs:41:30 [INFO] [stderr] | [INFO] [stderr] 41 | .map(|angle| (angle * 100000.) as isize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/day10.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | .entry((angle * 100000.) as usize) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `aoc19`. [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[E0606]: casting `f32` as `usize` is invalid [INFO] [stderr] --> src/day14.rs:61:21 [INFO] [stderr] | [INFO] [stderr] 61 | let iters = (req_n as f32 / *multiplier as f32).ceil() as usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 18 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0433, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `aoc19`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ea357891b5254a38be6478aa65382358585c7280f2e2f6ab66dd2ed8ff94803e"` [INFO] running `"docker" "rm" "-f" "ea357891b5254a38be6478aa65382358585c7280f2e2f6ab66dd2ed8ff94803e"` [INFO] [stdout] ea357891b5254a38be6478aa65382358585c7280f2e2f6ab66dd2ed8ff94803e