[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 master#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrewtato%2Faoc2019" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drewtato/aoc2019 on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-5/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e51d9706a042991edcb6ce7bedc1c1e9e18004c938703011a36a033f7bd3b458 [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" "e51d9706a042991edcb6ce7bedc1c1e9e18004c938703011a36a033f7bd3b458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e51d9706a042991edcb6ce7bedc1c1e9e18004c938703011a36a033f7bd3b458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e51d9706a042991edcb6ce7bedc1c1e9e18004c938703011a36a033f7bd3b458", kill_on_drop: false }` [INFO] [stdout] e51d9706a042991edcb6ce7bedc1c1e9e18004c938703011a36a033f7bd3b458 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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] a1530d48d7cdb6b74d4a2b6dde02a303856dee1aa1fa414a940a5569007f129d [INFO] running `Command { std: "docker" "start" "-a" "a1530d48d7cdb6b74d4a2b6dde02a303856dee1aa1fa414a940a5569007f129d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking intcode v0.2.0 (/opt/rustwide/workdir/intcode) [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking gcd v1.2.0 [INFO] [stderr] Checking day20 v0.1.0 (/opt/rustwide/workdir/days/day20) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/days/day14) [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] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/days/day01) [INFO] [stderr] Checking day22 v0.1.0 (/opt/rustwide/workdir/days/day22) [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/days/day08) [INFO] [stderr] Checking day24 v0.1.0 (/opt/rustwide/workdir/days/day24) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/days/day02) [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/days/day16) [INFO] [stderr] Checking day23 v0.1.0 (/opt/rustwide/workdir/days/day23) [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] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/days/day12) [INFO] [stdout] warning: 2 warnings emitted [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] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/days/day09) [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 day25 v0.1.0 (/opt/rustwide/workdir/days/day25) [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/days/day13) [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/days/day17) [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/days/day05) [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/days/day15) [INFO] [stderr] Checking runner v0.1.0 (/opt/rustwide/workdir/runner) [INFO] [stderr] Checking day21 v0.1.0 (/opt/rustwide/workdir/days/day21) [INFO] [stderr] Checking day19 v0.1.0 (/opt/rustwide/workdir/days/day19) [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/days/day18) [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/days/day07) [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/days/day04) [INFO] [stderr] Checking log v0.4.8 [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 + intcode::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] 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] 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] 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] 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] 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] warning: 4 warnings emitted [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" "a1530d48d7cdb6b74d4a2b6dde02a303856dee1aa1fa414a940a5569007f129d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1530d48d7cdb6b74d4a2b6dde02a303856dee1aa1fa414a940a5569007f129d", kill_on_drop: false }` [INFO] [stdout] a1530d48d7cdb6b74d4a2b6dde02a303856dee1aa1fa414a940a5569007f129d