[INFO] updating cached repository https://github.com/magikid/advent-of-code-2019 [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 691c80e28358fcce45c9eeb827fef8e8b77a2e11 [INFO] checking magikid/advent-of-code-2019 against try#5fdfba63a96c5e8ae0ebf6b8b66853110277087d for pr-73166 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmagikid%2Fadvent-of-code-2019" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/magikid/advent-of-code-2019 on toolchain 5fdfba63a96c5e8ae0ebf6b8b66853110277087d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/magikid/advent-of-code-2019 [INFO] finished tweaking git repo https://github.com/magikid/advent-of-code-2019 [INFO] tweaked toml for git repo https://github.com/magikid/advent-of-code-2019 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/magikid/advent-of-code-2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27b36eabf3281ea53a50664c56e07b6307e2dd8a075b98132f3ee86a4e29d045 [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" "27b36eabf3281ea53a50664c56e07b6307e2dd8a075b98132f3ee86a4e29d045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27b36eabf3281ea53a50664c56e07b6307e2dd8a075b98132f3ee86a4e29d045", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b36eabf3281ea53a50664c56e07b6307e2dd8a075b98132f3ee86a4e29d045", kill_on_drop: false }` [INFO] [stdout] 27b36eabf3281ea53a50664c56e07b6307e2dd8a075b98132f3ee86a4e29d045 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5fdfba63a96c5e8ae0ebf6b8b66853110277087d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dbc04f7ee45cb60dc6dd87ed792d5a33e374d0908924db75b41abdd64968a194 [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" "dbc04f7ee45cb60dc6dd87ed792d5a33e374d0908924db75b41abdd64968a194", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking advent-of-code-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::ship_computer` [INFO] [stdout] --> src/day5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::ship_computer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `ship_computer::Program` [INFO] [stdout] --> src/day2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ship_computer::compute(input.as_str())[0].to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `ship_computer::Program` [INFO] [stdout] --> src/day2.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | let comptued_value = &ship_computer::compute(next_input.as_str())[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ship_computer.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | return program.instructions [INFO] [stdout] | ________________________^ [INFO] [stdout] 74 | | .iter() [INFO] [stdout] 75 | | .map(|num| num.to_string()) [INFO] [stdout] 76 | | .collect::>(); [INFO] [stdout] | |________________________________________^ expected struct `ship_computer::Program`, found struct `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ship_computer::Program` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [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] [stdout] error[E0608]: cannot index into a value of type `ship_computer::Program` [INFO] [stdout] --> src/day2.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | ship_computer::compute(input.as_str())[0].to_string() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `ship_computer::Program` [INFO] [stdout] --> src/day2.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | let comptued_value = &ship_computer::compute(next_input.as_str())[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for struct `ship_computer::Program` in the current scope [INFO] [stdout] --> src/day2.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | let calculated_output = ship_computer::compute(input).join(","); [INFO] [stdout] | ^^^^ method not found in `ship_computer::Program` [INFO] [stdout] | [INFO] [stdout] ::: src/ship_computer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | struct Program { [INFO] [stdout] | -------------- method `join` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `join`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::slice::Join` [INFO] [stdout] candidate #2: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for struct `ship_computer::Program` in the current scope [INFO] [stdout] --> src/day2.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | let calculated_output = ship_computer::compute(input).join(","); [INFO] [stdout] | ^^^^ method not found in `ship_computer::Program` [INFO] [stdout] | [INFO] [stdout] ::: src/ship_computer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | struct Program { [INFO] [stdout] | -------------- method `join` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `join`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::slice::Join` [INFO] [stdout] candidate #2: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for struct `ship_computer::Program` in the current scope [INFO] [stdout] --> src/day2.rs:56:63 [INFO] [stdout] | [INFO] [stdout] 56 | let calculated_output = ship_computer::compute(input).join(","); [INFO] [stdout] | ^^^^ method not found in `ship_computer::Program` [INFO] [stdout] | [INFO] [stdout] ::: src/ship_computer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | struct Program { [INFO] [stdout] | -------------- method `join` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `join`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::slice::Join` [INFO] [stdout] candidate #2: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for struct `ship_computer::Program` in the current scope [INFO] [stdout] --> src/day2.rs:64:63 [INFO] [stdout] | [INFO] [stdout] 64 | let calculated_output = ship_computer::compute(input).join(","); [INFO] [stdout] | ^^^^ method not found in `ship_computer::Program` [INFO] [stdout] | [INFO] [stdout] ::: src/ship_computer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | struct Program { [INFO] [stdout] | -------------- method `join` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `join`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::slice::Join` [INFO] [stdout] candidate #2: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `ship_computer::Program` [INFO] [stdout] --> src/day2.rs:72:34 [INFO] [stdout] | [INFO] [stdout] 72 | let calculated_output = &ship_computer::compute(input.as_str())[0]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join` found for struct `ship_computer::Program` in the current scope [INFO] [stdout] --> src/day5.rs:26:68 [INFO] [stdout] | [INFO] [stdout] 26 | let expected_output = ship_computer::compute(instructions).join(","); [INFO] [stdout] | ^^^^ method not found in `ship_computer::Program` [INFO] [stdout] | [INFO] [stdout] ::: src/ship_computer.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | struct Program { [INFO] [stdout] | -------------- method `join` not found for this [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `join`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `std::slice::Join` [INFO] [stdout] candidate #2: `itertools::Itertools` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/ship_computer.rs:73:24 [INFO] [stdout] | [INFO] [stdout] 73 | return program.instructions [INFO] [stdout] | ________________________^ [INFO] [stdout] 74 | | .iter() [INFO] [stdout] 75 | | .map(|num| num.to_string()) [INFO] [stdout] 76 | | .collect::>(); [INFO] [stdout] | |________________________________________^ expected struct `ship_computer::Program`, found struct `std::vec::Vec` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ship_computer::Program` [INFO] [stdout] found struct `std::vec::Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dbc04f7ee45cb60dc6dd87ed792d5a33e374d0908924db75b41abdd64968a194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbc04f7ee45cb60dc6dd87ed792d5a33e374d0908924db75b41abdd64968a194", kill_on_drop: false }` [INFO] [stdout] dbc04f7ee45cb60dc6dd87ed792d5a33e374d0908924db75b41abdd64968a194