[INFO] cloning repository https://github.com/Muream/advent-of-code-2019 [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Muream/advent-of-code-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuream%2Fadvent-of-code-2019"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuream%2Fadvent-of-code-2019'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b429ebb984de7f24d7773c09c147f030b2d3e482 [INFO] checking Muream/advent-of-code-2019 against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMuream%2Fadvent-of-code-2019" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Muream/advent-of-code-2019 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/Muream/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/Muream/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/Muream/advent-of-code-2019 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Muream/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 45f5d2e531bfc3d1fb78f8098d2d37a3680a7af1b7af7596e3959a12cb703eee [INFO] running `"docker" "start" "-a" "45f5d2e531bfc3d1fb78f8098d2d37a3680a7af1b7af7596e3959a12cb703eee"` [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/day1/mod.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | ((*mass as f64 / 3.0).floor() - 2.0) as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `advent-of-code-2019`. [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 `f64` as `i32` is invalid [INFO] [stderr] --> src/day1/mod.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | ((*mass as f64 / 3.0).floor() - 2.0) as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:65:42 [INFO] [stderr] | [INFO] [stderr] 65 | assert_eq!(compute_fuel_for_mass(12), 2); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&12` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:69:42 [INFO] [stderr] | [INFO] [stderr] 69 | assert_eq!(compute_fuel_for_mass(14), 2); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&14` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:73:42 [INFO] [stderr] | [INFO] [stderr] 73 | assert_eq!(compute_fuel_for_mass(1969), 654); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&1969` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:77:42 [INFO] [stderr] | [INFO] [stderr] 77 | assert_eq!(compute_fuel_for_mass(100756), 33583); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&100756` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:82:44 [INFO] [stderr] | [INFO] [stderr] 82 | assert_eq!(compute_fuel_for_module(12), 2); [INFO] [stderr] | ^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&12` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:86:44 [INFO] [stderr] | [INFO] [stderr] 86 | assert_eq!(compute_fuel_for_module(1969), 966); [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&1969` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/day1/mod.rs:90:44 [INFO] [stderr] | [INFO] [stderr] 90 | assert_eq!(compute_fuel_for_module(100756), 50346); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&i32`, found integer [INFO] [stderr] | help: consider borrowing here: `&100756` [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0606. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `advent-of-code-2019`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "45f5d2e531bfc3d1fb78f8098d2d37a3680a7af1b7af7596e3959a12cb703eee"` [INFO] running `"docker" "rm" "-f" "45f5d2e531bfc3d1fb78f8098d2d37a3680a7af1b7af7596e3959a12cb703eee"` [INFO] [stdout] 45f5d2e531bfc3d1fb78f8098d2d37a3680a7af1b7af7596e3959a12cb703eee