[INFO] cloning repository https://github.com/drewtato/aoc2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drewtato/aoc2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtato%2Faoc2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtato%2Faoc2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 566d482716a0c1fc97b5acd156427114eb1e615f [INFO] checking drewtato/aoc2019 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtato%2Faoc2019" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drewtato/aoc2019 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drewtato/aoc2019 [INFO] finished tweaking git repo https://github.com/drewtato/aoc2019 [INFO] tweaked toml for git repo https://github.com/drewtato/aoc2019 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/drewtato/aoc2019 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded png v0.15.2 [INFO] [stderr] Downloaded gcd v1.2.0 [INFO] [stderr] Downloaded jpeg-decoder v0.1.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f195643f2321414646d059cddb224bb2cfecc0532ffa195912f248832320f72e [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" "f195643f2321414646d059cddb224bb2cfecc0532ffa195912f248832320f72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f195643f2321414646d059cddb224bb2cfecc0532ffa195912f248832320f72e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f195643f2321414646d059cddb224bb2cfecc0532ffa195912f248832320f72e", kill_on_drop: false }` [INFO] [stdout] f195643f2321414646d059cddb224bb2cfecc0532ffa195912f248832320f72e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 0bc38a63aba8c46ad1a48d88abef8273bbffb76a22441d47aa9976a90f4cdab2 [INFO] running `Command { std: "docker" "start" "-a" "0bc38a63aba8c46ad1a48d88abef8273bbffb76a22441d47aa9976a90f4cdab2", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking intcode v0.2.0 (/opt/rustwide/workdir/intcode) [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking gcd v1.2.0 [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/days/day14) [INFO] [stderr] Checking day20 v0.1.0 (/opt/rustwide/workdir/days/day20) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/days/day02) [INFO] [stderr] Checking day22 v0.1.0 (/opt/rustwide/workdir/days/day22) [INFO] [stderr] Checking day23 v0.1.0 (/opt/rustwide/workdir/days/day23) [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/days/day08) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/days/day01) [INFO] [stderr] Checking day24 v0.1.0 (/opt/rustwide/workdir/days/day24) [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/days/day16) [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/days/day03) [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/days/day06) [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> days/day24/src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | let (max_y, max_x) = (bugs.len(), bugs[0].len()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_map` [INFO] [stdout] --> days/day24/src/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn print_map(bugs: &[Vec]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_y` [INFO] [stdout] --> days/day24/src/main.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | let (max_y, max_x) = (bugs.len(), bugs[0].len()); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_max_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `print_map` [INFO] [stdout] --> days/day24/src/main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn print_map(bugs: &[Vec]) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/days/day15) [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day25 v0.1.0 (/opt/rustwide/workdir/days/day25) [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/days/day17) [INFO] [stderr] Checking day19 v0.1.0 (/opt/rustwide/workdir/days/day19) [INFO] [stderr] Checking day21 v0.1.0 (/opt/rustwide/workdir/days/day21) [INFO] [stderr] Checking runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/days/day05) [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/days/day09) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/days/day13) [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/days/day12) [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/days/day04) [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/days/day07) [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/days/day18) [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stdout] error[E0277]: the trait bound `M: Memory` is not satisfied [INFO] [stdout] --> intcode/tests/integration.rs:51:27 [INFO] [stdout] | [INFO] [stdout] 51 | fn check_mem(program: &IP, check: &[Data]) [INFO] [stdout] | ^^^^^^ the trait `Memory` is not implemented for `M` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------ required by this bound in `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 53 | M: std::ops::IndexMut + Memory, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `intcode` [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] warning: unused variable: `door` [INFO] [stdout] --> days/day18/src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | door => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_door` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> days/day18/src/main.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | let mut visited: Vec>> = tunnels [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adjust_cost` [INFO] [stdout] --> days/day18/src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | fn adjust_cost(&mut self, key: u8, distances: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> days/day18/src/main.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `door` [INFO] [stdout] --> days/day18/src/main.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | door => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_door` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> days/day18/src/main.rs:76:6 [INFO] [stdout] | [INFO] [stdout] 76 | let mut visited: Vec>> = tunnels [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `adjust_cost` [INFO] [stdout] --> days/day18/src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | fn adjust_cost(&mut self, key: u8, distances: &[usize]) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `len` [INFO] [stdout] --> days/day18/src/main.rs:213:5 [INFO] [stdout] | [INFO] [stdout] 213 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] = note: required by `IntcodeProgram::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_input` exists for struct `IntcodeProgram>`, but its trait bounds were not satisfied [INFO] [stdout] --> days/day07/src/main.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `IntcodeProgram>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------------------------------------ doesn't satisfy `IntcodeProgram: Memory` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `IntcodeProgram: Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------ required by this bound in `IntcodeProgram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] = note: required by `IntcodeProgram::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_input` exists for struct `IntcodeProgram>`, but its trait bounds were not satisfied [INFO] [stdout] --> days/day07/src/main.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `IntcodeProgram>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------------------------------------ doesn't satisfy `IntcodeProgram: Memory` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `IntcodeProgram: Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------ required by this bound in `IntcodeProgram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:23:35 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] = note: required by `IntcodeProgram::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_input` exists for struct `IntcodeProgram>`, but its trait bounds were not satisfied [INFO] [stdout] --> days/day07/src/main.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `IntcodeProgram>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------------------------------------ doesn't satisfy `IntcodeProgram: Memory` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `IntcodeProgram: Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------ required by this bound in `IntcodeProgram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] = note: required by `IntcodeProgram::::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `with_input` exists for struct `IntcodeProgram>`, but its trait bounds were not satisfied [INFO] [stdout] --> days/day07/src/main.rs:38:52 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `IntcodeProgram>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------------------------------------ doesn't satisfy `IntcodeProgram: Memory` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `IntcodeProgram: Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `IntcodeProgram: Memory` is not satisfied [INFO] [stdout] --> days/day07/src/main.rs:38:15 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|&p| IntcodeProgram::new(program.clone()).with_input(p)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Memory` is not implemented for `IntcodeProgram` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/intcode/src/program.rs:36:30 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct IntcodeProgram { [INFO] [stdout] | ------ required by this bound in `IntcodeProgram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "0bc38a63aba8c46ad1a48d88abef8273bbffb76a22441d47aa9976a90f4cdab2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc38a63aba8c46ad1a48d88abef8273bbffb76a22441d47aa9976a90f4cdab2", kill_on_drop: false }` [INFO] [stdout] 0bc38a63aba8c46ad1a48d88abef8273bbffb76a22441d47aa9976a90f4cdab2