[INFO] cloning repository https://github.com/bretthancox/advent_of_code_asides [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bretthancox/advent_of_code_asides" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbretthancox%2Fadvent_of_code_asides", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbretthancox%2Fadvent_of_code_asides'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ba420e1afb31ccd92294380331bae1cdf9f37625 [INFO] checking bretthancox/advent_of_code_asides/ba420e1afb31ccd92294380331bae1cdf9f37625 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbretthancox%2Fadvent_of_code_asides" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bretthancox/advent_of_code_asides on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bretthancox/advent_of_code_asides [INFO] finished tweaking git repo https://github.com/bretthancox/advent_of_code_asides [INFO] tweaked toml for git repo https://github.com/bretthancox/advent_of_code_asides written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bretthancox/advent_of_code_asides already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded output_vt100 v0.1.2 [INFO] [stderr] Downloaded ctor v0.1.12 [INFO] [stderr] Downloaded proc-macro-error v0.2.6 [INFO] [stderr] Downloaded syn v1.0.11 [INFO] [stderr] Downloaded structopt v0.3.5 [INFO] [stderr] Downloaded structopt-derive v0.3.5 [INFO] [stderr] Downloaded pretty_assertions v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b33616b6de78578fac3c24ce2a67ab41a9e902c654391dd11983d7533418f85 [INFO] running `Command { std: "docker" "start" "-a" "5b33616b6de78578fac3c24ce2a67ab41a9e902c654391dd11983d7533418f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b33616b6de78578fac3c24ce2a67ab41a9e902c654391dd11983d7533418f85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b33616b6de78578fac3c24ce2a67ab41a9e902c654391dd11983d7533418f85", kill_on_drop: false }` [INFO] [stdout] 5b33616b6de78578fac3c24ce2a67ab41a9e902c654391dd11983d7533418f85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c5c2063b683fe8b9db7feca2b4ae3b14973bd42bae0fc50089bf1a2f2e0f016d [INFO] running `Command { std: "docker" "start" "-a" "c5c2063b683fe8b9db7feca2b4ae3b14973bd42bae0fc50089bf1a2f2e0f016d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking text_io v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking pretty_assertions v0.6.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking advent_of_code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/day_five.rs:32:62 [INFO] [stdout] | [INFO] [stdout] 32 | ... assert_eq!(ext_opcode_test, ExtendedOpcode { opcode: Opcode::Add, mode_1: Modes::Position, mode_2: Modes::Position, mode_3: Modes::... [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Opcode` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | enum Opcode { [INFO] [stdout] | ^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modes` [INFO] [stdout] --> src/day_five.rs:32:83 [INFO] [stdout] | [INFO] [stdout] 32 | ... assert_eq!(ext_opcode_test, ExtendedOpcode { opcode: Opcode::Add, mode_1: Modes::Position, mode_2: Modes::Position, mode_3: Modes::... [INFO] [stdout] | ^^^^^ use of undeclared type `Modes` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Modes` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | enum Modes { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modes` [INFO] [stdout] --> src/day_five.rs:32:108 [INFO] [stdout] | [INFO] [stdout] 32 | ...e: Opcode::Add, mode_1: Modes::Position, mode_2: Modes::Position, mode_3: Modes::Immediate}); [INFO] [stdout] | ^^^^^ use of undeclared type `Modes` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Modes` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | enum Modes { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modes` [INFO] [stdout] --> src/day_five.rs:32:133 [INFO] [stdout] | [INFO] [stdout] 32 | ...odes::Position, mode_2: Modes::Position, mode_3: Modes::Immediate}); [INFO] [stdout] | ^^^^^ use of undeclared type `Modes` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Modes` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | enum Modes { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/day_five.rs:41:62 [INFO] [stdout] | [INFO] [stdout] 41 | ... assert_eq!(ext_opcode_test, ExtendedOpcode { opcode: Opcode::Add, mode_1: Modes::Position, mode_2: Modes::Position, mode_3: Modes::... [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Opcode` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | enum Opcode { [INFO] [stdout] | ^^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modes` [INFO] [stdout] --> src/day_five.rs:41:83 [INFO] [stdout] | [INFO] [stdout] 41 | ... assert_eq!(ext_opcode_test, ExtendedOpcode { opcode: Opcode::Add, mode_1: Modes::Position, mode_2: Modes::Position, mode_3: Modes::... [INFO] [stdout] | ^^^^^ use of undeclared type `Modes` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Modes` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | enum Modes { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modes` [INFO] [stdout] --> src/day_five.rs:41:108 [INFO] [stdout] | [INFO] [stdout] 41 | ...e: Opcode::Add, mode_1: Modes::Position, mode_2: Modes::Position, mode_3: Modes::Immediate}); [INFO] [stdout] | ^^^^^ use of undeclared type `Modes` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Modes` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | enum Modes { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Modes` [INFO] [stdout] --> src/day_five.rs:41:133 [INFO] [stdout] | [INFO] [stdout] 41 | ...odes::Position, mode_2: Modes::Position, mode_3: Modes::Immediate}); [INFO] [stdout] | ^^^^^ use of undeclared type `Modes` [INFO] [stdout] | [INFO] [stdout] note: enum `crate::intcode::Modes` exists but is inaccessible [INFO] [stdout] --> src/intcode.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | enum Modes { [INFO] [stdout] | ^^^^^^^^^^ not accessible [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `get_opcode_method` is private [INFO] [stdout] --> src/day_five.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | let ext_opcode_test = intcode_obj_test.get_opcode_method(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/intcode.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_opcode_method(&self) -> ExtendedOpcode { [INFO] [stdout] | --------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: method `get_opcode_method` is private [INFO] [stdout] --> src/day_five.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | let ext_opcode_test = intcode_obj_test.get_opcode_method(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ private method [INFO] [stdout] | [INFO] [stdout] ::: src/intcode.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | fn get_opcode_method(&self) -> ExtendedOpcode { [INFO] [stdout] | --------------------------------------------- private method defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `work_on_intcode` found for struct `intcode::Intcode` in the current scope [INFO] [stdout] --> src/day_five.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | let ext_opcode_test = intcode_obj_test.work_on_intcode(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/intcode.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct Intcode { [INFO] [stdout] | ------------------ method `work_on_intcode` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `work_on_intcode_auto` with a similar name, but with different arguments [INFO] [stdout] --> src/intcode.rs:315:5 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn work_on_intcode_auto(&mut self, input_value_one: isize, input_value_two: isize) -> Result<(), &str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/day_seven.rs:53:25 [INFO] [stdout] | [INFO] [stdout] 53 | amp_e.work_on_intcode_auto(r, amp_d.debug_output); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 53 | let _ = amp_e.work_on_intcode_auto(r, amp_d.debug_output); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code` (bin "advent_of_code" test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "c5c2063b683fe8b9db7feca2b4ae3b14973bd42bae0fc50089bf1a2f2e0f016d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5c2063b683fe8b9db7feca2b4ae3b14973bd42bae0fc50089bf1a2f2e0f016d", kill_on_drop: false }` [INFO] [stdout] c5c2063b683fe8b9db7feca2b4ae3b14973bd42bae0fc50089bf1a2f2e0f016d