[INFO] fetching crate hnspool-stratum-types 0.4.0... [INFO] checking hnspool-stratum-types-0.4.0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate hnspool-stratum-types 0.4.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate hnspool-stratum-types 0.4.0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate hnspool-stratum-types 0.4.0 [INFO] finished tweaking crates.io crate hnspool-stratum-types 0.4.0 [INFO] tweaked toml for crates.io crate hnspool-stratum-types 0.4.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a609a3d9f6ca98d15a0dfe44c3070ef9c1440bcba5d3e5e6b291fa91b6def80 [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" "4a609a3d9f6ca98d15a0dfe44c3070ef9c1440bcba5d3e5e6b291fa91b6def80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a609a3d9f6ca98d15a0dfe44c3070ef9c1440bcba5d3e5e6b291fa91b6def80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a609a3d9f6ca98d15a0dfe44c3070ef9c1440bcba5d3e5e6b291fa91b6def80", kill_on_drop: false }` [INFO] [stdout] 4a609a3d9f6ca98d15a0dfe44c3070ef9c1440bcba5d3e5e6b291fa91b6def80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9aa6761fda42ecae2317becdda76781e7bddd3c5fcc5b11e1e43bd199076547f [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" "9aa6761fda42ecae2317becdda76781e7bddd3c5fcc5b11e1e43bd199076547f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking serde v1.0.118 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling serde_tuple v0.4.0 [INFO] [stderr] Checking stratum-types v0.9.25 [INFO] [stderr] Checking hnspool-stratum-types v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_name` [INFO] [stdout] --> src/auth.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthorizeTrait for Authorize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_id`, `worker_name` [INFO] [stdout] --> src/auth.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl AuthorizeResultTrait for AuthorizeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_id`, `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_id(&self) -> std::option::Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_name` [INFO] [stdout] --> src/auth.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | impl AuthorizeTrait for Authorize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `worker_id`, `worker_name` [INFO] [stdout] --> src/auth.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | impl AuthorizeResultTrait for AuthorizeResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `worker_id`, `worker_name` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn worker_id(&self) -> std::option::Option { todo!() }` [INFO] [stdout] = help: implement the missing item: `fn worker_name(&self) -> std::option::Option { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `id` has an incompatible type for trait [INFO] [stdout] --> src/subscribe.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&SubscriberResult) -> std::option::Option` [INFO] [stdout] found fn pointer `fn(&SubscriberResult) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `sid` [INFO] [stdout] --> src/subscribe.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl SubscribeResult for SubscriberResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sid` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn sid(&self) -> std::string::String { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `id` has an incompatible type for trait [INFO] [stdout] --> src/subscribe.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | fn id(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found struct `std::string::String` [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&SubscriberResult) -> std::option::Option` [INFO] [stdout] found fn pointer `fn(&SubscriberResult) -> std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `sid` [INFO] [stdout] --> src/subscribe.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | impl SubscribeResult for SubscriberResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `sid` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn sid(&self) -> std::string::String { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hnspool-stratum-types` [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0053. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9aa6761fda42ecae2317becdda76781e7bddd3c5fcc5b11e1e43bd199076547f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aa6761fda42ecae2317becdda76781e7bddd3c5fcc5b11e1e43bd199076547f", kill_on_drop: false }` [INFO] [stdout] 9aa6761fda42ecae2317becdda76781e7bddd3c5fcc5b11e1e43bd199076547f