[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 master#1557fb031b272b4c5bfcc7de5df7eddc7b36a584 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-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/magikid/advent-of-code-2019 on toolchain 1557fb031b272b4c5bfcc7de5df7eddc7b36a584 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "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-4/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31fd1002a4601e0b663d78b0fb6267358938bf6508bbbef01a05fb62155bde07 [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" "31fd1002a4601e0b663d78b0fb6267358938bf6508bbbef01a05fb62155bde07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31fd1002a4601e0b663d78b0fb6267358938bf6508bbbef01a05fb62155bde07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31fd1002a4601e0b663d78b0fb6267358938bf6508bbbef01a05fb62155bde07", kill_on_drop: false }` [INFO] [stdout] 31fd1002a4601e0b663d78b0fb6267358938bf6508bbbef01a05fb62155bde07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1557fb031b272b4c5bfcc7de5df7eddc7b36a584" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a64cea4e2818f255ad92204ef34deef9565cd3840303d0f29dc88c3e2f1864a2 [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" "a64cea4e2818f255ad92204ef34deef9565cd3840303d0f29dc88c3e2f1864a2", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [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[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[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[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] [stderr] error: build failed [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] running `Command { std: "docker" "inspect" "a64cea4e2818f255ad92204ef34deef9565cd3840303d0f29dc88c3e2f1864a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a64cea4e2818f255ad92204ef34deef9565cd3840303d0f29dc88c3e2f1864a2", kill_on_drop: false }` [INFO] [stdout] a64cea4e2818f255ad92204ef34deef9565cd3840303d0f29dc88c3e2f1864a2