[INFO] fetching crate oppgave 0.1.0... [INFO] checking oppgave-0.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate oppgave 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate oppgave 0.1.0 [INFO] finished tweaking crates.io crate oppgave 0.1.0 [INFO] tweaked toml for crates.io crate oppgave 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oppgave 0.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding redis v0.5.4 (available: v0.32.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redis v0.5.4 [INFO] [stderr] Downloaded sha1 v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c1f557477b74c7da4a1a0a5b5b9f169db1dd39fad5457dc166af728e43ecf757 [INFO] running `Command { std: "docker" "start" "-a" "c1f557477b74c7da4a1a0a5b5b9f169db1dd39fad5457dc166af728e43ecf757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c1f557477b74c7da4a1a0a5b5b9f169db1dd39fad5457dc166af728e43ecf757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1f557477b74c7da4a1a0a5b5b9f169db1dd39fad5457dc166af728e43ecf757", kill_on_drop: false }` [INFO] [stdout] c1f557477b74c7da4a1a0a5b5b9f169db1dd39fad5457dc166af728e43ecf757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db51bc134bb4bf122aa6275ecea1fc51589f53b281ed9a34e4a4794e69c8179f [INFO] running `Command { std: "docker" "start" "-a" "db51bc134bb4bf122aa6275ecea1fc51589f53b281ed9a34e4a4794e69c8179f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking sha1 v0.1.1 [INFO] [stderr] Checking redis v0.5.4 [INFO] [stderr] Checking oppgave v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let s = try!(str::from_utf8(&v)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(try!(json::decode(&s).map_err(|_| (ErrorKind::TypeError, "JSON decode failed")))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(Err((ErrorKind::TypeError, "Can only decode from a string"))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> src/lib.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> src/lib.rs:260:30 [INFO] [stdout] | [INFO] [stdout] 260 | #[derive(RustcDecodable, RustcEncodable)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 76 | let s = try!(str::from_utf8(&v)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:77:20 [INFO] [stdout] | [INFO] [stdout] 77 | Ok(try!(json::decode(&s).map_err(|_| (ErrorKind::TypeError, "JSON decode failed")))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(Err((ErrorKind::TypeError, "Can only decode from a string"))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskDecodable` is not satisfied [INFO] [stdout] --> src/lib.rs:274:31 [INFO] [stdout] | [INFO] [stdout] 274 | let j = worker.next::().unwrap().unwrap(); [INFO] [stdout] | ---- ^^^ the trait `Decodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Job` to implement `TaskDecodable` [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl TaskDecodable for T { [INFO] [stdout] | --------- ^^^^^^^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Queue::next` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskDecodable` is not satisfied [INFO] [stdout] --> src/lib.rs:290:35 [INFO] [stdout] | [INFO] [stdout] 290 | let j = worker.next::().unwrap().unwrap(); [INFO] [stdout] | ---- ^^^ the trait `Decodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Job` to implement `TaskDecodable` [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl TaskDecodable for T { [INFO] [stdout] | --------- ^^^^^^^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Queue::next` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskDecodable` is not satisfied [INFO] [stdout] --> src/lib.rs:315:46 [INFO] [stdout] | [INFO] [stdout] 315 | while let Some(task) = worker.next::() { [INFO] [stdout] | ---- ^^^ the trait `Decodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Job` to implement `TaskDecodable` [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl TaskDecodable for T { [INFO] [stdout] | --------- ^^^^^^^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Queue::next` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> examples/producer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(RustcDecodable, RustcEncodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskEncodable` is not satisfied [INFO] [stdout] --> src/lib.rs:334:21 [INFO] [stdout] | [INFO] [stdout] 334 | worker.push(Job{id: 53}); [INFO] [stdout] | ---- ^^^^^^^^^^^ the trait `Encodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] note: required for `Job` to implement `TaskEncodable` [INFO] [stdout] --> src/lib.rs:88:20 [INFO] [stdout] | [INFO] [stdout] 88 | impl TaskEncodable for T { [INFO] [stdout] | --------- ^^^^^^^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Queue::push` [INFO] [stdout] --> src/lib.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn push(&self, task: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> examples/producer.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(RustcDecodable, RustcEncodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskDecodable` is not satisfied [INFO] [stdout] --> src/lib.rs:338:31 [INFO] [stdout] | [INFO] [stdout] 338 | let j = worker.next::().unwrap().unwrap(); [INFO] [stdout] | ---- ^^^ the trait `Decodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Job` to implement `TaskDecodable` [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl TaskDecodable for T { [INFO] [stdout] | --------- ^^^^^^^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Queue::next` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskDecodable` is not satisfied [INFO] [stdout] --> src/lib.rs:354:48 [INFO] [stdout] | [INFO] [stdout] 354 | let task : TaskGuard = worker.next().unwrap().unwrap(); [INFO] [stdout] | ^^^^ the trait `Decodable` is not implemented for `Job` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] note: required for `Job` to implement `TaskDecodable` [INFO] [stdout] --> src/lib.rs:72:20 [INFO] [stdout] | [INFO] [stdout] 72 | impl TaskDecodable for T { [INFO] [stdout] | --------- ^^^^^^^^^^^^^ ^ [INFO] [stdout] | | [INFO] [stdout] | unsatisfied trait bound introduced here [INFO] [stdout] note: required by a bound in `Queue::next` [INFO] [stdout] --> src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcDecodable` in this scope [INFO] [stdout] --> examples/worker.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustcDecodable, RustcEncodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `RustcEncodable` in this scope [INFO] [stdout] --> examples/worker.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(RustcDecodable, RustcEncodable, Debug)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `oppgave` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Job: TaskEncodable` is not satisfied [INFO] [stdout] --> examples/producer.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | q.push(Job{id: i}); [INFO] [stdout] | ---- ^^^^^^^^^^ the trait `Encodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Encodable`: [INFO] [stdout] &'a T [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 75 others [INFO] [stdout] = note: required for `Job` to implement `TaskEncodable` [INFO] [stdout] note: required by a bound in `Queue::push` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:214:20 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn push(&self, task: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::push` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Job: TaskDecodable` is not satisfied [INFO] [stdout] --> examples/worker.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | while let Some(task) = worker.next::() { [INFO] [stdout] | ---- ^^^ the trait `Decodable` is not implemented for `Job` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `Decodable`: [INFO] [stdout] () [INFO] [stdout] (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T10, T11) [INFO] [stdout] (T11,) [INFO] [stdout] (T2, T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T3, T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] (T4, T5, T6, T7, T8, T9, T10, T11) [INFO] [stdout] and 71 others [INFO] [stdout] = note: required for `Job` to implement `TaskDecodable` [INFO] [stdout] note: required by a bound in `Queue::next` [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:221:20 [INFO] [stdout] | [INFO] [stdout] 221 | pub fn next(&self) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^^ required by this bound in `Queue::next` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oppgave` (example "producer") due to 3 previous errors [INFO] [stderr] error: could not compile `oppgave` (example "worker") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "db51bc134bb4bf122aa6275ecea1fc51589f53b281ed9a34e4a4794e69c8179f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db51bc134bb4bf122aa6275ecea1fc51589f53b281ed9a34e4a4794e69c8179f", kill_on_drop: false }` [INFO] [stdout] db51bc134bb4bf122aa6275ecea1fc51589f53b281ed9a34e4a4794e69c8179f