[INFO] fetching crate oppgave 0.1.0... [INFO] testing oppgave-0.1.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate oppgave 0.1.0 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate oppgave 0.1.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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 sha1 v0.1.1 [INFO] [stderr] Downloaded redis v0.5.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d3414b708c8c6264706e6ab70821deefb17ff609c69b787f919976e7a74b591 [INFO] running `Command { std: "docker" "start" "-a" "6d3414b708c8c6264706e6ab70821deefb17ff609c69b787f919976e7a74b591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d3414b708c8c6264706e6ab70821deefb17ff609c69b787f919976e7a74b591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d3414b708c8c6264706e6ab70821deefb17ff609c69b787f919976e7a74b591", kill_on_drop: false }` [INFO] [stdout] 6d3414b708c8c6264706e6ab70821deefb17ff609c69b787f919976e7a74b591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8948650c41444540b69acccd4b075d99a08597a5fd57ca9268357ad4e3137b [INFO] running `Command { std: "docker" "start" "-a" "9d8948650c41444540b69acccd4b075d99a08597a5fd57ca9268357ad4e3137b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling sha1 v0.1.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling redis v0.5.4 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.74s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.5.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "9d8948650c41444540b69acccd4b075d99a08597a5fd57ca9268357ad4e3137b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8948650c41444540b69acccd4b075d99a08597a5fd57ca9268357ad4e3137b", kill_on_drop: false }` [INFO] [stdout] 9d8948650c41444540b69acccd4b075d99a08597a5fd57ca9268357ad4e3137b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c31d04b6ce4b8326d9dbb73034003742d6da3c57acbf354f2c4f79424492ebd [INFO] running `Command { std: "docker" "start" "-a" "0c31d04b6ce4b8326d9dbb73034003742d6da3c57acbf354f2c4f79424492ebd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [stderr] Compiling oppgave v0.1.0 (/opt/rustwide/workdir) [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: 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: 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] [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: TaskEncodable` is not satisfied [INFO] [stdout] --> examples/producer.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | q.push(Job{id: i}); [INFO] [stdout] | ---- ^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `Job` [INFO] [stdout] --> examples/producer.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | struct Job { [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] 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] warning: build failed, waiting for other jobs to finish... [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] | ---- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Job` [INFO] [stdout] --> examples/worker.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | struct 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] 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] 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] | ---- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Job` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct 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[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] | ---- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Job` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct 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] 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] | ---- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Job` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct 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] 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] | ---- ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Encodable` is not implemented for `Job` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct Job { [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[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] | ---- ^^^ unsatisfied trait bound [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Job` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct 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] 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] | ^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `Decodable` is not implemented for `Job` [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | struct 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] [stderr] error: could not compile `oppgave` (example "worker") due to 3 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oppgave` (lib test) due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c31d04b6ce4b8326d9dbb73034003742d6da3c57acbf354f2c4f79424492ebd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c31d04b6ce4b8326d9dbb73034003742d6da3c57acbf354f2c4f79424492ebd", kill_on_drop: false }` [INFO] [stdout] 0c31d04b6ce4b8326d9dbb73034003742d6da3c57acbf354f2c4f79424492ebd