[INFO] fetching crate oppgave 0.1.0... [INFO] testing oppgave-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate oppgave 0.1.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate oppgave 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01071ac51ccc98351e1e3aed0cc029b2d56fee013d4743269650a2336e4e47c6 [INFO] running `Command { std: "docker" "start" "-a" "01071ac51ccc98351e1e3aed0cc029b2d56fee013d4743269650a2336e4e47c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01071ac51ccc98351e1e3aed0cc029b2d56fee013d4743269650a2336e4e47c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01071ac51ccc98351e1e3aed0cc029b2d56fee013d4743269650a2336e4e47c6", kill_on_drop: false }` [INFO] [stdout] 01071ac51ccc98351e1e3aed0cc029b2d56fee013d4743269650a2336e4e47c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a85eaca375028da4c18f1e4567d0b588423bba1f389aae662f1444075c1f82d7 [INFO] running `Command { std: "docker" "start" "-a" "a85eaca375028da4c18f1e4567d0b588423bba1f389aae662f1444075c1f82d7", 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 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 1.44s [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 1` [INFO] running `Command { std: "docker" "inspect" "a85eaca375028da4c18f1e4567d0b588423bba1f389aae662f1444075c1f82d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a85eaca375028da4c18f1e4567d0b588423bba1f389aae662f1444075c1f82d7", kill_on_drop: false }` [INFO] [stdout] a85eaca375028da4c18f1e4567d0b588423bba1f389aae662f1444075c1f82d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c69bacf8ab9dbb99951633ec879348648039580578bffff31593fc6605992ff [INFO] running `Command { std: "docker" "start" "-a" "6c69bacf8ab9dbb99951633ec879348648039580578bffff31593fc6605992ff", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] [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 `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] --> 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 `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] | ---- ^^^ 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] --> 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] 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] 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: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 "producer") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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[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] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oppgave` (example "worker") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "6c69bacf8ab9dbb99951633ec879348648039580578bffff31593fc6605992ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c69bacf8ab9dbb99951633ec879348648039580578bffff31593fc6605992ff", kill_on_drop: false }` [INFO] [stdout] 6c69bacf8ab9dbb99951633ec879348648039580578bffff31593fc6605992ff